Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

  • new SvgView(node: SVGElement): SvgView
  • Parameters

    • node: SVGElement

    Returns SvgView

Properties

Readonly alignmentBaseline

alignmentBaseline: AttributeAnimator<SvgView, AlignmentBaseline, never>

Readonly attributeAnimators

attributeAnimators: null | {}

Readonly childViewMap

childViewMap: null | {}

Readonly clipPath

clipPath: AttributeAnimator<SvgView, undefined | string, never>

Readonly constraintVariables

constraintVariables: readonly ConstraintVariable[]

Readonly constraints

constraints: readonly Constraint[]

Readonly cssTransform

cssTransform: StyleAnimator<SvgView, null | Transform, null | AnyTransform>

Readonly cursor

cursor: AttributeAnimator<SvgView, undefined | CssCursor, never>

Readonly cx

cx: AttributeAnimator<SvgView, undefined | number, never>

Readonly cy

cy: AttributeAnimator<SvgView, undefined | number, never>

Readonly d

d: AttributeAnimator<SvgView, undefined | string, never>

Readonly displayService

displayService: DisplayService<SvgView>

Readonly dx

Readonly dy

Readonly edgeMode

edgeMode: AttributeAnimator<SvgView, undefined | string, never>

Readonly fill

fill: AttributeAnimator<SvgView, null | Color, null | AnyColor>

Readonly fillRule

fillRule: AttributeAnimator<SvgView, undefined | FillRule, never>

Readonly filter

filter: StyleAnimator<SvgView, undefined | string, never>

Readonly floodColor

floodColor: AttributeAnimator<SvgView, null | Color, null | AnyColor>

Readonly floodOpacity

floodOpacity: AttributeAnimator<SvgView, undefined | number, never>

Readonly fontFamily

fontFamily: StyleAnimator<SvgView, undefined | string | string[], undefined | string | readonly string[]>

Readonly fontSize

fontSize: StyleAnimator<SvgView, null | Length, null | AnyLength>

Readonly fontStretch

fontStretch: StyleAnimator<SvgView, undefined | FontStretch, never>

Readonly fontStyle

fontStyle: StyleAnimator<SvgView, undefined | FontStyle, never>

Readonly fontVariant

fontVariant: StyleAnimator<SvgView, undefined | FontVariant, never>

Readonly fontWeight

fontWeight: StyleAnimator<SvgView, undefined | FontWeight, never>

Readonly height

height: AttributeAnimator<SvgView, null | Length, null | AnyLength>

Readonly in

in: AttributeAnimator<SvgView, undefined | string, never>

Readonly in2

in2: AttributeAnimator<SvgView, undefined | string, never>

Readonly key

key: undefined | string

Readonly layoutService

layoutService: LayoutService<SvgView>

Readonly lengthAdjust

lengthAdjust: AttributeAnimator<SvgView, undefined | "spacing" | "spacingAndGlyphs", never>

Readonly lineHeight

lineHeight: StyleAnimator<SvgView, null | Length, null | AnyLength>

Readonly modalService

modalService: ModalService<SvgView>

Readonly mode

mode: AttributeAnimator<SvgView, undefined | string, never>

Readonly mood

mood: ViewProperty<SvgView, null | MoodVector<Feel>, never>

Readonly moodModifier

moodModifier: ViewProperty<SvgView, null | MoodMatrix<Feel, Feel>, never>

Readonly node

node: SVGElement

Readonly opacity

opacity: AttributeAnimator<SvgView, undefined | number, never>

Readonly pointerEvents

pointerEvents: AttributeAnimator<SvgView, undefined | SvgPointerEvents, never>

Readonly points

points: AttributeAnimator<SvgView, undefined | string, never>

Readonly preserveAspectRatio

preserveAspectRatio: AttributeAnimator<SvgView, undefined | boolean, never>

Readonly r

r: AttributeAnimator<SvgView, undefined | number, never>

Readonly result

result: AttributeAnimator<SvgView, undefined | string, never>

Readonly stdDeviation

stdDeviation: AttributeAnimator<SvgView, undefined | number, never>

Readonly stroke

stroke: AttributeAnimator<SvgView, null | Color, null | AnyColor>

Readonly strokeDasharray

strokeDasharray: AttributeAnimator<SvgView, undefined | string, never>

Readonly strokeLinecap

strokeLinecap: AttributeAnimator<SvgView, undefined | StrokeLinecap, never>

Readonly strokeWidth

strokeWidth: AttributeAnimator<SvgView, undefined | number, never>

Readonly styleAnimators

styleAnimators: null | {}

Readonly textAnchor

textAnchor: AttributeAnimator<SvgView, undefined | TextAnchor, never>

Readonly textLength

textLength: AttributeAnimator<SvgView, null | Length, null | AnyLength>

Readonly theme

theme: ViewProperty<SvgView, null | ThemeMatrix, never>

Readonly themeModifier

themeModifier: ViewProperty<SvgView, null | MoodMatrix<Feel, Feel>, never>

Readonly themeService

themeService: ThemeService<SvgView>

Readonly touchAction

touchAction: StyleAnimator<SvgView, undefined | TouchAction, never>

Readonly transform

transform: AttributeAnimator<SvgView, null | Transform, null | AnyTransform>

Readonly type

