Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PopoverView

Hierarchy

Implements

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

  • new PopoverView(node?: HTMLElement, key?: string | null): PopoverView

Properties

alignContent

alignContent: StyleAnimator<this, AlignContent>

alignItems

alignItems: StyleAnimator<this, AlignItems>

alignSelf

alignSelf: StyleAnimator<this, AlignSelf>

appearance

appearance: StyleAnimator<this, Appearance>

arrowHeight

arrowHeight: MemberAnimator<this, Length, AnyLength>

arrowWidth

arrowWidth: MemberAnimator<this, Length, AnyLength>

autocomplete

autocomplete: AttributeAnimator<this, string>

backdropFilter

backdropFilter: StyleAnimator<this, string>

backgroundColor

backgroundColor: StyleAnimator<this, Color, AnyColor>

borderBottomColor

borderBottomColor: StyleAnimator<this, Color | "currentColor", AnyColor | "currentColor">

borderBottomLeftRadius

borderBottomLeftRadius: StyleAnimator<this, Length, AnyLength>

borderBottomRightRadius

borderBottomRightRadius: StyleAnimator<this, Length, AnyLength>

borderBottomStyle

borderBottomStyle: StyleAnimator<this, BorderStyle>

borderBottomWidth

borderBottomWidth: StyleAnimator<this, Length | BorderWidth, AnyLength | BorderWidth>

borderCollapse

borderCollapse: StyleAnimator<this, BorderCollapse>

borderLeftColor

borderLeftColor: StyleAnimator<this, Color | "currentColor", AnyColor | "currentColor">

borderLeftStyle

borderLeftStyle: StyleAnimator<this, BorderStyle>

borderLeftWidth

borderRightColor

borderRightColor: StyleAnimator<this, Color | "currentColor", AnyColor | "currentColor">

borderRightStyle

borderRightStyle: StyleAnimator<this, BorderStyle>

borderRightWidth

borderRightWidth: StyleAnimator<this, Length | BorderWidth, AnyLength | BorderWidth>

borderSpacing

borderSpacing: StyleAnimator<this, string>

borderTopColor

borderTopColor: StyleAnimator<this, Color | "currentColor", AnyColor | "currentColor">

borderTopLeftRadius

borderTopLeftRadius: StyleAnimator<this, Length, AnyLength>

borderTopRightRadius

borderTopRightRadius: StyleAnimator<this, Length, AnyLength>

borderTopStyle

borderTopStyle: StyleAnimator<this, BorderStyle>

borderTopWidth

bottom

bottom: StyleAnimator<this, Length | "auto", AnyLength | "auto">

bottomAnchor

bottomAnchor: LayoutAnchor<this>

boxShadow

boxSizing

boxSizing: StyleAnimator<this, BoxSizing>

centerXAnchor

centerXAnchor: LayoutAnchor<this>

centerYAnchor

centerYAnchor: LayoutAnchor<this>

checked

checked: AttributeAnimator<this, boolean, boolean | string>

color

color: StyleAnimator<this, Color | "currentColor", AnyColor | "currentColor">

cursor

cursor: StyleAnimator<this, CssCursor>

disabled

disabled: AttributeAnimator<this, boolean, boolean | string>

display

display: StyleAnimator<this, CssDisplay>

filter

filter: StyleAnimator<this, string>

flexBasis

flexDirection

flexDirection: StyleAnimator<this, FlexDirection>

flexGrow

flexGrow: StyleAnimator<this, number, number | string>

flexShrink

flexShrink: StyleAnimator<this, number, number | string>

flexWrap

flexWrap: StyleAnimator<this, FlexWrap>

fontFamily

fontFamily: StyleAnimator<this, FontFamily | FontFamily[], FontFamily | ReadonlyArray<FontFamily>>

fontSize

fontStretch

fontStretch: StyleAnimator<this, FontStretch>

fontStyle

fontStyle: StyleAnimator<this, FontStyle>

fontVariant

fontVariant: StyleAnimator<this, FontVariant>

fontWeight

fontWeight: StyleAnimator<this, FontWeight>

height

heightAnchor

heightAnchor: LayoutAnchor<this>

justifyContent

