question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[cdk] indicate in docs which utilities operate outside NgZone

See original GitHub issue

Bug, feature request, or proposal:

Docs request

Current behavior

It takes a little extra digging in the source to understand ScrollDispatcher#scrolled and ViewportRuler#change emit outside the zone.

Expected behavior

A note in the jsdoc of these properties and methods.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:5
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
josephperrottcommented, Nov 7, 2017

This definitely seems like something that could be good to have in docs. Though it will definitely take some designing as to how to surface it, as well as seeing if we could use something like linting to be sure that we always note ngZone usage. Worse than not documenting it, imo would be to have it inconsistently documented.

0reactions
angular-automatic-lock-bot[bot]commented, Jun 26, 2021

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Accessibility - Angular Material
The cdkTrapFocus directive traps Tab key focus within an element. This is intended to be used to create accessible experience for components like...
Read more >
Environments - AWS Cloud Development Kit (AWS CDK) v2
The AWS CDK CLI follows a protocol similar to the AWS CLI to determine which AWS credentials to use when performing operations in...
Read more >
Angular 13 Accessibility Updates and What They Mean for Us
The Angular Material CDK uses the a11y package to support accessibility, providing a list of services, directives and styles utilities. Let's ...
Read more >
@angular/cdk | Yarn - Package Manager
The Angular team builds and maintains both common UI components and tools to help you build your own custom components. The team maintains...
Read more >
UNPKG - @angular/cdk
The CDN for @angular/cdk. ... of the events emitted from this stream will be run outside the Angular zone. ... ngZone = ngZone;\n...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found