type: AttributeAnimator<SvgView, undefined | string, never>

Readonly values

values: AttributeAnimator<SvgView, undefined | string, never>

Readonly viewAnimators

viewAnimators: null | {}

Readonly viewBox

viewBox: AttributeAnimator<SvgView, undefined | string, never>

Readonly viewContext

viewContext: ViewContext

Readonly viewController

viewController: null | SvgViewController<SvgView>

Readonly viewFasteners

viewFasteners: null | {}

Readonly viewFlags

viewFlags: number

Readonly viewObserverCache

viewObserverCache: ElementViewObserverCache<SvgView>

Readonly viewObservers

viewObservers: readonly SvgViewObserver<SvgView>[]

Readonly viewProperties

viewProperties: null | {}

Readonly viewServices

viewServices: null | {}

Readonly viewportService

viewportService: ViewportService<SvgView>

Readonly width

width: AttributeAnimator<SvgView, null | Length, null | AnyLength>

Readonly x

x: AttributeAnimator<SvgView, undefined | number, never>

Readonly x1

x1: AttributeAnimator<SvgView, undefined | number, never>

Readonly x2

x2: AttributeAnimator<SvgView, undefined | number, never>

Readonly y

y: AttributeAnimator<SvgView, undefined | number, never>

Readonly y1

y1: AttributeAnimator<SvgView, undefined | number, never>

Readonly y2

y2: AttributeAnimator<SvgView, undefined | number, never>

Static Readonly Extrinsic

Extrinsic: number = 1

Static Readonly Intrinsic

Intrinsic: number = 0

Static Readonly NeedsAnimate

NeedsAnimate: number = ...

Static Readonly NeedsChange

NeedsChange: number = ...

Static Readonly NeedsComposite

NeedsComposite: number = ...

Static Readonly NeedsDisplay

NeedsDisplay: number = ...

Static Readonly NeedsLayout

NeedsLayout: number = ...

Static Readonly NeedsProcess

NeedsProcess: number = ...

Static Readonly NeedsProject

NeedsProject: number = ...

Static Readonly NeedsRasterize

NeedsRasterize: number = ...

Static Readonly NeedsRender

NeedsRender: number = ...

Static Readonly NeedsResize

NeedsResize: number = ...

Static Readonly NeedsScroll

NeedsScroll: number = ...

Static a

a: SvgViewFactory<SvgView, SVGElement>

Static animate

animate: SvgViewFactory<SvgView, SVGElement>

Static animateMotion

animateMotion: SvgViewFactory<SvgView, SVGElement>

Static animateTransform

animateTransform: SvgViewFactory<SvgView, SVGElement>

Static audio

audio: SvgViewFactory<SvgView, SVGElement>

Static canvas

canvas: SvgViewFactory<SvgView, SVGElement>

Static circle

circle: SvgViewFactory<SvgView, SVGElement>

Static clipPath

clipPath: SvgViewFactory<SvgView, SVGElement>

Static defs

defs: SvgViewFactory<SvgView, SVGElement>

Static desc

desc: SvgViewFactory<SvgView, SVGElement>

Static discard

discard: SvgViewFactory<SvgView, SVGElement>

Static ellipse

ellipse: SvgViewFactory<SvgView, SVGElement>

Static feBlend

feBlend: SvgViewFactory<SvgView, SVGElement>

Static feColorMatrix

feColorMatrix: SvgViewFactory<SvgView, SVGElement>

Static feComponentTransfer

feComponentTransfer: SvgViewFactory<SvgView, SVGElement>

Static feComposite

feComposite: SvgViewFactory<SvgView, SVGElement>

Static feConvolveMatrix

feConvolveMatrix: SvgViewFactory<SvgView, SVGElement>

Static feDiffuseLighting

feDiffuseLighting: SvgViewFactory<SvgView, SVGElement>

Static feDisplacementMap

feDisplacementMap: SvgViewFactory<SvgView, SVGElement>

Static feDistantLight

feDistantLight: SvgViewFactory<SvgView, SVGElement>

Static feDropShadow

feDropShadow: SvgViewFactory<SvgView, SVGElement>

Static feFlood

feFlood: SvgViewFactory<SvgView, SVGElement>

Static feFuncA

feFuncA: SvgViewFactory<SvgView, SVGElement>

Static feFuncB

feFuncB: SvgViewFactory<SvgView, SVGElement>

Static feFuncG

feFuncG: SvgViewFactory<SvgView, SVGElement>

Static feFuncR

feFuncR: SvgViewFactory<SvgView, SVGElement>

Static feGaussianBlur

feGaussianBlur: SvgViewFactory<SvgView, SVGElement>

Static feImage

feImage: SvgViewFactory<SvgView, SVGElement>

Static feMerge

feMerge: SvgViewFactory<SvgView, SVGElement>

Static feMergeNode

feMergeNode: SvgViewFactory<SvgView, SVGElement>

Static feMorphology

feMorphology: SvgViewFactory<SvgView, SVGElement>

Static feOffset

feOffset: SvgViewFactory<SvgView, SVGElement>

Static fePointLight

fePointLight: SvgViewFactory<SvgView, SVGElement>

Static feSpecularLighting

feSpecularLighting: SvgViewFactory<SvgView, SVGElement>

Static feSpotLight

feSpotLight: SvgViewFactory<SvgView, SVGElement>

