vue-navigator-share

A Vue component to use native sharing mechanism of the device as part of the Web Share API.

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
vue-navigator-share
2121.0.34 years ago4 years agoMinified + gzip package size for vue-navigator-share in KB

Readme

vue-navigator-share
A Vue component to use native sharing mechanism of the device as part of the Web Share API. Support only https and mobile browser Demo

Instalation

```sh $ npm install --save vue-navigator-share ```

Properties

| prop | type | description | required | | ------ | ------ | ------ | ------ | | on-error | Function | callback on error | false | | on-success | Function | callback on success | false | | url | String | url to share | true | | title | String | title to share | false | | text | String | text to share | false |

Usage

```HTML ``` ```javascript ```

Example

```HTML ``` ```javascript ```