Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(layout): add nbLtr and nbRtl directives #2927

Merged
merged 10 commits into from
Nov 24, 2021

Conversation

katebatura
Copy link
Contributor

@katebatura katebatura commented Nov 4, 2021

Please read and mark the following check list before creating a pull request:

Short description of what this resolves:

Adds two structural directives which display the template content depending on layout direction.
*nbLtr displays the content when layout direction is ltr.
*nbRtl displays the content when layout direction is rtl.

How to use:

<div *nbLtr>This displays when layout direction is ltr</div>

<div *nbRtl>This displays when layout direction is rtl</div>

@katebatura katebatura requested a review from yggg November 4, 2021 06:15
@katebatura katebatura self-assigned this Nov 4, 2021
@katebatura katebatura requested a review from yggg November 10, 2021 13:19
@yggg yggg added this to the 9.0.0 milestone Nov 12, 2021
@yggg yggg changed the title feat(layout): add layout-direction directives feat(layout): add nbLtr and nbRtl directives Nov 24, 2021
@yggg yggg merged commit 35a7ad1 into akveo:master Nov 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants