Git Product home page Git Product logo

paper-fab-menu's Introduction

##<paper-fab-menu>

Material design: Floating Action Button

paper-fab-menu is a floating action button with menu items. It contains an image placed in the center and comes in two sizes: regular size and a smaller size by applying the attribute mini. When the user touches the button, a ripple effect emanates from the center of the button and expends the menu items it contains.

You may import iron-icons to use with this element, or provide a URL to a custom icon. See iron-iconset for more information about how to use a custom icon set.

There are two ways to show the paper-fab-button: vertical or horizontal.

Live Example

##Installing with Bower

To install the component with the Bower, just run:

bower install --save paperfabmenu

Example:

<import rel="import" src="bower_components/paper-fab-menu/paper-fab-menu.html" />

<paper-fab-menu icon="add" position="vertical">
	<paper-fab-menu-item label="Polymer" icon="polymer" ></paper-fab-menu-item>
	<paper-fab-menu-item label="Favorites" icon="star" ></paper-fab-menu-item>
	<paper-fab-menu-item label="Refresh" icon="refresh" ></paper-fab-menu-item>
</paper-fab-menu>

##<paper-fab-menu> - Properties

The following properties are available for styling:

Property Name Description Default
icon The icon of the main paper-button ''
color The background color of the main paper button --accent-color
position The position of the items: vertical or horizontal vertical

##<paper-fab-menu-item> - Properties

The following properties are available for styling:

Property Name Description Default
icon The icon of the paper menu item ''
color The background color of the paper menu item --accent-color
label The tooltip label of the paper menu item ''
tooltip-position The position of the tooltip left

paper-fab-menu's People

Contributors

dreammmr avatar dantman avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.