Skip to main content
A newer version of this page is available.
All docs
V19.1

CardLayoutPropertyTypeSelectorModel Class

Declaration

} class CardLayoutPropertyTypeSelectorModel

Properties

clickHandler Property

Declaration

clickHandler: (e: any) => void

Property Value

Type
(e: any) => void

items Property

Declaration

items: ko.ObservableArray

Property Value

Type
ObservableArray

popupVisible Property

Declaration

popupVisible: ko.Observable<boolean>

Property Value

Type
Observable<boolean>

selectedItem Property

Declaration

selectedItem: ko.Observable<string>

Property Value

Type
Observable<string>

target Property

Declaration

target: ko.Observable<HTMLElement>

Property Value

Type
Observable<HTMLElement>

Methods

init(items, selected, target, clickHandler) Method

Declaration

init(
    items: any[],
    selected: ko.Computed<string>,
    target: HTMLElement,
    clickHandler: (e: any) => void
): void

Parameters

Name Type
items any[]
selected Computed<string>
target HTMLElement
clickHandler (e: any) => void