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: (path: string, value: any) => () => void

Type declaration

    • (path: string, value: any): () => void
    • Parameters

      • path: string
      • value: any

      Returns () => void

        • (): 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: (event: any) => any

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: (path: string, toDelete: number[]) => () => void

Type declaration

    • (path: string, toDelete: number[]): () => void
    • Parameters

      • path: string
      • toDelete: number[]

      Returns () => void

        • (): 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

isEnabled

  • isEnabled(): boolean

mapAdditionalProps

  • mapAdditionalProps(props: ArrayControlProps): void

Protected mapToProps

  • mapToProps(state: JsonFormsState): StatePropsOfArrayControl

ngOnDestroy

  • ngOnDestroy(): void

ngOnInit

  • ngOnInit(): void

onAddClick

  • onAddClick(): void

onChange

  • onChange(ev: any): void

onDeleteClick

  • onDeleteClick(item: number): void

onListItemHover

  • onListItemHover(idx: number): void

onSelect

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

shouldShowUnfocusedDescription

  • shouldShowUnfocusedDescription(): boolean

trackElement

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

Protected triggerValidation

  • triggerValidation(): void

Generated using TypeDoc