project init & fix ui
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
:: BASE_DOC ::
|
||||
|
||||
## API
|
||||
### DropdownMenu Props
|
||||
|
||||
name | type | default | description | required
|
||||
-- | -- | -- | -- | --
|
||||
close-on-click-overlay | Boolean | true | \- | N
|
||||
custom-style | String | - | `0.25.0` | N
|
||||
duration | String / Number | 200 | \- | N
|
||||
external-classes | Array | - | `['t-class', 't-class-item', 't-class-label', 't-class-icon']` | N
|
||||
show-overlay | Boolean | true | \- | N
|
||||
z-index | Number | 11600 | \- | N
|
||||
|
||||
### DropdownItem Props
|
||||
|
||||
name | type | default | description | required
|
||||
-- | -- | -- | -- | --
|
||||
custom-style | String | - | `0.25.0` | 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-footer']` | N
|
||||
keys | Object | - | Typescript:`KeysType` | N
|
||||
label | String | - | \- | N
|
||||
multiple | Boolean | false | \- | N
|
||||
options | Array | [] | Typescript:`Array<DropdownOption>` `interface DropdownOption { label: string; disabled: boolean; value: DropdownValue; }`。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/dropdown-menu/type.ts) | N
|
||||
options-columns | String / Number | 1 | \- | N
|
||||
options-layout | String | columns | `deprecated` | N
|
||||
value | String / Number / Array | undefined | Typescript:`DropdownValue ` `type DropdownValue = string \| number \| Array<DropdownValue>;`。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/dropdown-menu/type.ts) | N
|
||||
default-value | String / Number / Array | undefined | uncontrolled property。Typescript:`DropdownValue ` `type DropdownValue = string \| number \| Array<DropdownValue>;`。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/dropdown-menu/type.ts) | N
|
||||
|
||||
### DropdownItem Events
|
||||
|
||||
name | params | description
|
||||
-- | -- | --
|
||||
change | `(value: DropdownValue)` | \-
|
||||
confirm | `(value: DropdownValue)` | \-
|
||||
Reference in New Issue
Block a user