naive-ui/demo/documentation/components/drawer/enUS/basic.md
2019-10-22 13:19:12 +08:00

207 B

Basic

<n-button @click="active = !active">
  active
</n-button>
<n-drawer v-model="active">
  777
</n-drawer>
export default {
  data () {
    return {
      active: false
    }
  }
}