Static feTile

feTile: SvgViewFactory<SvgView, SVGElement>

Static feTurbulence

feTurbulence: SvgViewFactory<SvgView, SVGElement>

Static filter

filter: SvgViewFactory<SvgView, SVGElement>

Static foreignObject

foreignObject: SvgViewFactory<SvgView, SVGElement>

Static g

g: SvgViewFactory<SvgView, SVGElement>

Static iframe

iframe: SvgViewFactory<SvgView, SVGElement>

Static image

image: SvgViewFactory<SvgView, SVGElement>

Static Readonly insertChildFlags

insertChildFlags: number = ...

Static line

line: SvgViewFactory<SvgView, SVGElement>

Static linearGradient

linearGradient: SvgViewFactory<SvgView, SVGElement>

Static marker

marker: SvgViewFactory<SvgView, SVGElement>

Static mask

mask: SvgViewFactory<SvgView, SVGElement>

Static metadata

metadata: SvgViewFactory<SvgView, SVGElement>

Static Readonly mountFlags

mountFlags: number = ...

Static mpath

mpath: SvgViewFactory<SvgView, SVGElement>

Static Readonly namespace

namespace: string

Static path

path: SvgViewFactory<SvgView, SVGElement>

Static pattern

pattern: SvgViewFactory<SvgView, SVGElement>

Static polygon

polygon: SvgViewFactory<SvgView, SVGElement>

Static polyline

polyline: SvgViewFactory<SvgView, SVGElement>

Static Readonly powerFlags

powerFlags: number = ...

Static radialGradient

radialGradient: SvgViewFactory<SvgView, SVGElement>

Static rect

rect: SvgViewFactory<SvgView, SVGElement>

Static Readonly removeChildFlags

removeChildFlags: number = ...

Static script

script: SvgViewFactory<SvgView, SVGElement>

Static set

set: SvgViewFactory<SvgView, SVGElement>

Static stop

stop: SvgViewFactory<SvgView, SVGElement>

Static style

style: SvgViewFactory<SvgView, SVGElement>

Static svg

svg: SvgViewFactory<SvgView, SVGElement>

Static switch

switch: SvgViewFactory<SvgView, SVGElement>

Static symbol

symbol: SvgViewFactory<SvgView, SVGElement>

Static Readonly tag

tag: string

Static Readonly tags

tags: {}

Type declaration

Static text

text: SvgViewFactory<SvgView, SVGElement>

Static textPath

textPath: SvgViewFactory<SvgView, SVGElement>

Static title

title: SvgViewFactory<SvgView, SVGElement>

Static tspan

tspan: SvgViewFactory<SvgView, SVGElement>

Static Readonly uncullFlags

uncullFlags: number = ...

Static unknown

unknown: SvgViewFactory<SvgView, SVGElement>

Static use

use: SvgViewFactory<SvgView, SVGElement>

Static video

video: SvgViewFactory<SvgView, SVGElement>

Static view

view: SvgViewFactory<SvgView, SVGElement>

Accessors

childViewCount

  • get childViewCount(): number
  • Returns number

childViews

  • get childViews(): readonly View[]
  • Returns readonly View[]

classList

  • get classList(): DOMTokenList
  • Returns DOMTokenList

clientBounds

  • get clientBounds(): R2Box
  • Returns R2Box

clientTransform

insertChildFlags

  • get insertChildFlags(): number

mountFlags

  • get mountFlags(): number

pageBounds

  • get pageBounds(): R2Box
  • Returns R2Box

pageTransform

parentTransform

  • Returns the transformation from the parent view coordinates to view coordinates.

    Returns Transform

parentView

  • get parentView(): null | View
  • Returns null | View

popoverFrame

  • get popoverFrame(): R2Box

powerFlags

  • get powerFlags(): number

removeChildFlags

  • get removeChildFlags(): number

superViewContext

uncullFlags

  • get uncullFlags(): number

viewIdiom

viewport

Methods

activateLayout

  • activateLayout(): void
  • Returns void

addClass

  • addClass(...classNames: string[]): SvgView
  • Parameters

    • Rest ...classNames: string[]

    Returns SvgView

addConstraint

addConstraintVariable

addViewObserver

append

  • append<V>(childView: V, key?: string): V
  • append<V>(viewConstructor: NodeViewConstructor<V>, key?: string): V
  • append<V>(viewConstructor: ViewConstructor<V>, key?: string): V
  • append(childNode: SVGElement, key?: string): SvgView
  • append(childNode: Element, key?: string): ElementView
  • append(childNode: Node, key?: string): NodeView
  • append<T>(tag: T, key?: string): SvgViewTagMap[T]
  • append(tag: string, key?: string): ElementView
  • append(child: string | Node, key?: string): NodeView
  • Type parameters

    Parameters

    • childView: V
    • Optional key: string

    Returns V

  • Type parameters

    Parameters

    Returns V

  • Type parameters

    Parameters

    Returns V

  • Parameters

    • childNode: SVGElement
    • Optional key: string

    Returns SvgView

  • Parameters

    • childNode: Element
    • Optional key: string

    Returns ElementView

  • Parameters

    • childNode: Node
    • Optional key: string

    Returns NodeView

  • Type parameters

    Parameters

    • tag: T
    • Optional key: string

    Returns SvgViewTagMap[T]

  • Parameters

    • tag: string
    • Optional key: string

    Returns ElementView

  • Parameters

    • child: string | Node
    • Optional key: string

    Returns NodeView

