jobdone-shared-files 1.0.32 → 1.0.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -8
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -300,15 +300,15 @@ import OOXX from '../../node_modules/jobdone-shared-files/OOXX.vue';
|
|
|
300
300
|
```
|
|
301
301
|
### 基本參數
|
|
302
302
|
>
|
|
303
|
-
| # | 參數 Attribute | 型別 Type | 預設值 Default |
|
|
304
|
-
| --- | ----------------- | --------- | -------------- |
|
|
305
|
-
| 1
|
|
303
|
+
| # | 參數 Attribute | 型別 Type | 預設值 Default | 說明 Description |
|
|
304
|
+
| --- | ----------------- | --------- | -------------- | --------------- |
|
|
305
|
+
| 1 | `selected-data` | `String` `Number` `Object` | `none` | 當前選擇的值(類似平常`vModel`的用法) |
|
|
306
306
|
| 2 | `opts` | `Array` | `[]` | 選項列表,只接受`StringArray` `NumberArray` `ObjectArray`,且請陣列內容格式統一 |
|
|
307
|
-
| 3 | `opt-class` | `String` |
|
|
308
|
-
| 4 | `placeholder` | `String` | `'請選擇'` |
|
|
309
|
-
| 5 | `search-placeholder` | `String` | `''` |
|
|
310
|
-
| 6 | `trigger-class` | `String` | `''` |
|
|
311
|
-
| 7 | `list-put` | `String`| `'body'` |
|
|
307
|
+
| 3 | `opt-class` | `String` | `''`|選項列表客製化樣式 |
|
|
308
|
+
| 4 | `placeholder` | `String` | `'請選擇'` | 未選擇內容時的提示文字 |
|
|
309
|
+
| 5 | `search-placeholder` | `String` | `''` | 自定義搜尋框的提示文字。如未設定,有選擇內容時會將選擇的內容當成提示文字,而未選擇時則顯示placeholder(參數2)的值 |
|
|
310
|
+
| 6 | `trigger-class` | `String` | `''` | 預覽框與輸入框的樣式CLASS,可用於驗證提示 |
|
|
311
|
+
| 7 | `list-put` | `String`| `'body'` | 列表Dom放置位置 |
|
|
312
312
|
|
|
313
313
|
### 清除按鈕參數
|
|
314
314
|
| # | 參數 Attribute | 型別 Type | 預設值 Default | 選項 Option | 說明 Description |
|