justifyContent: StyleAnimator<this, JustifyContent>

left

left: StyleAnimator<this, Length | "auto", AnyLength | "auto">

leftAnchor

leftAnchor: LayoutAnchor<this>

lineHeight

marginBottom

marginBottom: StyleAnimator<this, Length | "auto", AnyLength | "auto">

marginLeft

marginLeft: StyleAnimator<this, Length | "auto", AnyLength | "auto">

marginRight

marginRight: StyleAnimator<this, Length | "auto", AnyLength | "auto">

marginTop

marginTop: StyleAnimator<this, Length | "auto", AnyLength | "auto">

maxHeight

maxWidth

minHeight

minWidth

opacity

opacity: StyleAnimator<this, number, number | string>

order

order: StyleAnimator<this, number, number | string>

outlineColor

outlineColor: StyleAnimator<this, Color | "currentColor", AnyColor | "currentColor">

outlineStyle

outlineStyle: StyleAnimator<this, BorderStyle>

outlineWidth

overflow

overflow: StyleAnimator<this, Overflow>

overflowX

overflowX: StyleAnimator<this, Overflow>

overflowY

overflowY: StyleAnimator<this, Overflow>

paddingBottom

paddingBottom: StyleAnimator<this, Length, AnyLength>

paddingLeft

paddingLeft: StyleAnimator<this, Length, AnyLength>

paddingRight

paddingRight: StyleAnimator<this, Length, AnyLength>

paddingTop

paddingTop: StyleAnimator<this, Length, AnyLength>

placeholder

placeholder: AttributeAnimator<this, string>

pointerEvents

pointerEvents: StyleAnimator<this, PointerEvents>

position

position: StyleAnimator<this, Position>

right

right: StyleAnimator<this, Length | "auto", AnyLength | "auto">

rightAnchor

rightAnchor: LayoutAnchor<this>

selected

selected: AttributeAnimator<this, boolean, boolean | string>

textAlign

textAlign: StyleAnimator<this, TextAlign>

textDecorationColor

textDecorationColor: StyleAnimator<this, Color | "currentColor", AnyColor | "currentColor">

textDecorationLine

textDecorationLine: StyleAnimator<this, string>

textDecorationStyle

textDecorationStyle: StyleAnimator<this, TextDecorationStyle>

textOverflow

textOverflow: StyleAnimator<this, string>

textTransform

textTransform: StyleAnimator<this, TextTransform>

title

title: AttributeAnimator<this, string>

top

top: StyleAnimator<this, Length | "auto", AnyLength | "auto">

topAnchor

topAnchor: LayoutAnchor<this>

transform

type

type: AttributeAnimator<this, string>

userSelect

userSelect: StyleAnimator<this, UserSelect>

value

value: AttributeAnimator<this, string>

verticalAlign

visibility

visibility: StyleAnimator<this, Visibility>

whiteSpace

whiteSpace: StyleAnimator<this, WhiteSpace>

width

widthAnchor

widthAnchor: LayoutAnchor<this>

zIndex

zIndex: StyleAnimator<this, number | string>

Accessors

appView

childViews

  • get childViews(): ReadonlyArray<View>

classList

  • get classList(): DOMTokenList

clientBounds

  • get clientBounds(): BoxR2

clientTransform

constraints

dirty

  • get dirty(): boolean

node

pageBounds

  • get pageBounds(): BoxR2

pageTransform

parentTransform

parentView

  • get parentView(): View | null

popoverBounds

  • get popoverBounds(): BoxR2

popoverState

popoverView

  • get popoverView(): View | null

source

  • get source(): View | null

variables

viewController

viewObservers

Methods

addClass

  • addClass(...classNames: string[]): this

addConstraint

addVariable

addViewObserver

animate

  • animate(force?: boolean): void

append

appendChild

  • appendChild(child: View | Node): void

appendChildNode

  • appendChildNode(childNode: Node): void

appendChildView

  • appendChildView(childView: View): void

