##<signin-button>
A Material Design bottom navigation element.
By default, the element will only be visible when the viewport is less than
640px. This corresponds to the default app-drawer-layout responsive width and
means the app-bottom-nav will show when the app-drawer retracts.
- Each navigation option is added as an
app-bottom-nav-itemelement and assigned an icon and a text label. app-bottom-navshould only contain between 3 and 5app-bottom-nav-itemelements.- The
selectedattribute will contain the label of the currently selected navigation item.
Dependencies: This element is only dependent on first-party polymer elements outside of this element pack.
<app-bottom-nav selected="{{selected}}">
<app-bottom-nav-item icon="abn-demo:history" label="Recent"></app-bottom-nav-item>
<app-bottom-nav-item icon="abn-demo:favorite" label="Favorites"></app-bottom-nav-item>
<app-bottom-nav-item icon="abn-demo:near-me" label="Nearby"></app-bottom-nav-item>
</app-bottom-nav>The demo here uses icons from the file app-bottom-nav/demo/demo-icons.html.
Version 0.0.1 -> Version 0.0.4
- (Fixes Issue #1) Improved icon documentation for demo code.
- (Issue #2) Added
force-compactproperty toapp-bottom-navelement. This will force thecompactattribute on its children which normally only happens when 4 or 5 children are present. - (Fixes Issue #2) Added
notifyproperty attribute toselectedonapp-bottom-navelement. - Breaking:
force()renamed toshowAlways()onapp-bottom-navelement - Breaking:
clearForce()renamed toshowDefault()onapp-bottom-navelement - Breaking:
toggleForce()renamed totoggleForceNarrow()onapp-bottom-navelement - Changed deprecated
reflectentries on properties toreflectToAttributeonapp-bottom-navelement - Removed 2 instances of
console.logfromapp-bottom-nav.html - Removed 1 instance of
console.logfromanimations/compact-grow-animation.html - Cleaned up animations for grow and shrink in
animations - Changed animation duration to 200ms in
app-bottom-nav-itemelement - Added ripple animation (based on
Polymer.PaperRippleBehavior) toapp-bottom-nav-itemelement - CSS scoping bug should be fixed (in theory)
- Updated README format (added Polymer version badge, used attachments)
- Fix
bower.jsonversion information
This is a brief list of tasks that are yet to be completed. Feel free to open an issue or contribute a pull request if you think you can help.
- Implement Tests
- Prepare for Polymer 2.0 update
- Add ARIA/a11y support
Demo and API docs: webcomponents.org, GitHub Pages