Handle event emitted from the component. Ex: @click={funcName}
secondary
Boolean
Default: false
tertiary
Boolean
Default: false
destructive
Boolean
Default: false
disabled
Boolean
Default: false
Example usage
<template><Button@click="apply">Apply</Button><Button@click="cancel"secondary>Cancel</Button></template><script>import{Button}from'figma-plugin-ds-vue'exportdefault{components:{Button},methods:{apply(){// do something},cancel(){// do something}}}</script>