NbThemeService
Main Nebular service. Includes various helper methods.
Methods
| Name | Description |
| appendLayoutClass() | parameters: className: returns:stringvoidAppend a class to nb-layout |
| changeTheme() | parameters: name: returns:stringvoidChange current application theme |
| getJsTheme() | returns: Observable<NbJSThemeOptions>Returns a theme object with variables (color/paddings/etc) on a theme change.
Once subscribed - returns current theme. |
| onAppendLayoutClass() | returns: Observable<any>Triggered when a new class is added to nb-layout through |
| onMediaQueryChange() | returns: Observable<NbMediaBreakpoint[]>Triggers media query breakpoint change Returns a pair where the first item is previous media breakpoint and the second item is current breakpoit.
|
| onRemoveLayoutClass() | returns: Observable<any>Triggered when a class is removed from nb-layout through |
| onThemeChange() | returns: Observable<any>Triggered when current theme is changed |
| removeLayoutClass() | parameters: className: returns:stringvoidRemoves a class from nb-layout |
Need some help or found an issue?
Ask on Stack Overflow with tag `nebular` or post an issue on GitHub.
