Neurotic and Probably Misinformed

    @kongponents/komponent

    7.2.0 • Public • Published

    @kongponents/komponent

    Expose reactive state to components.

    <Komponent :data="{ count: 0 }" v-slot="{ data }">
      <div>
        <KButton @click="data.count = data.count - 1">-</KButton>
        {{ data.count }}
        <KButton @click="data.count = data.count + 1">+</KButton>
      </div>
    </Komponent>

    Keywords

    none

    Install

    npm i @kongponents/komponent

    DownloadsWeekly Downloads

    1,349

    Version

    7.2.0

    License

    Apache-2.0

    Unpacked Size

    63.1 kB

    Total Files

    11

    Last publish

    Collaborators

    • konginc
    • darrenjennings
    • travispamaral
    • nijikokun