appendChild

  • appendChild(child: Node | View, key?: string): void
  • Parameters

    • child: Node | View
    • Optional key: string

    Returns void

appendChildNode

  • appendChildNode(childNode: Node, key?: string): void
  • Parameters

    • childNode: Node
    • Optional key: string

    Returns void

appendChildView

  • appendChildView(childView: View, key?: string): void
  • Parameters

    • childView: View
    • Optional key: string

    Returns void

applyTheme

Protected attachParentView

  • attachParentView(parentView: View): void

cascadeCull

  • cascadeCull(): void
  • Returns void

cascadeDisplay

  • cascadeDisplay(displayFlags: number, viewContext: ViewContext): void
  • Parameters

    Returns void

cascadeInsert

  • cascadeInsert(updateFlags?: number, viewContext?: ViewContext): void
  • Parameters

    • Optional updateFlags: number
    • Optional viewContext: ViewContext

    Returns void

cascadeMount

  • cascadeMount(): void
  • Returns void

cascadePower

  • cascadePower(): void
  • Returns void

cascadeProcess

  • cascadeProcess(processFlags: number, viewContext: ViewContext): void
  • Parameters

    Returns void

cascadeUncull

  • cascadeUncull(): void
  • Returns void

cascadeUnmount

  • cascadeUnmount(): void
  • Returns void

cascadeUnpower

  • cascadeUnpower(): void
  • Returns void

Protected changeMood

  • changeMood(): void
  • Returns void

Protected changeTheme

  • changeTheme(): void
  • Returns void

changeViewProperties

  • changeViewProperties(): void

className

  • className(): undefined | string
  • className(value: undefined | string): SvgView
  • Returns undefined | string

  • Parameters

    • value: undefined | string

    Returns SvgView

constraint

constraintVariable

deactivateLayout

  • deactivateLayout(): void
  • Returns void

Protected detachParentView

  • detachParentView(parentView: View): void

Protected didAddViewObserver

Protected didAnimate

Protected didApplyTheme

Protected didChange

Protected didCull

  • didCull(): void

Protected didDisplay

  • didDisplay(displayFlags: number, viewContext: ViewContext): void

Protected didDisplayChildView

  • didDisplayChildView(childView: View, displayFlags: number, viewContext: ViewContext): void

Protected didDisplayChildViews

  • didDisplayChildViews(displayFlags: number, viewContext: ViewContext): void

Protected didInsertChildNode

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

    • childNode: Node
    • targetNode: null | Node

    Returns void

Protected didInsertChildView

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

Protected didLayout

Protected didMount

  • didMount(): void
  • Returns void

Protected didObserve

Protected didPower

  • didPower(): void

Protected didProcess

  • didProcess(processFlags: number, viewContext: ViewContext): void

Protected didProcessChildView

  • didProcessChildView(childView: View, processFlags: number, viewContext: ViewContext): void

Protected didProcessChildViews

  • didProcessChildViews(processFlags: number, viewContext: ViewContext): void

Protected didRemoveChildNode

  • didRemoveChildNode(childNode: Node): void
  • Parameters

    • childNode: Node

    Returns void

Protected didRemoveChildView

  • didRemoveChildView(childView: View): void

Protected didRemoveViewObserver

Protected didRequestUpdate

  • didRequestUpdate(targetView: View, updateFlags: number, immediate: boolean): void

Protected didRequireUpdate

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

Protected didResize

Protected didScroll

Protected didSetAttribute

  • didSetAttribute(attributeName: string, value: unknown): void
  • Parameters

    • attributeName: string
    • value: unknown

    Returns void

Protected didSetParentView

  • didSetParentView(newParentView: null | View, oldParentView: null | View): void

Protected didSetStyle

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

    • propertyName: string
    • value: unknown
    • priority: undefined | string

    Returns void

Protected didSetViewController

Protected didUncull

  • didUncull(): void

Protected didUnmount

  • didUnmount(): void

Protected didUnpower

  • didUnpower(): void

dispatchEvent

  • dispatchEvent(event: Event): boolean
  • Parameters

    • event: Event

    Returns boolean

Protected displayChildViews

  • displayChildViews(displayFlags: number, viewContext: ViewContext, displayChildView: (childView: View, displayFlags: number, viewContext: ViewContext) => void): void
  • Parameters

    • displayFlags: number
    • viewContext: ViewContext
    • displayChildView: (childView: View, displayFlags: number, viewContext: ViewContext) => void
        • Parameters

          Returns void

    Returns void

Protected doCull

  • doCull(): void
  • Returns void

Protected doCullChildViews

  • doCullChildViews(): void
  • Returns void

Protected doDisplay

  • doDisplay(displayFlags: number, viewContext: ViewContext): void
  • Parameters

    Returns void

Protected doDisplayChildViews

  • doDisplayChildViews(displayFlags: number, viewContext: ViewContext): void

Protected doMountChildViews

  • doMountChildViews(): void

Protected doPowerChildViews

  • doPowerChildViews(): void

Protected doProcess

  • doProcess(processFlags: number, viewContext: ViewContext): void
  • Parameters

    Returns void

