ado5 3903c18ce2 first commit 9 месяцев назад
..
README.en-US.md 3903c18ce2 first commit 9 месяцев назад
README.md 3903c18ce2 first commit 9 месяцев назад
dropdown-item-props.d.ts 3903c18ce2 first commit 9 месяцев назад
dropdown-item-props.js 3903c18ce2 first commit 9 месяцев назад
dropdown-item.d.ts 3903c18ce2 first commit 9 месяцев назад
dropdown-item.js 3903c18ce2 first commit 9 месяцев назад
dropdown-item.json 3903c18ce2 first commit 9 месяцев назад
dropdown-item.wxml 3903c18ce2 first commit 9 месяцев назад
dropdown-item.wxss 3903c18ce2 first commit 9 месяцев назад
dropdown-menu.d.ts 3903c18ce2 first commit 9 месяцев назад
dropdown-menu.js 3903c18ce2 first commit 9 месяцев назад
dropdown-menu.json 3903c18ce2 first commit 9 месяцев назад
dropdown-menu.wxml 3903c18ce2 first commit 9 месяцев назад
dropdown-menu.wxss 3903c18ce2 first commit 9 месяцев назад
index.d.ts 3903c18ce2 first commit 9 месяцев назад
index.js 3903c18ce2 first commit 9 месяцев назад
props.d.ts 3903c18ce2 first commit 9 месяцев назад
props.js 3903c18ce2 first commit 9 месяцев назад
type.d.ts 3903c18ce2 first commit 9 месяцев назад
type.js 3903c18ce2 first commit 9 месяцев назад
util.wxs 3903c18ce2 first commit 9 месяцев назад

README.en-US.md

:: BASE_DOC ::

API

DropdownMenu Props

name | type | default | description | required -- | -- | -- | -- | -- active-color | String | - | - | N close-on-click-overlay | Boolean | true | - | N custom-style v0.25.0 | String | - | - | N duration | String / Number | 200 | - | N external-classes | Array | - | ['t-class', 't-class-menu', 't-class-menu-item', 't-class-menu-label', 't-class-menu-icon'] | N show-overlay | Boolean | true | - | N z-index | Number | 11600 | - | N

DropdownItem Props

name | type | default | description | required -- | -- | -- | -- | -- custom-style v0.25.0 | String | - | - | N disabled | Boolean | false | - | N external-classes | Array | - | ['t-class','t-class-content', 't-class-column', 't-class-column-item', 't-class-column-item-label', 't-class-tree', 't-class-tree-item', 't-class-tree-columns', 't-class-tree-columns-item', 't-class-tree-columns-item-label', 't-class-footer'] | N keys | Object | - | Typescript:KeysType | N label | String | - | - | N multiple | Boolean | false | - | N options | Array | [] | Typescript:Array<TdDropdownItemOption> interface TdDropdownItemOption { label: string;disabled: boolean;value: TdDropdownItemOptionValueType; [key: string]: any }see more ts definition | N options-columns | String / Number | 1 | - | N options-layout | String | columns | options:columns/tree | N value | String / Number / Array | undefined | Typescript:TdDropdownItemOptionValueType \| Array<TdDropdownItemOptionValueType> type TdDropdownItemOptionValueType = string \| number;see more ts definition | N default-value | String / Number / Array | undefined | uncontrolled property。Typescript:TdDropdownItemOptionValueType \| Array<TdDropdownItemOptionValueType> type TdDropdownItemOptionValueType = string \| number;see more ts definition | N

DropdownItem Events

name | params | description -- | -- | -- change | (value: TdDropdownItemOptionValueType \| Array<TdDropdownItemOptionValueType>) | - confirm | (value: TdDropdownItemOptionValueType \| Array<TdDropdownItemOptionValueType>) | -