laminate/popup/popup library

Classes

DomPopupSource
An implementation of PopupSource that lives on the UI layer.
DomPopupSourceFactory
A factory that can createPopupSource from HTML elements.
ElementPopupSource
An PopupSource that's based on an element.
FixedPopupSizeProvider
Provides a popup size with a fixed maximum width and height in pixels.
PercentagePopupSizeProvider
A popup size provider that determines the popup size based on a fixed percentage of the current viewport size.
PopupBase
A partial that implements the setters of PopupBase by writing to state.
PopupComposite
A partial that stores all fields in PopupInterface to be sent further down the component tree using change detection.
PopupEvents
A partial that implements the events of PopupInterface with new emitter.
PopupHierarchy
Tracks a hierarchy of visible popup and provides it closing logic.
PopupHierarchyElement
An electable element for the PopupHierarchy.
PopupInterface
A reusable interface for something that is or delegates to PopupComponent.
PopupPosition
PopupPositionMixin
Assistant for supporting custom preferred popup positions.
PopupRef
A handle to manipulate an existing popup.
PopupSizeProvider
A handler that provides max width and max height of a popup based on its position and the current viewport size.
PopupSizeProviderDirective
Directive to provide maximum and minimum sizes to a popup from html.
PopupSource
The source of where a popup will be created from.
PopupSourceDirective
A directive that exposes the PopupSource interface as popupSource.
PopupState
The internal state (model) of a popup.
PopupWithinViewportDirective
Applies a WithinViewportPopupSizeProvider to the attached element and its descendants.
WithinViewportPopupSizeProvider
Constrains popups to fit within the viewport's bottom and right edges.

Constants

unboundedPopupSize → const FixedPopupSizeProvider
A popup size provider of no maximum size.

Typedefs

AsyncMeasureSize<E> = Stream<Rectangle<num>> Function(E element, {bool track})
A handler to return the position and size of the content of element.