views
DruxtViewsSortsMixin
View source on GitHubDruxtViewsSortsMixin
Provides Vue.js properties for DruxtViewSorts slot themable components.
Kind: global mixin
Example
<script>
import { DruxtViewSortsMixin } from 'druxt-views'
export default {
mixins: [DruxtViewSortsMixin],
}
</script>
.props
Vue.js Properties.
Kind: static property of DruxtViewsSortsMixin
.options : object
The Exposed form options.
Kind: static property of props
.sorts : Array.<object>
The Exposed Sort objects.
Kind: static property of props
.type : string
The Exposed form type.
Kind: static property of props
.value : string
The DruxtViewSorts model value.
Kind: static property of props
.data()
Vue.js Data object.
Kind: static method of DruxtViewsSortsMixin
Properties
| Name | Type | Description |
|---|---|---|
| model | object | The DruxtViewSorts model. |