You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: components/drawer/icons.md
+6-14Lines changed: 6 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,15 +10,7 @@ position: 22
10
10
11
11
# Drawer Icons
12
12
13
-
You can put an image, an icon class or a font icon for each item in the Drawer to illustrate its purpose for your end users. To apply them, use the following properties:
14
-
15
-
* for a [Telerik font icon]({%slug general-information/font-icons%}), point the `IconField` parameter of the component to a `string` field of the model that contains the corresponding icon name.
16
-
17
-
* for a raster image, point the `ImageUrlField` parameter of the component to a `string` field of the model that contains the url to the icon (relative or absolute).
18
-
19
-
* for a custom font icon class, point the `IconClassField` parameter of the component to a `string` field of the model that contains the desired CSS class list which provides the required rules (like font name and glyph symbol). Make sure to also reference the desired font in your app and to use its own recommendations.
20
-
21
-
The `IconClassField` and `ImageUrlField` are rendered, respectively, as `<span class="the custom class" />` and as `<img src="the-image-src" />`
13
+
You can add a [Telerik Font or SVG icon]({%slug general-information/font-icons%}) to the Breadcrumb item by assigning a `string` to the `IconField` parameter.
22
14
23
15
>caption How to use icons in Telerik Drawer
24
16
@@ -33,7 +25,7 @@ The `IconClassField` and `ImageUrlField` are rendered, respectively, as `<span c
Copy file name to clipboardExpand all lines: components/menu/data-binding/overview.md
+1-3Lines changed: 1 addition & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,7 +38,7 @@ The menu items provide the following features that you control through the corre
38
38
39
39
*`Text` - the text that will be shown on the item.
40
40
41
-
*`ImageUrl` / `Icon`/ `ImageClass` - the URL to a raster image, the [Telerik icon]({%slug general-information/font-icons%}), or a class for a custom font icon that will be rendered in the item. They have the listed order of precedence in case more than one is present in the data (that is, an `ImageUrl` will have the highest importance).
41
+
*`Icon`- The [Telerik Font or SVG icon]({%slug general-information/font-icons%})that will be rendered in the item. Read more in the [Icons article]({%slug breadcrumb-icons%}).
42
42
43
43
*`Url` - the view the item will navigate to by generating a link.
44
44
@@ -53,9 +53,7 @@ The properties of a menu item match directly to a field of the model the menu is
0 commit comments