@meleon/uni-ui
Version:
A uniapp components library written in vue3 and typescript
12 lines (11 loc) • 472 B
TypeScript
import type { InjectionKey } from 'vue';
export interface CheckboxGroupContext {
getCheckedList: () => Array<string | number>;
getDisabledList: () => Array<string | number>;
getMin: () => number;
getMax: () => number;
initTotalList: (value: string | number) => void;
updateCheckedList: (value: string | number) => void;
}
declare const checkboxGroupInjectionKey: InjectionKey<CheckboxGroupContext>;
export { checkboxGroupInjectionKey };