@dynapp/wc-agenda
v3.0.0
Published
Agenda component
Downloads
17
Readme
Agenda
Project setup
yarn install
Compiles and hot-reloads for development
yarn run serve
Compiles and minifies for production
yarn run build
Lints and fixes files
yarn run lint
API
Props
Vuex actions are expected to return a promise.
- getterName -
String
- Vuex getter for items. Default:'agenda/items'
- fetchAction -
String
- Vuex action for fetching items. Default:'agenda/fetchItems'
- createAction -
String
- Vuex action for create. Passes item. Default:'agenda/createItem'
- updateAction -
String
- Vuex action for update. Passes item. Default:'agenda/updateItem'
- deleteAction -
String
- Vuex action for delete. Passes item id. Default:'agenda/deleteItem'
- addButton -
Boolean
- Whether to show add button or not. Default:true
- deleteDialog -
Boolean
- Whether to show add button or not. Default:true
- disabled -
Boolean
- Whether input is disabled. Default:false
- subtype -
String
- Subtype for agenda. Filters the list and gets applied to items. Can be used to maintain multiple agendas in one app. Default:''
Slots
TODO