From a6cdfac17176cc9a18b9c4d60765d871ef3491ae Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Fri, 10 Jan 2020 21:32:35 +0000 Subject: [PATCH] --- ayanova/src/components/gz-data-table.vue | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/ayanova/src/components/gz-data-table.vue b/ayanova/src/components/gz-data-table.vue index 2b6076bc..865f43f8 100644 --- a/ayanova/src/components/gz-data-table.vue +++ b/ayanova/src/components/gz-data-table.vue @@ -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; } }