UNPKG

tdesign-mobile-vue

Version:
53 lines (52 loc) 1.76 kB
import { VNode, Ref, Slots } from 'vue'; import { CheckboxOptionObj } from '../type'; export declare const getOptionListBySlots: (nodes: VNode[]) => CheckboxOptionObj[]; export declare const getOptions: (props: any, slots: Slots) => Ref<{ block?: boolean; borderless?: boolean; checkAll?: boolean; checked?: boolean; defaultChecked?: boolean; modelValue?: boolean; content?: string | import("@/common").TNode; contentDisabled?: boolean; default?: string | import("@/common").TNode; disabled?: boolean; icon?: 'circle' | 'line' | 'rectangle' | boolean | Array<import("@/common").TNode | String>; indeterminate?: boolean; label?: string | import("@/common").TNode; maxContentRow?: number; maxLabelRow?: number; name?: string; placement?: 'left' | 'right'; readonly?: boolean; value?: string | number | boolean; onChange?: (checked: boolean, context: { e: Event; }) => void; text?: string; }[], CheckboxOptionObj[] | { block?: boolean; borderless?: boolean; checkAll?: boolean; checked?: boolean; defaultChecked?: boolean; modelValue?: boolean; content?: string | import("@/common").TNode; contentDisabled?: boolean; default?: string | import("@/common").TNode; disabled?: boolean; icon?: 'circle' | 'line' | 'rectangle' | boolean | Array<import("@/common").TNode | String>; indeterminate?: boolean; label?: string | import("@/common").TNode; maxContentRow?: number; maxLabelRow?: number; name?: string; placement?: 'left' | 'right'; readonly?: boolean; value?: string | number | boolean; onChange?: (checked: boolean, context: { e: Event; }) => void; text?: string; }[]>;