You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: demo/src/markdown/scroller.md
+23-14Lines changed: 23 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -104,12 +104,12 @@ Then, your `v-model` variable should contain a `value` from your list for an ini
104
104
105
105
| Vue Property | Type | Default | Description |
106
106
| --- | :---: | :---: | --- |
107
-
| border-color | String | #ccc | This is the color of outside border when `no-border` is not `true`. This **has** to be a css color (not a Quasar color) or css color name |
108
-
| bar-color | String | #ccc | This is the color of the middle bars. This **has** to be a css color (not a Quasar color) or css color name |
109
-
| color | String | white | This is the color of the text. Applies to header and footer. It can be a css color or from the Quasar color palette |
110
-
| background-color | String | primary | This is the color of the background. Applies to header and footer. It can be a css color or from the Quasar color palette |
111
-
| inner-color | String | primary | This is the color of the scroller text. It can be a css color or from the Quasar color palette |
112
-
| inner-background-color | String | white | This is the color of the scroller background. It can be a css color or from the Quasar color palette |
107
+
| border-color | String | #ccc | This is the color of outside border when `no-border`property is not `true`. This **has** to be a css color (not a Quasar color) or css color name (see note below)|
108
+
| bar-color | String | #ccc | This is the color of the middle bars. This **has** to be a css color (not a Quasar color) or css color name (see note below) |
109
+
| color | String | white | This is the color of the text. Applies to header and footer. It can be a css color `(#|((rgb|hsl)a)` or from the Quasar color palette |
110
+
| background-color | String | primary | This is the color of the background. Applies to header and footer. It can be a css color `(#|((rgb|hsl)a)` or from the Quasar color palette |
111
+
| inner-color | String | primary | This is the color of the scroller text. It can be a css color `(#|((rgb|hsl)a)` or from the Quasar color palette |
112
+
| inner-background-color | String | white | This is the color of the scroller background. It can be a css color `(#|((rgb|hsl)a)` or from the Quasar color palette |
113
113
| dense | Boolean || If the component should be in dense mode |
114
114
| disable | Boolean || If the component should be disabled |
115
115
| rounded-border | Boolean || If the component should have rounded corners |
@@ -132,17 +132,26 @@ Then, your `v-model` variable should contain a `value` from your list for an ini
132
132
133
133
| Property | Type | Default | Description |
134
134
| :--- | :---: | :---: | --- |
135
+
| input ||||
136
+
| close ||| Occurs when the footer button is clicked, usually used to close the component (in dev land) when used in a `QPopupProxy`|
135
137
136
138
### QScroller Vue Methods
137
139
138
-
| Property | Type | Default | Description |
139
-
| :--- | :---: | :---: | --- |
140
-
140
+
| Property | Arg | Description |
141
+
| :--- | :---: | --- |
142
+
| canMovePrevious ||Returns true if can move to the previous item, otherwise returns false |
143
+
| canMoveNext ||Returns true if can move to the next item, otherwise returns false |
144
+
| previous ||Move to the previous item |
145
+
| next ||Move to the next item |
146
+
| getItemIndex | value |Returns the index of the passed value, otherwise returns -1 on error or not found|
147
+
| getCurrentIndex | | Returns the index of the current selection, otherwise returns -1 on error or not found
141
148
142
149
### QScroller Vue Slots
143
150
144
-
| Property |Type | Default| Description |
151
+
| Property |Arg| Description |
145
152
| :--- | :---: | :---: | --- |
153
+
| header | value | Header scoped slot |
154
+
| footer | value | Footer scoped slot |
146
155
147
156
## QTimeScroller Vue Properties
148
157
@@ -161,10 +170,10 @@ Then, your `v-model` variable should contain a `value` from your list for an ini
161
170
| disabled-minutes | Array |[]| Minutes that should be disabled (always use 0 through to 59) |
162
171
| no-hours | Boolean || Do not show the Hours scroller |
163
172
| no-minutes | Boolean || Do not show the Minutes scroller |
164
-
| hours | Array || Array of hours to be displayed |
165
-
| minutes | Array || Array of minutes to be displayed |
166
-
| min-time | String | '00:00' | Any time before this time will be disabled |
167
-
| max-time | String | '24:00' | Any time after this time will be disabled |
173
+
| hours | Array ||(TBD) Array of hours to be displayed |
174
+
| minutes | Array ||(TBD) Array of minutes to be displayed |
175
+
| min-time | String | '00:00' |(TBD) Any time before this time will be disabled |
176
+
| max-time | String | '24:00' |(TBD) Any time after this time will be disabled |
0 commit comments