inviton-powerduck 0.0.227 → 0.0.228
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -83,8 +83,8 @@ interface SmartDropdownArgs extends FormItemWrapperArgs {
|
|
|
83
83
|
onItemClick?: (item: SmartDropdownItem) => boolean;
|
|
84
84
|
/** Delay in ms before showing the loading indicator. Default 650ms. */
|
|
85
85
|
loadingIndicatorDelay?: number;
|
|
86
|
-
/** Optional header
|
|
87
|
-
listHeader?: string;
|
|
86
|
+
/** Optional header shown at the top of the list to guide users. Can be a string or VNode. */
|
|
87
|
+
listHeader?: string | VNode;
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
@Component
|
|
@@ -126,7 +126,7 @@ export default class SmartDropdown extends TsxComponent<SmartDropdownArgs> imple
|
|
|
126
126
|
@Prop() readonly changed: (e: SmartDropdownItem[]) => void;
|
|
127
127
|
@Prop({ type: Function }) readonly onItemClick?: (item: SmartDropdownItem) => boolean;
|
|
128
128
|
@Prop({ type: Number, default: 650 }) readonly loadingIndicatorDelay!: number;
|
|
129
|
-
@Prop(
|
|
129
|
+
@Prop() readonly listHeader?: string | VNode;
|
|
130
130
|
|
|
131
131
|
// --- State ---
|
|
132
132
|
isOpen = false;
|