@kongponents/kcheckbox

7.2.2 • Public • Published

@kongponents/kcheckbox

<template>
  <KCheckbox
    v-model="checked"
    @change="handleToggle" />
</template>
<script>
export default {
  data() {
    return {
      checked: false
    }
  },
  methods: {
    handleToggle(isChecked) {
      // do something, make api call?
    }
  }
}
</script>

/@kongponents/kcheckbox/

    Package Sidebar

    Install

    npm i @kongponents/kcheckbox

    Weekly Downloads

    287

    Version

    7.2.2

    License

    Apache-2.0

    Unpacked Size

    207 kB

    Total Files

    11

    Last publish

    Collaborators

    • konginc
    • darrenjennings
    • travispamaral
    • nijikokun