This commit is contained in:
@@ -18,9 +18,25 @@ TODO:
|
||||
Need minimal possible code in containing form
|
||||
Should pass to this component all it needs to work independently for the most part
|
||||
|
||||
What is required to be sent to server:
|
||||
- example full request http://localhost:7575/api/v8/Widget/ListWidgets?Offset=1&Limit=12&DataFilterId=122&vp=xs
|
||||
- api list url
|
||||
- "Widget/ListWidgets"
|
||||
- Offset
|
||||
- Limit
|
||||
- DatafilterId
|
||||
- Viewport if XS otherwise nothing
|
||||
|
||||
|
||||
What it needs from it's parent form:
|
||||
- api list url
|
||||
-
|
||||
|
||||
What will be delivered by the server:
|
||||
- A
|
||||
|
||||
|
||||
|
||||
TO DETERMINE IF VIEWPORT IS XS:
|
||||
this.$vuetify.breakpoint.xs
|
||||
*/
|
||||
export default {
|
||||
created() {
|
||||
@@ -37,6 +53,7 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
isXS() {
|
||||
//https://vuetifyjs.com/en/customization/breakpoints#breakpoint-service-object
|
||||
return this.$vuetify.breakpoint.xs;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user