You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
875 B
34 lines
875 B
<potato-apps-form-button>
|
|
<button class="button button--icon m-bottom-0" onclick={ (event) => { handleClick(event) } }>
|
|
<svg class="icon icon--big" aria-hidden="true">
|
|
<use xlink:href="symbol-defs.svg#icon-add"></use>
|
|
</svg>
|
|
</button>
|
|
|
|
<script>
|
|
|
|
// store for sidebar
|
|
import formStore from './../stores/form.js'
|
|
|
|
/**
|
|
* open sidebar form
|
|
*
|
|
* @author Björn Hase
|
|
* @license hhttps://www.gnu.org/licenses/gpl-3.0.en.html GPL-3
|
|
* @link https://gitea.node001.net/HerrHase/potato-launcher.git
|
|
*
|
|
*/
|
|
|
|
export default {
|
|
|
|
/**
|
|
* trigger event to open form
|
|
*
|
|
*/
|
|
handleClick() {
|
|
formStore.trigger('open')
|
|
}
|
|
}
|
|
|
|
</script>
|
|
</potato-apps-form-button> |