using custom svg icons in the title of a panelbar item

0 Answers 12 Views
PanelBar
horváth
Top achievements
Rank 2
Iron
Iron
horváth asked on 12 May 2024, 03:47 PM | edited on 12 May 2024, 03:47 PM

Hi,

I set up a panelbar with collections:

<kendo-panelbar [items]="menuItems"> </kendo-panelbar>

I searched the forum and as for now, unfortunatelly, there is no way to use our svg icons from the assets

folder.

Instead I had to define it in a ts file with the appr. interface and use it from there. Which is in case of many

icons a bit cumbersome.

For our rescue there is also the kendoPanelBarItemTitle. I saw the example, but it shows,

how to use the template, if we declare the items in the html file. So the question is, can I use

somehow the title template to show some span elements in the title with the collection approach?


No answers yet. Maybe you can help?

Tags
PanelBar
Asked by
horváth
Top achievements
Rank 2
Iron
Iron
Share this question
or