borderColor

  • borderColor(): [Color | "currentColor" | null | undefined, Color | "currentColor" | null | undefined, Color | "currentColor" | null | undefined, Color | "currentColor" | null | undefined] | Color | "currentColor" | null | undefined
  • borderColor(value: [AnyColor | "currentColor" | null, AnyColor | "currentColor" | null, AnyColor | "currentColor" | null, AnyColor | "currentColor" | null] | AnyColor | "currentColor" | null, tween?: Tween<Color | "currentColor">, priority?: string | null): this

borderRadius

borderStyle

borderWidth

cascadeAnimate

  • cascadeAnimate(frame: number): void

cascadeLayout

  • cascadeLayout(): void

cascadeMount

  • cascadeMount(): void

cascadeResize

  • cascadeResize(): void

cascadeScroll

  • cascadeScroll(): void

cascadeUnmount

  • cascadeUnmount(): void

className

  • className(): string | null
  • className(value: string | null): this

constraint

Protected createArrow

  • createArrow(): HTMLElement | null

Protected didAddViewObserver

Protected didAnimate

  • didAnimate(frame: number): void

Protected didHide

  • didHide(): void

Protected didInsertChildNode

  • didInsertChildNode(childNode: Node, targetNode: Node | null): void

Protected didInsertChildView

  • didInsertChildView(childView: View, targetView: View | null | undefined): void

Protected didLayout

  • didLayout(): void

Protected didMount

  • didMount(): void

Protected didObserve

  • didObserve(callback: function): void

Protected didPlacePopover

Protected didRemoveChildNode

  • didRemoveChildNode(childNode: Node): void

Protected didRemoveChildView

  • didRemoveChildView(childView: View): void

Protected didRemoveViewObserver

Protected didResize

  • didResize(): void

Protected didScroll

  • didScroll(): void

Protected didSetAttribute

  • didSetAttribute(name: string, value: unknown): void

Protected didSetDirty

  • didSetDirty(dirty: boolean): void

Protected didSetKey

  • didSetKey(key: string | null): void

Protected didSetParentView

  • didSetParentView(parentView: View | null): void

Protected didSetSource

  • didSetSource(source: View | null): void

Protected didSetStyle

  • didSetStyle(name: string, value: unknown, priority: string | undefined): void

Protected didSetViewController

Protected didShow

  • didShow(): void

Protected didUnmount

  • didUnmount(): void

dispatchEvent

  • dispatchEvent(event: Event): boolean

font

  • font(): Font | undefined
  • font(value: AnyFont | null, tween?: Tween<any>, priority?: string | null): this

getAttribute

  • getAttribute(name: string): string | null

getChildView

  • getChildView(key: string): View | null

hasClass

  • hasClass(className: string): boolean

hasConstraint

hasVariable

hidePopover

  • hidePopover(tween?: Tween<any>): void

id

  • id(): string | null
  • id(value: string | null): this

Protected initNode

insert

insertChild

  • insertChild(child: View | Node, target: View | Node | null): void

insertChildNode

  • insertChildNode(childNode: Node, targetNode: Node | null): void

insertChildView

  • insertChildView(childView: View, targetView: View | null): void

isMounted

  • isMounted(): boolean

isVisible

  • isVisible(): boolean

key

  • key(): string | null
  • key(key: string | null): this

margin

off

  • off<K>(type: K, listener: function, options?: EventListenerOptions | boolean): this
  • off(type: string, listener: EventListenerOrEventListenerObject, options?: EventListenerOptions | boolean): this

on

  • on<K>(type: K, listener: function, options?: AddEventListenerOptions | boolean): this
  • on(type: string, listener: EventListenerOrEventListenerObject, options?: AddEventListenerOptions | boolean): this

Protected onAddViewObserver

Protected onAnimate

  • onAnimate(t: number): void

Protected onAnimationFrame

  • onAnimationFrame(timestamp: number): void

Protected onInsertChildNode

  • onInsertChildNode(childNode: Node, targetNode: Node | null): void

Protected onInsertChildView

  • onInsertChildView(childView: View, targetView: View | null | undefined): void

Protected onLayout

  • onLayout(): void

Protected onMount

  • onMount(): void

Protected onPlacePopover

Protected onRemoveChildNode

  • onRemoveChildNode(childNode: Node): void

Protected onRemoveChildView

  • onRemoveChildView(childView: View): void

