(page: Page)
| 5 | private tabView: TabView; |
| 6 | |
| 7 | init(page: Page) { |
| 8 | this.page = page; |
| 9 | this.tabView = page.getViewById('demoTabView') as TabView; |
| 10 | |
| 11 | // Ensure initial font icon family so initial font:// icons render as expected |
| 12 | this.applyFontFamily('ns-playground-font'); |
| 13 | |
| 14 | // Give an initial color to demonstrate colorization of font icons |
| 15 | this.applyItemColor(new Color('#65ADF1')); |
| 16 | } |
| 17 | |
| 18 | useSysIcons = () => { |
| 19 | if (!this.tabView || !this.tabView.items) return; |
no test coverage detected