Protected doProcessChildViews

  • doProcessChildViews(processFlags: number, viewContext: ViewContext): void

Protected doUncull

  • doUncull(): void
  • Returns void

Protected doUncullChildViews

  • doUncullChildViews(): void

Protected doUnmountChildViews

  • doUnmountChildViews(): void

Protected doUnpowerChildViews

  • doUnpowerChildViews(): void

evaluateConstraintVariables

  • evaluateConstraintVariables(): void

extendViewContext

firstChildView

  • firstChildView(): null | View

font

  • Returns null | Font

  • Parameters

    Returns SvgView

forEachChildView

  • forEachChildView<T>(callback: (childView: View) => void | T): undefined | T
  • forEachChildView<T, S>(callback: (childView: View) => void | T, thisArg: S): undefined | T
  • Type parameters

    • T

    Parameters

    • callback: (childView: View) => void | T
        • (childView: View): void | T
        • Parameters

          Returns void | T

    Returns undefined | T

  • Type parameters

    • T

    • S

    Parameters

    • callback: (childView: View) => void | T
        • (childView: View): void | T
        • Parameters

          Returns void | T

    • thisArg: S

    Returns undefined | T

getAttribute

  • getAttribute(attributeName: string): null | string
  • Parameters

    • attributeName: string

    Returns null | string

getAttributeAnimator

getBaseView

  • getBaseView<V>(viewClass: ViewClass<V>): null | V

getChildView

  • getChildView(key: string): null | View
  • Parameters

    • key: string

    Returns null | View

getLazyAttributeAnimator

getLazyStyleAnimator

getLook

  • Type parameters

    • T

    Parameters

    Returns undefined | T

getLookOr

  • getLookOr<T, E>(look: Look<T, unknown>, elseValue: E): T | E
  • getLookOr<T, E>(look: Look<T, unknown>, mood: null | MoodVector<Feel>, elseValue: E): T | E
  • Type parameters

    • T

    • E

    Parameters

    • look: Look<T, unknown>
    • elseValue: E

    Returns T | E

  • Type parameters

    • T

    • E

    Parameters

    Returns T | E

getStyle

  • getStyle(propertyNames: string | readonly string[]): undefined | string | CSSStyleValue
  • Parameters

    • propertyNames: string | readonly string[]

    Returns undefined | string | CSSStyleValue

getStyleAnimator

getSuperView

  • getSuperView<V>(viewClass: ViewClass<V>): null | V

getViewAnimator

getViewFastener

getViewProperty

getViewService

hasAttributeAnimator

  • hasAttributeAnimator(animatorName: string): boolean
  • Parameters

    • animatorName: string

    Returns boolean

hasClass

  • hasClass(className: string): boolean
  • Parameters

    • className: string

    Returns boolean

hasConstraint

  • Parameters

    Returns boolean

hasConstraintVariable

hasStyleAnimator

  • hasStyleAnimator(animatorName: string): boolean
  • Parameters

    • animatorName: string

    Returns boolean

hasViewAnimator

  • hasViewAnimator(animatorName: string): boolean
  • Parameters

    • animatorName: string

    Returns boolean

hasViewFastener

  • hasViewFastener(fastenerName: string): boolean
  • Parameters

    • fastenerName: string

    Returns boolean

hasViewProperty

  • hasViewProperty(propertyName: string): boolean
  • Parameters

    • propertyName: string

    Returns boolean

hasViewService

  • hasViewService(serviceName: string): boolean
  • Parameters

    • serviceName: string

    Returns boolean

id

  • id(): undefined | string
  • id(value: undefined | string): SvgView
  • Returns undefined | string

  • Parameters

    • value: undefined | string

    Returns SvgView

initAttributes

  • Parameters

    Returns void

initStyle

  • Parameters

    Returns void

initView

  • Parameters

    Returns void

injectChildView

  • injectChildView(childView: NodeView, targetView: null | NodeView, key?: string): void
  • Parameters

    Returns void

insert

  • insert<V>(childView: V, target: null | Node | View, key?: string): V
  • insert<V>(viewConstructor: NodeViewConstructor<V>, target: null | Node | View, key?: string): V
  • insert<V>(viewConstructor: ViewConstructor<V>, target: null | Node | View, key?: string): V
  • insert(childNode: SVGElement, target: null | Node | View, key?: string): SvgView
  • insert(childNode: Element, target: null | Node | View, key?: string): ElementView
  • insert(childNode: Node, target: null | Node | View, key?: string): NodeView
  • insert<T>(tag: T, target: null | Node | View, key?: string): SvgViewTagMap[T]
  • insert(tag: string, target: null | Node | View, key?: string): ElementView
  • insert(child: string | Node, target: null | Node | View, key?: string): NodeView
  • Type parameters

    Parameters

    • childView: V
    • target: null | Node | View
    • Optional key: string

    Returns V

  • Type parameters

    Parameters

    Returns V

  • Type parameters

    Parameters

    Returns V

  • Parameters

    • childNode: SVGElement
    • target: null | Node | View
    • Optional key: string

    Returns SvgView

  • Parameters

    • childNode: Element
    • target: null | Node | View
    • Optional key: string

    Returns ElementView

  • Parameters

    • childNode: Node
    • target: null | Node | View
    • Optional key: string

    Returns NodeView

  • Type parameters

    Parameters

    • tag: T
    • target: null | Node | View
    • Optional key: string

    Returns SvgViewTagMap[T]

  • Parameters

    • tag: string
    • target: null | Node | View
    • Optional key: string

    Returns ElementView

  • Parameters

    • child: string | Node
    • target: null | Node | View
    • Optional key: string

    Returns NodeView