Protected onRemoveViewObserver

Protected onResize

  • onResize(): void

Protected onScroll

  • onScroll(): void

Protected onSetAttribute

  • onSetAttribute(name: string, value: unknown): void

Protected onSetKey

  • onSetKey(key: string | null): void

Protected onSetParentView

  • onSetParentView(parentView: View | null): void

Protected onSetSource

  • onSetSource(source: View | null): void

Protected onSetStyle

  • onSetStyle(name: string, value: unknown, priority: string | undefined): void

Protected onSetViewController

Protected onUnmount

  • onUnmount(): void

padding

place

placement

placementBounds

  • placementBounds(): BoxR2 | null
  • placementBounds(placementBounds: BoxR2 | null): this

popoverTransition

  • popoverTransition(): Transition<any> | null
  • popoverTransition(popoverTransition: AnyTransition<any> | null): this

prepend

prependChild

  • prependChild(child: View | Node): void

prependChildNode

  • prependChildNode(childNode: Node): void

prependChildView

  • prependChildView(childView: View): void

remove

  • remove(): void

removeAll

  • removeAll(): void

removeChild

  • removeChild(child: View | Node): void

removeChildNode

  • removeChildNode(childNode: Node): void

removeChildView

  • removeChildView(childView: View): void

removeClass

  • removeClass(...classNames: string[]): this

removeConstraint

removeVariable

removeViewObserver

setAttribute

  • setAttribute(name: string, value: unknown): this

setChildView

  • setChildView(key: string, newChildView: View | null): View | null

setDirty

  • setDirty(dirty: boolean): void

setParentView

  • setParentView(parentView: View | null): void

setSource

  • setSource(source: View | null): void

setStyle

  • setStyle(name: string, value: unknown, priority?: undefined | string): this

setVariableState

setViewController

showPopover

  • showPopover(tween?: Tween<any>): void

text

  • text(): string | null
  • text(value: string | null): this

toggleClass

  • toggleClass(className: string, state?: undefined | false | true): this

togglePopover

  • togglePopover(tween?: Tween<any>): void

variable

viewDidMount

  • viewDidMount(view: View): void

viewDidResize

  • viewDidResize(view: View): void

viewDidScroll

  • viewDidScroll(view: View): void

viewDidSetAnchor

viewDidSetAttribute

  • viewDidSetAttribute(name: string, value: unknown, view: HtmlView): void

viewDidSetStyle

  • viewDidSetStyle(name: string, value: unknown, priority: string | undefined, view: HtmlView): void

viewDidUnmount

  • viewDidUnmount(view: View): void

viewWillSetAttribute

  • viewWillSetAttribute(name: string, value: unknown, view: HtmlView): void

viewWillSetStyle

  • viewWillSetStyle(name: string, value: unknown, priority: string | undefined, view: HtmlView): void

Protected willAddViewObserver

Protected willAnimate

  • willAnimate(frame: number): void

Protected willHide

  • willHide(): void

Protected willInsertChildNode

  • willInsertChildNode(childNode: Node, targetNode: Node | null): void

Protected willInsertChildView

  • willInsertChildView(childView: View, targetView: View | null | undefined): void

Protected willLayout

  • willLayout(): void

Protected willMount

  • willMount(): void

Protected willObserve

  • willObserve(callback: function): void

Protected willPlacePopover

Protected willRemoveChildNode

  • willRemoveChildNode(childNode: Node): void

Protected willRemoveChildView

  • willRemoveChildView(childView: View): void

Protected willRemoveViewObserver

Protected willResize

  • willResize(): void

Protected willScroll

  • willScroll(): void

Protected willSetAttribute

  • willSetAttribute(name: string, value: unknown): void

Protected willSetKey

  • willSetKey(key: string | null): void

Protected willSetParentView

  • willSetParentView(parentView: View | null): void

Protected willSetSource

  • willSetSource(source: View | null): void

Protected willSetStyle

  • willSetStyle(name: string, value: unknown, priority: string | undefined): void

Protected willSetViewController

Protected willShow

  • willShow(): void

Protected willUnmount

  • willUnmount(): void

Static create

Static fromNode