OverlayService class
A low-level service which exists to be able to manage the overlay container and overlay panes.
- Annotations
-
- @Injectable()
Constructors
- OverlayService(NgZone _ngZone, @Inject(overlaySyncDom) Object useDomSynchronously, OverlayDomRenderService _renderService, @SkipSelf() @Optional() OverlayService? existingInstance)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
createOverlayRef(
[OverlayState initialState = _defaultState]) → Future< OverlayRef> - Creates an overlay pane within the registered container.
-
createOverlayRefSync(
[OverlayState initialState = _defaultState]) → OverlayRef - Creates a overlay pane within the registered container.
-
measureContainer(
) → Future< Rectangle< num> > - Returns the current size of the overlay container.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited