Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

@Drumarcco
Copy link
Contributor

Minor documentation update to include event hooks that were assumed to only work on components.

Closes #10221

Please check if the PR fulfills these requirements

What kind of change does this PR introduce? (check one with "x")

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[X] Other... Please describe: Documentation regarding directives event hooks.

What is the current behavior? (You can also link to an open issue here)
The docs assume some event hooks don't work on directives when they actually do.

What is the new behavior?
The docs are updated to match directives' real capabilities.

Does this PR introduce a breaking change? (check one with "x")

[ ] Yes
[X] No

Other information:
It's the same as this PR angular/angular.io#2816 but applied on angular/angular

Copy link
Contributor

@tbosch tbosch May 11, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Respond the first time Angular has checked the content children of a directive/component.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Respond every time Angular has checked the content children of a directive/component.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Respond the first time Angular has checked the component's view / the view that a directive is in.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Respond every time Angular has checked the component's view / the view that a directive is in.

@Drumarcco Drumarcco force-pushed the docs-directive-lifecycle-hooks branch 2 times, most recently from b1a8775 to 682877f Compare May 11, 2017 18:52
@Drumarcco
Copy link
Contributor Author

@tbosch PR updated 😄

@tbosch tbosch added action: merge The PR is ready for merge by the caretaker and removed action: merge The PR is ready for merge by the caretaker labels May 12, 2017
@wardbell wardbell added area: core Issues related to the framework runtime and removed comp: aio labels Jun 21, 2017
@googlebot
Copy link

So there's good news and bad news.

👍 The good news is that everyone that needs to sign a CLA (the pull request submitter and all commit authors) have done so. Everything is all good there.

😕 The bad news is that it appears that one or more commits were authored by someone other than the pull request submitter. We need to confirm that they're okay with their commits being contributed to this project. Please have them confirm that here in the pull request.

Note to project maintainer: This is a terminal state, meaning the cla/google commit status will not change from this state. It's up to you to confirm consent of the commit author(s) and merge this pull request when appropriate.

@mhevery mhevery force-pushed the docs-directive-lifecycle-hooks branch from afb0b92 to 682877f Compare July 26, 2017 19:52
@googlebot
Copy link

CLAs look good, thanks!

@sandangel
Copy link

any plan to merge this?

@gkalpak gkalpak added action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews target: patch This PR is targeted for the next patch release labels Nov 10, 2017
@gkalpak
Copy link
Member

gkalpak commented Nov 10, 2017

Hm...not sure what happened here. Looks like it should have been merged a while ago.
@Drumarcco, can you please rebase on latest master?

@Drumarcco
Copy link
Contributor Author

Drumarcco commented Nov 10, 2017 via email

Minor documentation update to include event hooks that were assumed to only work on components.

Closes angular#10221
@Drumarcco Drumarcco force-pushed the docs-directive-lifecycle-hooks branch from 682877f to 8c72579 Compare November 23, 2017 07:26
@Drumarcco
Copy link
Contributor Author

PR Updated, CI failed for some reason 🤔

@kara kara added action: merge The PR is ready for merge by the caretaker and removed action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews labels Feb 21, 2018
@vicb vicb closed this in b42921b Feb 21, 2018
vicb pushed a commit that referenced this pull request Feb 21, 2018
Minor documentation update to include event hooks that were assumed to only work on components.

Closes #10221

PR Close #16654
@jenniferfell jenniferfell added the state: community Someone from the Angular community is working on this issue or submitted this PR label Dec 13, 2018
@ngbot ngbot bot added this to the needsTriage milestone Dec 13, 2018
@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 14, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker area: core Issues related to the framework runtime cla: yes state: community Someone from the Angular community is working on this issue or submitted this PR target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs: life-cycle - directives support "VIEW" lifecycle hooks, the docs say they dont

10 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.