This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

@shapla/vue-cross

1.0.1 • Public • Published

Shapla Cross

A versatile delete cross for Vue 3

Table of contents

Installation

npm install --save @shapla/vue-cross

Usage

Styles

with Sass:

import '@shapla/vue-cross/src/index.scss';

with CSS:

import '@shapla/vue-cross/dist/style.css';

Javascript Instantiation

import ShaplaCross from '@shapla/vue-cross';

export default {
  name: 'Hello',

  components: {
    ShaplaCross
  },

  methods: {
    handleClick() {
      // Handle click event
    }
  }
}
<shapla-cross @click="handleClick"/>

Props

Property Type Required Default Description
size String no normal Value can be normal or small or medium or large.
ariaLabel String no close Value for html aria-label attribute
<shapla-cross size="large"/>

Package Sidebar

Install

npm i @shapla/vue-cross

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

12.7 kB

Total Files

14

Last publish

Collaborators

  • sayful