Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MasterListComponent

Hierarchy

  • JsonFormsArrayControl
    • MasterListComponent

Implements

  • OnInit
  • OnDestroy
  • OnInit
  • OnDestroy

Index

Constructors

constructor

  • new MasterListComponent(jsonformsService: JsonFormsAngularService, changeDetectorRef: ChangeDetectorRef): MasterListComponent

Properties

addItem

addItem: function

Type declaration

    • (path: string, value: any): function
    • Parameters

      • path: string
      • value: any

      Returns function

        • (): void
        • Returns void

Private changeDetectorRef

changeDetectorRef: ChangeDetectorRef

data

data: any

description

description: string

disabled

disabled: boolean

enabled

enabled: boolean

error

error: string | null

form

form: FormControl

getEventValue

getEventValue: function

Type declaration

    • (event: any): any
    • Parameters

      • event: any

      Returns any

hidden

hidden: boolean

highlightedIdx

highlightedIdx: number

id

id: string

Protected jsonFormsService

jsonFormsService: JsonFormsAngularService

label

label: string

masterItems

masterItems: any[]

path

path: string

propsPath

propsPath: string

removeItems

removeItems: function

Type declaration

    • (path: string, toDelete: number[]): function
    • Parameters

      • path: string
      • toDelete: number[]

      Returns function

        • (): void
        • Returns void

rootSchema

rootSchema: JsonSchema

schema

schema: JsonSchema

scopedSchema

scopedSchema: JsonSchema

selectedItem

selectedItem: any

selectedItemIdx

selectedItemIdx: number

subscription

subscription: Subscription

uischema

uischema: ControlElement

validator

validator: ValidatorFn

visible

visible: boolean

Methods

Protected getOwnProps

  • getOwnProps(): OwnPropsOfControl
  • Returns OwnPropsOfControl

isEnabled

  • isEnabled(): boolean
  • Returns boolean

mapAdditionalProps

  • mapAdditionalProps(props: ArrayControlProps): void

Protected mapToProps

  • mapToProps(state: JsonFormsState): StatePropsOfArrayControl

ngOnDestroy

  • ngOnDestroy(): void
  • Returns void

ngOnInit

  • ngOnInit(): void

onAddClick

  • onAddClick(): void

onChange

  • onChange(ev: any): void
  • Parameters

    • ev: any

    Returns void

onDeleteClick

  • onDeleteClick(item: number): void

onListItemHover

  • onListItemHover(idx: number): void

onSelect

  • onSelect(item: any, idx: number): void

shouldShowUnfocusedDescription

  • shouldShowUnfocusedDescription(): boolean
  • Returns boolean

trackElement

  • trackElement(_index: number, element: any): any

Protected triggerValidation

  • triggerValidation(): void
  • Returns void

Generated using TypeDoc