insertChild

  • insertChild(child: Node | View, target: null | Node | View, key?: string): void
  • Parameters

    • child: Node | View
    • target: null | Node | View
    • Optional key: string

    Returns void

insertChildNode

  • insertChildNode(childNode: Node, targetNode: null | Node, key?: string): void
  • Parameters

    • childNode: Node
    • targetNode: null | Node
    • Optional key: string

    Returns void

insertChildView

  • insertChildView(childView: View, targetView: null | View, key?: string): void
  • Parameters

    • childView: View
    • targetView: null | View
    • Optional key: string

    Returns void

Protected insertChildViewMap

  • insertChildViewMap(childView: View): void
  • Parameters

    Returns void

Protected insertViewFastener

  • insertViewFastener(childView: View, targetView: null | View): void
  • Parameters

    • childView: View
    • targetView: null | View

    Returns void

intersectsViewport

  • intersectsViewport(): boolean

isCulled

  • isCulled(): boolean

isDisplaying

  • isDisplaying(): boolean

isMounted

  • isMounted(): boolean

isPowered

  • isPowered(): boolean

isProcessing

  • isProcessing(): boolean

isTraversing

  • isTraversing(): boolean

isUpdating

  • isUpdating(): boolean

lastChildView

  • lastChildView(): null | View
  • Returns null | View

modifyMood

modifyTheme

mount

  • mount(): void
  • Returns void

Protected mountTheme

  • mountTheme(): void
  • Returns void

Protected mountViewAnimators

  • mountViewAnimators(): void
  • Returns void

Protected mountViewFasteners

  • mountViewFasteners(): void

Protected mountViewProperties

  • mountViewProperties(): void

Protected mountViewServices

  • mountViewServices(): void

needsDisplay

  • needsDisplay(displayFlags: number, viewContext: ViewContext): number

needsProcess

  • needsProcess(processFlags: number, viewContext: ViewContext): number

nextChildView

  • nextChildView(targetView: View): null | View
  • Parameters

    Returns null | View

off

  • off<T>(type: T, listener: (event: SVGElementEventMap[T]) => unknown, options?: boolean | EventListenerOptions): SvgView
  • off(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): SvgView
  • Type parameters

    • T: keyof SVGElementEventMap

    Parameters

    • type: T
    • listener: (event: SVGElementEventMap[T]) => unknown
        • (event: SVGElementEventMap[T]): unknown
        • Parameters

          • event: SVGElementEventMap[T]

          Returns unknown

    • Optional options: boolean | EventListenerOptions

    Returns SvgView

  • Parameters

    • type: string
    • listener: EventListenerOrEventListenerObject
    • Optional options: boolean | EventListenerOptions

    Returns SvgView

on

  • on<T>(type: T, listener: (event: SVGElementEventMap[T]) => unknown, options?: boolean | AddEventListenerOptions): SvgView
  • on(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): SvgView
  • Type parameters

    • T: keyof SVGElementEventMap

    Parameters

    • type: T
    • listener: (event: SVGElementEventMap[T]) => unknown
        • (event: SVGElementEventMap[T]): unknown
        • Parameters

          • event: SVGElementEventMap[T]

          Returns unknown

    • Optional options: boolean | AddEventListenerOptions

    Returns SvgView

  • Parameters

    • type: string
    • listener: EventListenerOrEventListenerObject
    • Optional options: boolean | AddEventListenerOptions

    Returns SvgView

Protected onAddViewObserver

Protected onAnimate

Protected onApplyTheme

Protected onChange

  • Parameters

    Returns void

Protected onCull

  • onCull(): void

Protected onDisplay

  • onDisplay(displayFlags: number, viewContext: ViewContext): void

Protected onDisplayChildView

  • onDisplayChildView(childView: View, displayFlags: number, viewContext: ViewContext): void

Protected onDisplayChildViews

  • onDisplayChildViews(displayFlags: number, viewContext: ViewContext): void

Protected onInsertChildNode

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

    • childNode: Node
    • targetNode: null | Node

    Returns void

Protected onInsertChildView

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

    • childView: View
    • targetView: null | View

    Returns void

Protected onLayout

Protected onMount

  • onMount(): void
  • Returns void

Protected onPower

  • onPower(): void

Protected onProcess

  • onProcess(processFlags: number, viewContext: ViewContext): void

Protected onProcessChildView

  • onProcessChildView(childView: View, processFlags: number, viewContext: ViewContext): void

Protected onProcessChildViews

  • onProcessChildViews(processFlags: number, viewContext: ViewContext): void

Protected onRemoveChildNode

  • onRemoveChildNode(childNode: Node): void
  • Parameters

    • childNode: Node

    Returns void

Protected onRemoveChildView

  • onRemoveChildView(childView: View): void
  • Parameters

    Returns void

Protected onRemoveViewObserver

Protected onRequestUpdate

  • onRequestUpdate(targetView: View, updateFlags: number, immediate: boolean): void

