Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Implements

Index

Constructors

constructor

Properties

app

app: App

data

data: any

defaultControlStyle

defaultControlStyle: any

disposables

disposables: AtomDisposableList

element

element: IAtomElement

localViewModel

localViewModel: any

Protected pendingInits

pendingInits: Array<function>

viewModel

viewModel: any

Static isControl

isControl: true = true

Accessors

controlStyle

parent

theme

vsProps

  • get vsProps(): object | object | __type

Methods

append

atomParent

beginEdit

bind

bindEvent

  • bindEvent(element: IAtomElement, name?: string, method?: EventListenerOrEventListenerObject, key?: string): IDisposable

Protected create

  • create(): void

dispose

hasProperty

  • hasProperty(name: string): boolean
  • Control checks if property is declared on the control or not. Since TypeScript no longer creates enumerable properties, we have to inspect name and PropertyMap which is generated by @BindableProperty or the value is not set to undefined.

    Parameters

    • name: string

      name of Property

    Returns boolean

invalidate

  • invalidate(): void

invokeEvent

  • invokeEvent(event: object): void

loadXaml

  • loadXaml(text: string): void

onPropertyChanged

  • onPropertyChanged(name: string): void

onUpdateUI

  • onUpdateUI(): void

Protected preCreate

  • preCreate(): void

registerDisposable

Protected render

  • render(node: XNode, e?: any, creator?: any): void

Protected resolve

  • resolve<TService>(c: TService, selfName?: string | function): IAnyInstanceType<TService>

runAfterInit

  • runAfterInit(f: function): void

Protected setElementValue

  • setElementValue(element: any, name: string, value: any): void

setLocalValue

  • setLocalValue(element: IAtomElement, name: string, value: any): void

setPrimitiveValue

  • setPrimitiveValue(element: IAtomElement, name: string, value: any): void

staticResource

  • staticResource(name: string): any

unbind

unbindEvent

  • unbindEvent(element: IAtomElement, name?: string, method?: EventListenerOrEventListenerObject, key?: string): void

Generated using TypeDoc