Skip to content

Commit 4e11d40

Browse files
committed
Sync with Kendo UI Professional
1 parent a49e491 commit 4e11d40

File tree

3 files changed

+23
-1
lines changed

3 files changed

+23
-1
lines changed

docs/api/javascript/ui/breadcrumb.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,27 @@ The root icon is clickable and resets the value of the component.
203203
});
204204
</script>
205205

206+
## size `String` *(default: "medium")*
207+
208+
Sets a value controlling size of the component. Can also be set to the following string values:
209+
210+
- "small"
211+
- "medium"
212+
- "large"
213+
- "none"
214+
215+
#### Example
216+
217+
<nav id="breadcrumb"></nav>
218+
219+
<script>
220+
$("#breadcrumb").kendoBreadcrumb({
221+
size: "large",
222+
rootIcon: "cloud",
223+
value: 'Telerik UI/Navigation/Breadcrumb'
224+
});
225+
</script>
226+
206227
### value `String` *(default: "")*
207228

208229
Defines the value/path of the component. Each segments is separated by a slash.

src/kendo.html.chip.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ var __meta__ = {
6161
} else if (options.iconClass) {
6262
that.wrapper.prepend($("<span class='" + options.iconClass + "'></span>").attr(options.iconAttr));
6363
} else if (options.avatarClass) {
64-
that.wrapper.prepend($("<span class='k-chip-avatar k-avatar " + options.avatarClass + "'></span>").attr(options.iconAttr));
64+
that.wrapper.prepend($("<span class='k-chip-avatar k-avatar k-avatar-md k-avatar-solid k-avatar-solid-primary k-rounded-full " + options.avatarClass + "'></span>").attr(options.iconAttr));
6565
}
6666

6767
that.element.addClass("k-chip-content");

typescript/kendo.all.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2512,6 +2512,7 @@ declare namespace kendo.ui {
25122512
messages?: BreadcrumbMessages | undefined;
25132513
navigational?: boolean | undefined;
25142514
rootIcon?: string | undefined;
2515+
size?: string | undefined;
25152516
value?: string | undefined;
25162517

25172518
change?(e: BreadcrumbChangeEvent): void;

0 commit comments

Comments
 (0)