utils/browser/dom_service/angular_2 library
Classes
- DomService
- Utility class to synchronize DOM operations across components, e.g. to check changes in the layout after a UI update or application event.
Enums
- DomServiceState
- State for DomService implementations to use.
Constants
-
domServiceBinding
→ const FactoryProvider<
Object> - Factory for DomService.
- domServiceModule → const Module
- DI module for dom service.
Functions
-
createDomService(
DomService? service, Disposer? disposer, NgZone zone, Window window) → DomService -
setupAcxRootDomRenderer(
Injector appInjector) → void
Typedefs
- DomReadWriteFn = void Function()
- A callback from DomService.scheduleRead or DomService.scheduleWrite.
- IsDomMutatedPredicate = bool Function()
-
RequestAnimationFrame
= Future<
num> Function() - A callback that returns a future that completes in the next animation frame.