Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Issue type
I'm submitting a ... (check one with "x")
Issue description
Current behavior:
For now, we have only
NbLayoutDirectionServicewhich provides information about a state of our layout. So, when we using ChangeDetectionStrategy.OnPush in component and wanna use layout service we have to trigger change detection manually or useasyncpipe, for example.Expected behavior:
I want to suggest building two directives:
nbIfRtlandnbIfLtr. Both this directives have to support 'else' syntax likengIf.This directive will help us create cleaner code without manually subscriptions management in each component which uses
ChangeDetectionStrategy.OnPushandNbLayoutDirectionService.