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

Introduce Directionality injectable #3600

Closed
EladBezalel opened this issue Mar 14, 2017 · 1 comment · Fixed by #4044
Closed

Introduce Directionality injectable #3600

EladBezalel opened this issue Mar 14, 2017 · 1 comment · Fixed by #4044
Assignees
Labels
P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent

Comments

@EladBezalel
Copy link
Member

Unlike suggested on #1719 to traverse up the DOM and look for any dir attributes
@jelbourn and I decided to only support html and body tags or the Dir directive to get the actual direction.

@mmalerba mmalerba added the P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent label Mar 14, 2017
@EladBezalel EladBezalel changed the title Introduce LAYOUT_DIRECTION injectable Introduce Directionality injectable Apr 11, 2017
EladBezalel added a commit to EladBezalel/material2 that referenced this issue Apr 11, 2017
- Looks at the `html` and `body` elements for `dir` attribute and sets the Directionality service value to it
- Whenever someone would try to inject Directionality - if there's a Dir directive up the dom tree it would be provided

fixes angular#3600
EladBezalel added a commit to EladBezalel/material2 that referenced this issue Apr 15, 2017
- Looks at the `html` and `body` elements for `dir` attribute and sets the Directionality service value to it
- Whenever someone would try to inject Directionality - if there's a Dir directive up the dom tree it would be provided

fixes angular#3600
EladBezalel added a commit to EladBezalel/material2 that referenced this issue Apr 15, 2017
- Looks at the `html` and `body` elements for `dir` attribute and sets the Directionality service value to it
- Whenever someone would try to inject Directionality - if there's a Dir directive up the dom tree it would be provided

fixes angular#3600
EladBezalel added a commit to EladBezalel/material2 that referenced this issue Apr 15, 2017
- Looks at the `html` and `body` elements for `dir` attribute and sets the Directionality service value to it
- Whenever someone would try to inject Directionality - if there's a Dir directive up the dom tree it would be provided

fixes angular#3600
EladBezalel added a commit to EladBezalel/material2 that referenced this issue Apr 15, 2017
- Looks at the `html` and `body` elements for `dir` attribute and sets the Directionality service value to it
- Whenever someone would try to inject Directionality - if there's a Dir directive up the dom tree it would be provided

fixes angular#3600
EladBezalel added a commit to EladBezalel/material2 that referenced this issue Apr 15, 2017
- Looks at the `html` and `body` elements for `dir` attribute and sets the Directionality service value to it
- Whenever someone would try to inject Directionality - if there's a Dir directive up the dom tree it would be provided

fixes angular#3600
EladBezalel added a commit to EladBezalel/material2 that referenced this issue Apr 15, 2017
- Looks at the `html` and `body` elements for `dir` attribute and sets the Directionality service value to it
- Whenever someone would try to inject Directionality - if there's a Dir directive up the dom tree it would be provided

fixes angular#3600
EladBezalel added a commit to EladBezalel/material2 that referenced this issue Apr 15, 2017
- Looks at the `html` and `body` elements for `dir` attribute and sets the Directionality service value to it
- Whenever someone would try to inject Directionality - if there's a Dir directive up the dom tree it would be provided

fixes angular#3600
EladBezalel added a commit to EladBezalel/material2 that referenced this issue Apr 18, 2017
- Looks at the `html` and `body` elements for `dir` attribute and sets the Directionality service value to it
- Whenever someone would try to inject Directionality - if there's a Dir directive up the dom tree it would be provided

fixes angular#3600
EladBezalel added a commit to EladBezalel/material2 that referenced this issue Apr 18, 2017
- Looks at the `html` and `body` elements for `dir` attribute and sets the Directionality service value to it
- Whenever someone would try to inject Directionality - if there's a Dir directive up the dom tree it would be provided

fixes angular#3600
EladBezalel added a commit to EladBezalel/material2 that referenced this issue Apr 18, 2017
- Looks at the `html` and `body` elements for `dir` attribute and sets the Directionality service value to it
- Whenever someone would try to inject Directionality - if there's a Dir directive up the dom tree it would be provided

fixes angular#3600
EladBezalel added a commit to EladBezalel/material2 that referenced this issue Apr 18, 2017
- Looks at the `html` and `body` elements for `dir` attribute and sets the Directionality service value to it
- Whenever someone would try to inject Directionality - if there's a Dir directive up the dom tree it would be provided

