组件-切换样式
IMPORT MODULE

用于在运行过程中切换定制样式文件,从而起到换在线换肤功能。

API

layout-default

成员说明类型默认值
[types]类型列表ThemeBtnType[][ { key: 'default', text: 'Default Theme' }, { key: 'dark', text: 'Dark Theme' }, { key: 'compact', text: 'Compact Theme' }, ]
[devTips]开发提示StringWhen the dark.css file can't be found, you need to run it once: npm run theme
[deployUrl]文件将部署到的 URL,一般到使用 ng b --deploy-url 时需要String-
(themeChange)主题变更通知EventEmitter<string>-
Loading...