SkillAgentSearch skills...

Com.netsmartcompany.floatingActionButton

Alloy widget for a simple floating action button

Install / Use

/learn @kgividen/Com.netsmartcompany.floatingActionButton
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

com.netsmartcompany.floatingActionButton

A simple Floating Action Button for Titanium Alloy Widget. Based off of http://gitt.io/component/be.k0suke.tifab

Usage

Controller

$.addFolderFab.onClick(function(e) {
	addFolderClicked();
});
$.index.open();

Controller Options

Hide

$.addFolderFab.hideMe();

Show

$.addFolderFab.showMe();

View

<Alloy>
	<Window>
		<Widget id="addFolderFab" class="fab" src="com.netsmartcompany.floatingActionButton" />
	</Window>
</Alloy>

Style

'.fab': {
    zIndex: 1000,
    top: 20,
    right: 10,
    width: 60,
    height: 60,
    backgroundColor: '#cc2ecc40',
    borderWidth: 1,
    borderColor: '#ececec',
    title: '\uf067',
    font: {
        fontFamily: 'FontAwesome',
        fontSize: 40
    },
    color: '#ffffff'
}

iOS

License

MIT

Related Skills

View on GitHub
GitHub Stars5
CategoryDevelopment
Updated9y ago
Forks2

Languages

JavaScript

Security Score

70/100

Audited on Feb 18, 2017

No findings