fixes angular#3600
EladBezalel added a commit to EladBezalel/material2 that referenced this issue Apr 18, 2017
- Looks at the `html` and `body` elements for `dir` attribute and sets the Directionality service value to it
- Whenever someone would try to inject Directionality - if there's a Dir directive up the dom tree it would be provided

fixes angular#3600
EladBezalel added a commit to EladBezalel/material2 that referenced this issue Apr 18, 2017
- Looks at the `html` and `body` elements for `dir` attribute and sets the Directionality service value to it
- Whenever someone would try to inject Directionality - if there's a Dir directive up the dom tree it would be provided

fixes angular#3600
EladBezalel added a commit to EladBezalel/material2 that referenced this issue Apr 19, 2017
- Looks at the `html` and `body` elements for `dir` attribute and sets the Directionality service value to it
- Whenever someone would try to inject Directionality - if there's a Dir directive up the dom tree it would be provided

fixes angular#3600
EladBezalel added a commit to EladBezalel/material2 that referenced this issue Jun 2, 2017
- Looks at the `html` and `body` elements for `dir` attribute and sets the Directionality service value to it
- Whenever someone would try to inject Directionality - if there's a Dir directive up the dom tree it would be provided

fixes angular#3600
EladBezalel added a commit to EladBezalel/material2 that referenced this issue Jun 3, 2017
- Looks at the `html` and `body` elements for `dir` attribute and sets the Directionality service value to it
- Whenever someone would try to inject Directionality - if there's a Dir directive up the dom tree it would be provided

fixes angular#3600
EladBezalel added a commit to EladBezalel/material2 that referenced this issue Jun 3, 2017
- Looks at the `html` and `body` elements for `dir` attribute and sets the Directionality service value to it
- Whenever someone would try to inject Directionality - if there's a Dir directive up the dom tree it would be provided

fixes angular#3600
EladBezalel added a commit to EladBezalel/material2 that referenced this issue Jun 3, 2017
- Looks at the `html` and `body` elements for `dir` attribute and sets the Directionality service value to it
- Whenever someone would try to inject Directionality - if there's a Dir directive up the dom tree it would be provided

fixes angular#3600
EladBezalel added a commit to EladBezalel/material2 that referenced this issue Jun 3, 2017
- Looks at the `html` and `body` elements for `dir` attribute and sets the Directionality service value to it
- Whenever someone would try to inject Directionality - if there's a Dir directive up the dom tree it would be provided

fixes angular#3600
EladBezalel added a commit to EladBezalel/material2 that referenced this issue Jun 6, 2017
- Looks at the `html` and `body` elements for `dir` attribute and sets the Directionality service value to it
- Whenever someone would try to inject Directionality - if there's a Dir directive up the dom tree it would be provided

fixes angular#3600
EladBezalel added a commit to EladBezalel/material2 that referenced this issue Jun 6, 2017
- Looks at the `html` and `body` elements for `dir` attribute and sets the Directionality service value to it
- Whenever someone would try to inject Directionality - if there's a Dir directive up the dom tree it would be provided

fixes angular#3600
EladBezalel added a commit to EladBezalel/material2 that referenced this issue Jun 13, 2017
- Looks at the `html` and `body` elements for `dir` attribute and sets the Directionality service value to it
- Whenever someone would try to inject Directionality - if there's a Dir directive up the dom tree it would be provided

fixes angular#3600
EladBezalel added a commit to EladBezalel/material2 that referenced this issue Jun 13, 2017
- Looks at the `html` and `body` elements for `dir` attribute and sets the Directionality service value to it
- Whenever someone would try to inject Directionality - if there's a Dir directive up the dom tree it would be provided

fixes angular#3600
jelbourn pushed a commit to EladBezalel/material2 that referenced this issue Jun 18, 2017
- Looks at the `html` and `body` elements for `dir` attribute and sets the Directionality service value to it
- Whenever someone would try to inject Directionality - if there's a Dir directive up the dom tree it would be provided

fixes angular#3600
jelbourn pushed a commit to EladBezalel/material2 that referenced this issue Jun 18, 2017
- Looks at the `html` and `body` elements for `dir` attribute and sets the Directionality service value to it
- Whenever someone would try to inject Directionality - if there's a Dir directive up the dom tree it would be provided

fixes angular#3600
jelbourn pushed a commit that referenced this issue Jun 19, 2017
- Looks at the `html` and `body` elements for `dir` attribute and sets the Directionality service value to it
- Whenever someone would try to inject Directionality - if there's a Dir directive up the dom tree it would be provided

fixes #3600
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants