@meleon/uni-ui
Version:
A uniapp components library written in vue3 and typescript
12 lines (11 loc) • 499 B
TypeScript
import type { InjectionKey } from 'vue';
import type { OptionProps } from '../ml-option';
export interface MlSelectGroupContext {
getSelectedList: () => OptionProps[];
getHiddenList: () => Array<OptionProps['value']>;
getTriggerRect: () => Record<string, number>;
addOption: (option: OptionProps) => void;
selectOption: (option: OptionProps) => void;
}
declare const MlSelectGroupInjectionKey: InjectionKey<MlSelectGroupContext>;
export { MlSelectGroupInjectionKey };