Skip to content

Android Floating Action Button module for NativeScript

Notifications You must be signed in to change notification settings

tonyooi/nativescript-fab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

nativescript-fab

Android Floating Action Button module for NativeScript

Usage

  • use image resource
<FAB:fab rippleColor="white" tap="FABClicked" size="0" imageResource="res://icon" tint="cyan" anchorId="mylistview" class="fab-button" />

or

  • use android icons
<FAB:fab rippleColor="white" tap="FABClicked" size="1" iconResource="ic_menu_add" class="fab-button" />

where

exports.FABClicked = function(args){
    console.log(args.object);
};

and the css class

.fab-button {
    height: 70;
    width: 70;
    horizontal-align: right;
    vertical-align: bottom;
}

About

Android Floating Action Button module for NativeScript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published