Protected onRequireUpdate

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

Protected onResize

Protected onScroll

Protected onSetAttribute

  • onSetAttribute(attributeName: string, value: unknown): void
  • Parameters

    • attributeName: string
    • value: unknown

    Returns void

Protected onSetParentView

  • onSetParentView(newParentView: null | View, oldParentView: null | View): void

Protected onSetStyle

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

    • propertyName: string
    • value: unknown
    • priority: undefined | string

    Returns void

Protected onSetViewController

Protected onUncull

  • onUncull(): void
  • Returns void

Protected onUnmount

  • onUnmount(): void
  • Returns void

Protected onUnpower

  • onUnpower(): void

prepend

  • prepend<V>(childView: V, key?: string): V
  • prepend<V>(viewConstructor: NodeViewConstructor<V>, key?: string): V
  • prepend<V>(viewConstructor: ViewConstructor<V>, key?: string): V
  • prepend(childNode: SVGElement, key?: string): SvgView
  • prepend(childNode: Element, key?: string): ElementView
  • prepend(childNode: Node, key?: string): NodeView
  • prepend<T>(tag: T, key?: string): SvgViewTagMap[T]
  • prepend(tag: string, key?: string): ElementView
  • prepend(child: string | Node, key?: string): NodeView
  • Type parameters

    Parameters

    • childView: V
    • Optional key: string

    Returns V

  • Type parameters

    Parameters

    Returns V

  • Type parameters

    Parameters

    Returns V

  • Parameters

    • childNode: SVGElement
    • Optional key: string

    Returns SvgView

  • Parameters

    • childNode: Element
    • Optional key: string

    Returns ElementView

  • Parameters

    • childNode: Node
    • Optional key: string

    Returns NodeView

  • Type parameters

    Parameters

    • tag: T
    • Optional key: string

    Returns SvgViewTagMap[T]

  • Parameters

    • tag: string
    • Optional key: string

    Returns ElementView

  • Parameters

    • child: string | Node
    • Optional key: string

    Returns NodeView

prependChild

  • prependChild(child: Node | View, key?: string): void
  • Parameters

    • child: Node | View
    • Optional key: string

    Returns void

prependChildNode

  • prependChildNode(childNode: Node, key?: string): void
  • Parameters

    • childNode: Node
    • Optional key: string

    Returns void

prependChildView

  • prependChildView(childView: View, key?: string): void
  • Parameters

    • childView: View
    • Optional key: string

    Returns void

previousChildView

  • previousChildView(targetView: View): null | View

Protected processChildViews

  • processChildViews(processFlags: number, viewContext: ViewContext, processChildView: (childView: View, processFlags: number, viewContext: ViewContext) => void): void
  • Parameters

    • processFlags: number
    • viewContext: ViewContext
    • processChildView: (childView: View, processFlags: number, viewContext: ViewContext) => void
        • Parameters

          Returns void

    Returns void

remove

  • remove(): void
  • Returns void

removeAll

  • removeAll(): void
  • Returns void

removeChild

  • removeChild(child: Node | View): void
  • Parameters

    • child: Node | View

    Returns void

removeChildNode

  • removeChildNode(childNode: Node): void
  • Parameters

    • childNode: Node

    Returns void

removeChildView

  • removeChildView(key: string): null | View
  • removeChildView(childView: View): void
  • Parameters

    • key: string

    Returns null | View

  • Parameters

    Returns void

Protected removeChildViewMap

  • removeChildViewMap(childView: View): void
  • Parameters

    Returns void

removeClass

  • removeClass(...classNames: string[]): SvgView
  • Parameters

    • Rest ...classNames: string[]

    Returns SvgView

removeConstraint

removeConstraintVariable

Protected removeViewFastener

  • removeViewFastener(childView: View): void
  • Parameters

    Returns void

removeViewObserver

requestUpdate

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

requireUpdate

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

setAttribute

  • setAttribute(attributeName: string, value: unknown): SvgView
  • Parameters

    • attributeName: string
    • value: unknown

    Returns SvgView

setAttributeAnimator

  • setAttributeAnimator(animatorName: string, newAttributeAnimator: null | AttributeAnimator<SvgView, unknown, never>): void

setChildView

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

    • key: string
    • newChildView: null | View

    Returns null | View

setCulled

  • setCulled(culled: boolean): void
  • Parameters

    • culled: boolean

    Returns void

setKey

  • setKey(key: undefined | string): void
  • Parameters

    • key: undefined | string

    Returns void

setParentView

  • setParentView(newParentView: null | View, oldParentView: null | View): void
  • Parameters

    • newParentView: null | View
    • oldParentView: null | View

    Returns void

setStyle

  • setStyle(propertyName: string, value: unknown, priority?: string): SvgView
  • Parameters

    • propertyName: string
    • value: unknown
    • Optional priority: string

    Returns SvgView

setStyleAnimator

  • setStyleAnimator(animatorName: string, newStyleAnimator: null | StyleAnimator<SvgView, unknown, never>): void
  • Parameters

    Returns void

setViewAnimator

  • setViewAnimator(animatorName: string, newViewAnimator: null | ViewAnimator<SvgView, unknown, never>): void
  • Parameters

    Returns void

setViewController

