Component-Change Style
IMPORT MODULE

It is used to switch the customized style file during the running process, so as to play the online skin change function.

API

layout-default

PropertyDescriptionTypeDefault
[types]Type of theme listThemeBtnType[][ { key: 'default', text: 'Default Theme' }, { key: 'dark', text: 'Dark Theme' }, { key: 'compact', text: 'Compact Theme' }, ]
[devTips]Tips in developmentStringWhen the dark.css file can't be found, you need to run it once: npm run theme
[deployUrl]URL where files will be deployed. Generally needed when using ng b --deploy-urlString-
(themeChange)Theme Change NotificationEventEmitter<string>-