or
<kendo-drawer-container>
<kendo-drawer
#drawer
[items]="drawerItems"
[mode]="'push'"
[mini]="true"
[expanded]="false"
(select)="onDrawerSelect($event)"
drawerItems: DrawerRoutingItem[] = [
{
svgIcon: ?????????,
text: "Chargements",
path: "",
selected: window.location.pathname==="/"
},
{
svgIcon: ????????????,
text: "Horaire des reprises",
path: "horaire",
selected: window.location.pathname==="/horaire"
}
];
I have a chargements.svg file in an Assets directory however the svgIcons in drawerItems will only take SVGIcon object from @progress/kendo-svg-icons
How can I use my own svg files inside the drawerItems array?
Hi
I am trying to add my own SVG to be rendered but I get erros at vsCode
Can you please tell me how to add a custom SVG?
Many thanks
Please have a look:
Hi,
I'm using kendo UI for angular and want to know how I can customize stepper icons with my own svg icons without adding icon library (eg: font awesome)
following is the kendo sample I'm usingimport { Component } from "@angular/core";
@Component({
selector: "my-app",
template: `
<kendo-stepper
[steps]="steps"
stepType="full"
[(currentStep)]="current"
[linear]="false"
[style.width.px]="570"
>
</kendo-stepper>
`,
})
export class AppComponent {
public current = 1;
public steps = [
{ label: "Personal Info", icon: "user" },
{ label: "Education", icon: "dictionary-add" },
{ label: "Attachments", icon: "attachment", optional: true },
{ label: "Preview", icon: "preview" },
{ label: "Submit", icon: "file-add" },
];
}
Hi,
I have error error TS2307: Cannot find module with SVG file in Angular12 on https://github.com/telerik/kendo-angular-stackblitz-app
Regards
Hi
Could i add my own icon list ou SVG list ?
Regards