setViewFastener

  • setViewFastener(fastenerName: string, newViewFastener: null | ViewFastener<SvgView, any, never>): void
  • Parameters

    Returns void

setViewFlags

  • setViewFlags(viewFlags: number): void

setViewMember

  • setViewMember(key: string, value: unknown, timing?: boolean | AnyTiming, precedence?: number): void
  • Parameters

    • key: string
    • value: unknown
    • Optional timing: boolean | AnyTiming
    • Optional precedence: number

    Returns void

setViewProperty

  • setViewProperty(propertyName: string, newViewProperty: null | ViewProperty<SvgView, unknown, never>): void
  • Parameters

    Returns void

setViewService

  • setViewService(serviceName: string, newViewService: null | ViewService<SvgView, unknown>): void
  • Parameters

    Returns void

setViewState

text

  • text(): undefined | string
  • text(value: undefined | null | string): SvgView
  • Returns undefined | string

  • Parameters

    • value: undefined | null | string

    Returns SvgView

Protected themeViewAnimators

toggleClass

  • toggleClass(className: string, state?: boolean): SvgView
  • Parameters

    • className: string
    • Optional state: boolean

    Returns SvgView

trackDidStartAnimating

trackDidStopAnimating

trackWillStartAnimating

trackWillStopAnimating

Protected unmountViewAnimators

  • unmountViewAnimators(): void

Protected unmountViewFasteners

  • unmountViewFasteners(): void

Protected unmountViewProperties

  • unmountViewProperties(): void

Protected unmountViewServices

  • unmountViewServices(): void

Protected updateTheme

  • updateTheme(): void
  • Returns void

Protected willAddViewObserver

Protected willAnimate

Protected willApplyTheme

Protected willChange

Protected willCull

  • willCull(): void

Protected willDisplay

  • willDisplay(displayFlags: number, viewContext: ViewContext): void

Protected willDisplayChildView

  • willDisplayChildView(childView: View, displayFlags: number, viewContext: ViewContext): void

Protected willDisplayChildViews

  • willDisplayChildViews(displayFlags: number, viewContext: ViewContext): void

Protected willInsertChildNode

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

    • childNode: Node
    • targetNode: null | Node

    Returns void

Protected willInsertChildView

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

Protected willLayout

Protected willMount

  • willMount(): void

Protected willObserve

Protected willPower

  • willPower(): void

Protected willProcess

  • willProcess(processFlags: number, viewContext: ViewContext): void

Protected willProcessChildView

  • willProcessChildView(childView: View, processFlags: number, viewContext: ViewContext): void

Protected willProcessChildViews

  • willProcessChildViews(processFlags: number, viewContext: ViewContext): void

Protected willRemoveChildNode

  • willRemoveChildNode(childNode: Node): void
  • Parameters

    • childNode: Node

    Returns void

Protected willRemoveChildView

  • willRemoveChildView(childView: View): void

Protected willRemoveViewObserver

Protected willRequestUpdate

  • willRequestUpdate(targetView: View, updateFlags: number, immediate: boolean): void

Protected willRequireUpdate

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

Protected willResize

  • Parameters

    Returns void

Protected willScroll

Protected willSetAttribute

  • willSetAttribute(attributeName: string, value: unknown): void
  • Parameters

    • attributeName: string
    • value: unknown

    Returns void

Protected willSetParentView

  • willSetParentView(newParentView: null | View, oldParentView: null | View): void

Protected willSetStyle

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

    • propertyName: string
    • value: unknown
    • priority: undefined | string

    Returns void

Protected willSetViewController

Protected willUncull

  • willUncull(): void

Protected willUnmount

  • willUnmount(): void
  • Returns void

Protected willUnpower

  • willUnpower(): void

Static Tag

  • Tag(tagName: string): PropertyDecorator
  • Parameters

    • tagName: string

    Returns PropertyDecorator

Static create

  • create<S>(tag?: string): InstanceType<S>
  • Type parameters

    Parameters

    • Optional tag: string

    Returns InstanceType<S>

Static decorateAttributeAnimator

Static decorateTag

  • decorateTag(tag: string, target: Object, propertyKey: string | symbol): void
  • Parameters

    • tag: string
    • target: Object
    • propertyKey: string | symbol

    Returns void

Static forTag

  • Parameters

    • tag: string

    Returns SvgViewConstructor<SvgView>

Static fromAny

  • fromAny<S>(value: SVGElement | InstanceType<S>): InstanceType<S>
  • Type parameters

    Parameters

    • value: SVGElement | InstanceType<S>

    Returns InstanceType<S>

Static fromConstructor

Static fromNode

  • Type parameters

    Parameters

    Returns InstanceType<S>

  • Parameters

    Returns SvgView

Static fromTag

  • fromTag<S>(tag: string): InstanceType<S>
  • fromTag(tag: string): ElementView
  • Type parameters

    Parameters

    • tag: string

    Returns InstanceType<S>

  • Parameters

    • tag: string

    Returns ElementView

Static getAttributeAnimatorConstructor

Static isNodeMounted

  • isNodeMounted(node: Node): boolean
  • Parameters

    • node: Node

    Returns boolean

Static isRootView

  • isRootView(node: Node): boolean
  • Parameters

    • node: Node

    Returns boolean

Static mount

  • Parameters

    Returns void

Generated using TypeDoc