NbLayoutDirectionService
Layout Direction Service. Allows to set or get layout direction and listen to its changes
Methods
Name | Description |
getDirection() | returns: NbLayoutDirection.
Returns current layout direction. |
isLtr() | returns: boolean Returns true if layout direction set to left to right. |
isRtl() | returns: boolean Returns true if layout direction set to right to left. |
onDirectionChange() | returns: Observable<NbLayoutDirection>.
Triggered when direction was changed. |
setDirection() | parameters: direction: returns:
void Sets layout direction |
Previous page
Components Overview
Next page
Need some help or found an issue?
Ask on Stack Overflow with tag `nebular` or post an issue on GitHub.