@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>

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @kongponents/kcheckbox

    Weekly Downloads

    25

    Version

    7.2.2

    License

    Apache-2.0

    Unpacked Size

    207 kB

    Total Files

    11

    Last publish

    Collaborators

    • konginc
    • darrenjennings
    • travispamaral
    • nijikokun