##<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-item
element and assigned an icon and a text label. app-bottom-nav
should only contain between 3 and 5app-bottom-nav-item
elements.- The
selected
attribute 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-compact
property toapp-bottom-nav
element. This will force thecompact
attribute on its children which normally only happens when 4 or 5 children are present. - (Fixes Issue #2) Added
notify
property attribute toselected
onapp-bottom-nav
element. - Breaking:
force()
renamed toshowAlways()
onapp-bottom-nav
element - Breaking:
clearForce()
renamed toshowDefault()
onapp-bottom-nav
element - Breaking:
toggleForce()
renamed totoggleForceNarrow()
onapp-bottom-nav
element - Changed deprecated
reflect
entries on properties toreflectToAttribute
onapp-bottom-nav
element - Removed 2 instances of
console.log
fromapp-bottom-nav.html
- Removed 1 instance of
console.log
fromanimations/compact-grow-animation.html
- Cleaned up animations for grow and shrink in
animations
- Changed animation duration to 200ms in
app-bottom-nav-item
element - Added ripple animation (based on
Polymer.PaperRippleBehavior
) toapp-bottom-nav-item
element - CSS scoping bug should be fixed (in theory)
- Updated README format (added Polymer version badge, used attachments)
- Fix
bower.json
version 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