@kongponents/ktoggle

7.2.2 • Public • Published

@kongponents/ktoggle

Provide toggle functionality to components.

<KToggle>
  <template v-slot:default="{isToggled, toggle}">
    <KButton @click="toggle">
      {{ isToggled ? 'toggled' : 'not toggled' }}
    </KButton>
  </template>
</KToggle>

Readme

Keywords

none

Package Sidebar

Install

npm i @kongponents/ktoggle

Weekly Downloads

59

Version

7.2.2

License

Apache-2.0

Unpacked Size

67.3 kB

Total Files

11

Last publish

Collaborators

  • konginc
  • darrenjennings
  • travispamaral
  • nijikokun