uqlibrary-toolbar displays a toolbar which takes an initialisation state, most fundamentally a title, but also including search and more actions display
Full documentation and demo can be found in GitHub Pages.
Event type | Event data | Description |
---|---|---|
uqlibrary-toolbar-menu-clicked | na | Hamburger menu on left is tapped |
uqlibrary-toolbar-link-clicked | item from appLinks | Link in more menu on right clicked |
uqlibrary-toolbar-search-submitted | Submitted value | The user has either pressed enter, clicked the search icon, or selected from the autocomplete |
npm install -g bower web-component-tester polymer-cli
npm install
bower install
- Please adhere to the Polymer code style guide provided at Style Guide.
- Colors and common styles are imported (bower install) from uqlibrary-styles
- GitHub pages should be updated after every commit to
polymer1.0
branch by runningbin/generate-gh-pages.sh
- A preview of the component can be viewed locally by running
npm start
. Use the second URL from the command output.
Tests are run using the Web Component Tester. Either navigate to /tests/index.html in a browser or using the command line:
npm test