This commit is contained in:
2020-01-10 21:32:35 +00:00
parent b8202eae0c
commit a6cdfac171

View File

@@ -18,9 +18,25 @@ TODO:
Need minimal possible code in containing form Need minimal possible code in containing form
Should pass to this component all it needs to work independently for the most part 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 { export default {
created() { created() {
@@ -37,6 +53,7 @@ export default {
}, },
methods: { methods: {
isXS() { isXS() {
//https://vuetifyjs.com/en/customization/breakpoints#breakpoint-service-object
return this.$vuetify.breakpoint.xs; return this.$vuetify.breakpoint.xs;
} }
} }