Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AbstractValueEditor

Convenience class, which registers required events and base methods for value-editors (not object, array)

Hierarchy

Implements

Index

Constructors

constructor

  • options

    • editorValueType:String - custom type of editor value (added as classname)
    • editorElementProperties:Object - add custom properties to main DOM-element
    • viewModel:Object - viewModel which extends base viewmodel

    Parameters

    • pointer: string

      json pointer to value

    • editron: default

      json editor editron

    • options: any

    Returns AbstractValueEditor

Properties

dom

dom: HTMLElement

editron

editron: default

notifyNestedChanges

notifyNestedChanges: boolean = false

options

options: any

pointer

pointer: string

viewModel

Methods

blur

  • blur(): void

destroy

  • destroy(): void

focus

  • focus(): void

getElement

  • getElement(): HTMLElement

getPointer

  • getPointer(): string

getValue

  • getValue(): any

render

  • render(): void

setValue

  • setValue(value: any): void

update

Static editorOf

  • editorOf(pointer: string, editron: default): boolean

Generated using TypeDoc