Have ideas to improve npm?Join in the discussion! »

    @kongponents/ktoaster

    1.1.12 • Public • Published

    @kongponents/ktoaster

    new Vue({
      data(){
        return {
          isVisible: false,
        }
      },
      methods: {
        showToaster() {
          this.isVisible = true;
        },
        closeToaster() {
          this.isVisible = false;
        }
      },
      template: `
        <div>
          <KButton appearance='primary' :isRounded='true' :handleClick="showToaster">Open Toaster</KButton>
          <KToaster :isVisible="isVisible" appearance='success' message="Hello! 👋🏼" @close="closeToaster" />
        </div>
      `
    })

    Keywords

    none

    Install

    npm i @kongponents/ktoaster

    DownloadsWeekly Downloads

    2,069

    Version

    1.1.12

    License

    Apache-2.0

    Unpacked Size

    612 kB

    Total Files

    14

    Last publish

    Collaborators

    • avatar
    • avatar
    • avatar
    • avatar