Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DropdownView

Hierarchy

Implements

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

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

Properties

alignContent

alignContent: StyleAnimator<this, AlignContent>

alignItems

alignItems: StyleAnimator<this, AlignItems>

alignSelf

alignSelf: StyleAnimator<this, AlignSelf>

appearance

appearance: StyleAnimator<this, Appearance>

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

menuView

node

pageBounds

  • get pageBounds(): BoxR2

pageTransform

parentTransform

parentView

  • get parentView(): View | null

popoverBounds

  • get popoverBounds(): BoxR2

popoverState

popoverView

  • get popoverView(): View | null

toggleView

variables

viewController

viewObservers

visibleClass

  • get visibleClass(): string
  • set visibleClass(value: string): void

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 didAddViewObserver

Protected didAnimate

  • didAnimate(frame: number): 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 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 didSetStyle

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

Protected didSetViewController

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(frame: 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 onInsertToggleView

  • onInsertToggleView(toggleView: HtmlView): void

Protected onLayout

  • onLayout(): void

Protected onMount

  • onMount(): void

Protected onRemoveChildNode

  • onRemoveChildNode(childNode: Node): void

Protected onRemoveChildView

  • onRemoveChildView(childView: View): void

Protected onRemoveToggleView

  • onRemoveToggleView(toggleView: HtmlView): 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 onSetStyle

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

Protected onSetViewController

Protected onToggleClick

  • onToggleClick(event: Event): void

Protected onUnmount

  • onUnmount(): void

padding

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

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

variable

Protected willAddViewObserver

Protected willAnimate

  • willAnimate(frame: number): 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 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 willSetStyle

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

Protected willSetViewController

Protected willUnmount

  • willUnmount(): void

Static create

Static fromNode