Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DropdownView

Hierarchy

Implements

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

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

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

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

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

bottom

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

bottomAnchor

bottomAnchor: LayoutAnchor<this>

boxShadow

boxShadow: StyleAnimator<this, BoxShadow, AnyBoxShadow>

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">

colspan

colspan: AttributeAnimator<this, number, number | string>

cursor

cursor: StyleAnimator<this, CssCursor>

disabled

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

display

display: StyleAnimator<this, CssDisplay>

filter

filter: StyleAnimator<this, string>

flexBasis

flexBasis: StyleAnimator<this, Length | FlexBasis, AnyLength | 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

fontSize: StyleAnimator<this, FontSize, AnyFontSize>

fontStretch

fontStretch: StyleAnimator<this, FontStretch>

fontStyle

fontStyle: StyleAnimator<this, FontStyle>

fontVariant

fontVariant: StyleAnimator<this, FontVariant>

fontWeight

fontWeight: StyleAnimator<this, FontWeight>

height

height: StyleAnimator<this, Height, AnyLength | Height>

heightAnchor

heightAnchor: LayoutAnchor<this>

justifyContent

justifyContent: StyleAnimator<this, JustifyContent>

left

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

leftAnchor

leftAnchor: LayoutAnchor<this>

lineHeight

lineHeight: StyleAnimator<this, LineHeight, AnyLineHeight>

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

maxHeight: StyleAnimator<this, MaxHeight, AnyLength | MaxHeight>

maxWidth

maxWidth: StyleAnimator<this, MaxWidth, AnyLength | MaxWidth>

minHeight

minHeight: StyleAnimator<this, MinHeight, AnyLength | MinHeight>

minWidth

minWidth: StyleAnimator<this, MinWidth, AnyLength | 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

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

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>

rowspan

rowspan: AttributeAnimator<this, number, number | string>

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>

touchAction

touchAction: StyleAnimator<this, TouchAction>

transform

transform: StyleAnimator<this, Transform, AnyTransform>

type

type: AttributeAnimator<this, string>

userSelect

userSelect: StyleAnimator<this, UserSelect>

value

value: AttributeAnimator<this, string>

verticalAlign

verticalAlign: StyleAnimator<this, VerticalAlign, AnyLength | VerticalAlign>

visibility

visibility: StyleAnimator<this, Visibility>

whiteSpace

whiteSpace: StyleAnimator<this, WhiteSpace>

width

width: StyleAnimator<this, Width, AnyLength | Width>

widthAnchor

widthAnchor: LayoutAnchor<this>

zIndex

zIndex: StyleAnimator<this, number | string>

Static NeedsAnimate

NeedsAnimate: number = 1 << 1

Static NeedsCompute

NeedsCompute: number = 1 << 0

Static NeedsLayout

NeedsLayout: number = 1 << 2

Static NeedsRender

NeedsRender: number = 1 << 4

Static NeedsScroll

NeedsScroll: number = 1 << 3

Static UpdateFlagsMask

UpdateFlagsMask: number = (1 << 5) - 1

Accessors

appView

childViews

  • get childViews(): ReadonlyArray<View>

classList

  • get classList(): DOMTokenList

clientBounds

  • get clientBounds(): BoxR2

clientTransform

constraints

menuView

node

pageBounds

  • get pageBounds(): BoxR2

pageTransform

parentTransform

parentView

  • get parentView(): View | null

popoverBounds

  • get popoverBounds(): BoxR2

popoverState

popoverView

  • get popoverView(): View | null

toggleView

updateTime

  • get updateTime(): number

variables

viewController

viewIdiom

viewObservers

viewport

visibleClass

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

Methods

addClass

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

addConstraint

addVariable

addViewObserver

animate

append

appendChild

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

cascadeMount

  • cascadeMount(): void

cascadeUnmount

  • cascadeUnmount(): void

cascadeUpdate

  • cascadeUpdate(updateFlags: number, viewContext: ViewContext): void

childViewContext

className

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

constraint

Protected didAddViewObserver

Protected didAnimate

Protected didCompute

Protected didInsertChildNode

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

Protected didInsertChildView

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

Protected didLayout

Protected didMount

  • didMount(): void

Protected didObserve

  • didObserve(callback: (this: this, viewObserver: ViewObserver) => void): void

Protected didRemoveChildNode

  • didRemoveChildNode(childNode: Node): void

Protected didRemoveChildView

  • didRemoveChildView(childView: View): void

Protected didRemoveViewObserver

Protected didScroll

Protected didSetAttribute

  • didSetAttribute(name: string, value: unknown): 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

Protected didUpdate

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

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

needsUpdate

  • needsUpdate(updateFlags: number, viewContext: ViewContext): number

off

  • off<K>(type: K, listener: (this: HTMLElement, event: HTMLElementEventMap[K]) => unknown, options?: EventListenerOptions | boolean): this
  • off(type: string, listener: EventListenerOrEventListenerObject, options?: EventListenerOptions | boolean): this

on

  • on<K>(type: K, listener: (this: HTMLElement, event: HTMLElementEventMap[K]) => unknown, options?: AddEventListenerOptions | boolean): this
  • on(type: string, listener: EventListenerOrEventListenerObject, options?: AddEventListenerOptions | boolean): this

Protected onAddViewObserver

Protected onAnimate

Protected onCompute

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

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 onScroll

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

Protected onUpdate

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

removeChildNode

  • removeChildNode(childNode: Node): void

removeChildView

  • removeChildView(childView: View): void

removeClass

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

removeConstraint

removeVariable

removeViewObserver

requestUpdate

  • requestUpdate(updateFlags: number, immediate: boolean): void

requireUpdate

  • requireUpdate(updateFlags: number, immediate?: boolean): void

setAttribute

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

setChildView

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

setStyle

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

setVariable

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

Protected updateLayoutStates

  • updateLayoutStates(): void

variable

Protected willAddViewObserver

Protected willAnimate

Protected willCompute

Protected willInsertChildNode

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

Protected willInsertChildView

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

Protected willLayout

Protected willMount

  • willMount(): void

Protected willObserve

  • willObserve(callback: (this: this, viewObserver: ViewObserver) => void): void

Protected willRemoveChildNode

  • willRemoveChildNode(childNode: Node): void

Protected willRemoveChildView

  • willRemoveChildView(childView: View): void

Protected willRemoveViewObserver

Protected willScroll

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

Protected willUpdate

Static create

Static fromNode