vue3-ios-datepicker 0.0.6 → 0.0.8
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
CHANGED
|
@@ -49,20 +49,21 @@ const value = ref<Date>(new Date());
|
|
|
49
49
|
|
|
50
50
|
## Props and attributes
|
|
51
51
|
|
|
52
|
-
| ID | Type
|
|
53
|
-
| -------------- |
|
|
54
|
-
| `placeholder` | `String`
|
|
55
|
-
| `id` | `String`
|
|
56
|
-
| `name` | `String`
|
|
57
|
-
| `format` | `String`
|
|
58
|
-
| `iconClose` | `String`
|
|
59
|
-
| `class` | `String`
|
|
60
|
-
| `inputClass` | `String`
|
|
61
|
-
| `title` | `String`
|
|
62
|
-
| `defaultValue` | `Date`
|
|
63
|
-
| `confirmLabel` | `String`
|
|
64
|
-
| `icon` | `String`
|
|
65
|
-
| `
|
|
52
|
+
| ID | Type | Default | Description |
|
|
53
|
+
| -------------- | ----------------------------------- | -------------- | ----------------------------------------------------------------------------------------------------- |
|
|
54
|
+
| `placeholder` | `String` | `Select date` | Placeholder of native input |
|
|
55
|
+
| `id` | `String` | | Id of native input |
|
|
56
|
+
| `name` | `String` | | Name of native input |
|
|
57
|
+
| `format` | `String` | `YYYY-MM-DD` | Format of the displayed value in the input box |
|
|
58
|
+
| `iconClose` | `String` | | Custom close icon in bottom sheet of calendar |
|
|
59
|
+
| `class` | `String` | | Custom class container |
|
|
60
|
+
| `inputClass` | `String` | | Custom class native input |
|
|
61
|
+
| `title` | `String` | `Select Date` | Custom title in bottom sheet of calendar |
|
|
62
|
+
| `defaultValue` | `Date` | | Optional, default date of the calendar |
|
|
63
|
+
| `confirmLabel` | `String` | `OK` | Text of confirm button in bottom sheet of calendar |
|
|
64
|
+
| `icon` | `String` | `CalendarIcon` | Custom calendar icon |
|
|
65
|
+
| `disabledDate` | `Function: (data: Date) => boolean` | | a function determining if a date is disabled with that date as its parameter. Should return a Boolean |
|
|
66
|
+
| `options` | `Object` | | See in below |
|
|
66
67
|
|
|
67
68
|
## Options
|
|
68
69
|
|
|
@@ -11,6 +11,7 @@ type __VLS_Props = {
|
|
|
11
11
|
defaultValue?: Date;
|
|
12
12
|
confirmLabel: string;
|
|
13
13
|
options?: IOptions;
|
|
14
|
+
disabledDate?: (date: Date) => boolean;
|
|
14
15
|
};
|
|
15
16
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
16
17
|
"update:modelValue": (value: string) => any;
|
|
@@ -13,6 +13,7 @@ type __VLS_Props = {
|
|
|
13
13
|
confirmLabel?: string;
|
|
14
14
|
options?: IOptions;
|
|
15
15
|
icon?: string;
|
|
16
|
+
disabledDate?: (date: Date) => boolean;
|
|
16
17
|
};
|
|
17
18
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
18
19
|
"update:modelValue": (value: Date) => any;
|