Skip to content

Commit f7e45b9

Browse files
committed
Merge branch 'dev'
2 parents 8836ec3 + 8cd5db2 commit f7e45b9

File tree

13 files changed

+75
-31
lines changed

13 files changed

+75
-31
lines changed

demo/src/markdown/scroller.md

Lines changed: 23 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -104,12 +104,12 @@ Then, your `v-model` variable should contain a `value` from your list for an ini
104104

105105
| Vue Property | Type | Default | Description |
106106
| --- | :---: | :---: | --- |
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 |
113113
| dense | Boolean | | If the component should be in dense mode |
114114
| disable | Boolean | | If the component should be disabled |
115115
| 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
132132

133133
| Property | Type | Default | Description |
134134
| :--- | :---: | :---: | --- |
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` |
135137

136138
### QScroller Vue Methods
137139

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
141148

142149
### QScroller Vue Slots
143150

144-
| Property | Type | Default | Description |
151+
| Property | Arg | Description |
145152
| :--- | :---: | :---: | --- |
153+
| header | value | Header scoped slot |
154+
| footer | value | Footer scoped slot |
146155

147156
## QTimeScroller Vue Properties
148157

@@ -161,10 +170,10 @@ Then, your `v-model` variable should contain a `value` from your list for an ini
161170
| disabled-minutes | Array | [ ] | Minutes that should be disabled (always use 0 through to 59) |
162171
| no-hours | Boolean | | Do not show the Hours scroller |
163172
| 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 |
168177

169178
## QTimeRangeScroller Vue Properties
170179

demo/src/pages/Index.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,8 @@ a {
125125
.page-header {
126126
color: #fff;
127127
text-align: center;
128-
background-color: #592496;
129-
background-image: linear-gradient(120deg, #d88e04, #592496); }
128+
background-color: #ffffaa;
129+
background-image: linear-gradient(120deg, #1780f7, #4df3ff); }
130130
131131
@media screen and (min-width: 64em) {
132132
.page-header {

docs/css/011ca09e.86ce1ae7.css

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/css/011ca09e.92605a6a.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<!DOCTYPE html><html><head><title>QScroller demo app</title><meta charset=utf-8><meta name=description content="A Quasar Framework app"><meta name=format-detection content="telephone=no"><meta name=msapplication-tap-highlight content=no><meta name=viewport content="user-scalable=no,initial-scale=1,maximum-scale=1,minimum-scale=1,width=device-width"><link rel=icon href=statics/quasar-logo.png type=image/x-icon><link rel=icon type=image/png sizes=32x32 href=statics/icons/favicon-32x32.png><link rel=icon type=image/png sizes=16x16 href=statics/icons/favicon-16x16.png><link href=css/011ca09e.86ce1ae7.css rel=prefetch><link href=js/011ca09e.2225e835.js rel=prefetch><link href=js/2d0b37e1.fd6d8c36.js rel=prefetch><link href=js/2d0d5fdf.8f562e6c.js rel=prefetch><link href=js/2d0d6bbf.568c6ac1.js rel=prefetch><link href=js/2d0d8028.d40fadf5.js rel=prefetch><link href=js/4b47640d.d1278a00.js rel=prefetch><link href=css/app.866cf617.css rel=preload as=style><link href=js/app.771e7e22.js rel=preload as=script><link href=js/runtime.86674c39.js rel=preload as=script><link href=js/vendor.61d9d784.js rel=preload as=script><link href=css/app.866cf617.css rel=stylesheet></head><body><div id=q-app></div><script type=text/javascript src=js/app.771e7e22.js></script><script type=text/javascript src=js/runtime.86674c39.js></script><script type=text/javascript src=js/vendor.61d9d784.js></script></body></html>
1+
<!DOCTYPE html><html><head><title>QScroller demo app</title><meta charset=utf-8><meta name=description content="A Quasar Framework app"><meta name=format-detection content="telephone=no"><meta name=msapplication-tap-highlight content=no><meta name=viewport content="user-scalable=no,initial-scale=1,maximum-scale=1,minimum-scale=1,width=device-width"><link rel=icon href=statics/quasar-logo.png type=image/x-icon><link rel=icon type=image/png sizes=32x32 href=statics/icons/favicon-32x32.png><link rel=icon type=image/png sizes=16x16 href=statics/icons/favicon-16x16.png><link href=css/011ca09e.92605a6a.css rel=prefetch><link href=js/011ca09e.191e0b1a.js rel=prefetch><link href=js/2d0b37e1.fd6d8c36.js rel=prefetch><link href=js/2d0d5fdf.8f562e6c.js rel=prefetch><link href=js/2d0d6bbf.568c6ac1.js rel=prefetch><link href=js/2d0d8028.d40fadf5.js rel=prefetch><link href=js/4b47640d.d1278a00.js rel=prefetch><link href=css/app.866cf617.css rel=preload as=style><link href=js/app.771e7e22.js rel=preload as=script><link href=js/runtime.af8c40ed.js rel=preload as=script><link href=js/vendor.cfba3506.js rel=preload as=script><link href=css/app.866cf617.css rel=stylesheet></head><body><div id=q-app></div><script type=text/javascript src=js/app.771e7e22.js></script><script type=text/javascript src=js/runtime.af8c40ed.js></script><script type=text/javascript src=js/vendor.cfba3506.js></script></body></html>

docs/js/011ca09e.191e0b1a.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)