carbon-components-svelte/types/Select/SelectItem.d.ts

33 lines
557 B
TypeScript

/// <reference types="svelte" />
export default class SelectItem {
$$prop_def: {
/**
* Specify the option value
* @default ""
*/
value?: string;
/**
* Specify the option text
* @default ""
*/
text?: string;
/**
* Set to `true` to hide the option
* @default false
*/
hidden?: boolean;
/**
* Set to `true` to disable the option
* @default false
*/
disabled?: boolean;
};
$$slot_def: {};
$on(eventname: string, cb: (event: Event) => void): () => void;
}