OverlayDomRenderService class
A DOM implementation of the components needed for OverlayService.
In multi-threaded applications that use web workers, this will live on the UI thread and use message passing with the application thread, where the overlay service will live.
- Annotations
-
- @Injectable()
Constructors
- OverlayDomRenderService(OverlayStyleConfig styleConfig, @Inject(overlayContainerToken) HtmlElement containerElement, @Inject(overlayContainerName) String _containerName, DomRuler _domRuler, DomService _domService, AcxImperativeViewUtils _imperativeViewUtils, @Inject(overlaySyncDom) dynamic _useDomSynchronously, @Inject(overlayRepositionLoop) dynamic _useRepositionLoop, ZIndexer _zIndexer)
Properties
- containerElement → HtmlElement
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
applyState(
OverlayState state, HtmlElement pane) → Future< void> -
An implementation of the typedef interface
AsyncApplyState
. -
applyStateSync(
OverlayState state, HtmlElement pane) → void - Like applyState, but is done synchronously.
-
createOverlayPane(
[OverlayState state = _defaultConfig]) → Future< HtmlElement> - Returns a future that completes with an overlay pane DOM element.
-
createOverlayPaneSync(
[OverlayState state = _defaultConfig]) → HtmlElement - Creates and returns an overlay pane DOM element.
-
createPortalHost(
HtmlElement hostContainer) → PortalHost -
Creates a DOM-bound PortalHost with
hostContainer
. -
measureContainer(
) → Future< Rectangle< num> > - Returns the current size of the overlay container.
-
measureSize(
HtmlElement pane, {bool track = false, bool sync = false}) → Stream< Rectangle< num> > - An implementation of the typedef interface AsyncMeasureSize.
-
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