You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

nativescript-vue-fab

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nativescript-vue-fab

A Nativescript Vue component for Floating Action Button

2.0.1
npm
Version published
Weekly downloads
26
-31.58%
Maintainers
1
Weekly downloads
 
Created
Source

nativescript-vue-fab

A Vue component that shows Material Design Fab button

Installation

npm i --save vue-clock-simple
import ButtonPlugin from '@nativescript-community/ui-material-button/vue';
import CardViewPlugin from 'nativescript-material-cardview/vue';
import FabPlugin from 'nativescript-vue-fab';
Vue.use(ButtonPlugin);
Vue.use(CardViewPlugin);
Vue.use(FabPlugin);

You also need to import the css style from your app style file. The reason is that this way you can easily override any css class.

@import '../node_modules/nativescript-vue-fab/style';

Usage

Once installed, it can be used in a template as simply as:

<Fab title="test" iconClass="mdi" :icon="'mdi-plus' | fonticon" :iconOn="'mdi-share-variant' | fonticon" @tap="onTap('main', $event)">
    <FabItem title="test6" iconClass="mdi" icon="e" color="red" @tap="onTap('test6', $event)" />
    <FabItem title="test5" iconClass="mdi" icon="d" color="red" @tap="onTap('test5', $event)" />
    <FabItem title="test4" iconClass="mdi" icon="c" color="red" @tap="onTap('test4', $event)" />
    <FabItem title="test3" iconClass="mdi" icon="b" color="red" @tap="onTap('test3', $event)" />
    <FabItem title="test" iconClass="mdi" icon="a" color="blue" @tap="onTap('test', $event)" />
</Fab>

Keywords

NativeScript

FAQs

Package last updated on 26 Oct 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts