@gits-id/toast
TypeScript icon, indicating that this package has built-in type declarations

1.0.0-beta.3 • Public • Published

GITS Toast

Vue Toast Component.

Installation

npm

npm i @gits-id/toast

yarn

yarn add @gits-id/toast

pnpm

pnpm i @gits-id/toast

Usage

<script setup lang="ts">
import {ref} from 'vue';
import VToast from '@gits-id/toast';
import '@gits-id/toast/dist/style.css';

const isOpen = ref(true)
</script>

<template>
  <button @click="isOpen = !isOpen">
    {{ isOpen ? 'Close' : 'Open' }} Toast
  </button>
  <VToast v-model="isOpen">
    Toast message
  </VToast>
</template>

Documentation

View full documentation here.

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i @gits-id/toast

Weekly Downloads

4

Version

1.0.0-beta.3

License

MIT

Unpacked Size

64.2 kB

Total Files

24

Last publish

Collaborators

  • gravitano