Skip to content

Appending Other Parameters to the Query String

Rati Wannapanop edited this page Jul 30, 2016 · 2 revisions

If you have other information that you would like to pass to the server during the request of data, you can do so by putting them in the append-params property.

	<div id="app">
	    <vuetable
	        api-url="/api/users"
	        :fields="columns"
	        :append-params="moreParams"
	    ></vuetable>
    </div>

    <script>
		new Vue({
			el: '#app',
			data: {
				moreParams: [
					'persist=true',
					'only=Supervisor'
				]
			}
		})
    </script>