Protected
_nativeGets/sets title of the SelectablePicker. This property only works with show method. Must set before show method.
= Picker]
4.0.5
Gets/sets titleColor of the SelectablePicker. This property only works with show method. Must set before show method.
= Color.BLACK]
4.0.5
Gets/sets titleFont of the SelectablePicker. This property only works with show method. Must set before show method.
4.0.5
Gets/sets multiSelectEnabled of the SelectablePicker. You must set this property in constructor and can not change this property on run-time. Otherwise SelectablePicker may not work properly. This property only works with show method. Must set before show method.
= false]
4.0.5
Gets/sets cancelable of the SelectablePicker. If click outside of dialog, it will be canceled. This property only works with show method. Must set before show method.
= true]
4.0.5
Gets/sets checkedItems of the SelectablePicker. If multiSelectEnabled is false, checkedItems must be a spesific index of the items array or array of index. This property only works with show method. Must set before show method.
= -1]
4.0.5
Gets/sets backgroundColor of the SelectablePicker. This property only works with show method. Must set before show method.
= Color.WHITE]
4.0.5
Gets/sets cancelButtonColor of the SelectablePicker. This property only works with show method. Must set before show method.
4.0.5
Gets/sets cancelButtonFont of the SelectablePicker. This property only works with show method. Must set before show method.
4.0.5
Gets/sets cancelButtonText of the SelectablePicker. This property only works with show method. Must set before show method.
= Cancel]
4.0.5
Gets/sets doneButtonColor of the SelectablePicker. This property only works with show method. Must set before show method.
4.0.5
Gets/sets doneButtonText of the SelectablePicker. This property only works with show method. Must set before show method.
= Ok]
4.0.5
Gets/sets doneButtonFont of the SelectablePicker. This property only works with show method. Must set before show method.
4.0.5
Protected
Abstract
createProtected
preProtected
addProtected
addIOSPropsThis function shows SelectablePicker in a dialog.
show
4.0.5
This event is called when user clicks done button.
This event is called when user clicks cancel button.
Optional
index: numberOptional
selected: booleanRest
...args: any[]Rest
...args: any[]Optional
index: numberOptional
selected: booleanRest
...args: any[]Rest
...args: any[]Optional
index: numberOptional
selected: booleanRest
...args: any[]Rest
...args: any[]Optional
index: numberOptional
selected: booleanRest
...args: any[]Rest
...args: any[]Optional
index: numberOptional
selected: booleanRest
...args: any[]Rest
...args: any[]Optional
index: numberOptional
selected: booleanRest
...args: any[]Rest
...args: any[]This event is called when an item is selected/unselected on the SelectablePicker. If multiSelectEnabled is false, selected will be always true.
4.0.5
import SelectablePicker from '@smartface/native/ui/selectablepicker';
const selectablePicker = new SelectablePicker();
selectablePicker.on(SelectablePicker.Events.Selected, (params) => {
console.info('onSelected', params);
});
Optional
index: numberOptional
selected: booleanonSelected
Generated using TypeDoc
Gets/sets items of the SelectablePicker.
Property
Android
Since
4.0.5