Xynga-Navigation is an Angular 4 library that is made up of the following components:
MenuDirective
- A directive that is meant to be placed inside an HTML element that allows the inner contents of that element to become a pop-up menu with various customization options.TabListComponent
- A simple list of tabs, each containing a clickable route link.
Xynga-Navigation is one of the 7 Xynga libraries. Each of the 7 libraries are made up of components, services, and directives that were originally developed for Vertex's Country-By-Country Reporting application. They were repackaged under the Xynga name and published on npm so that they could be made available to anyone that wishes to use them in their Angular 4 application.
To install Xynga-Navigation, run the command npm install xynga-Navigation
from an Angular project directory
to which you wish to install the library. It will then be available in the project's node_modules
directory.
All Xynga-Navigation's third party dependencies will be automatically downloaded and placed in the project's
node_modules
directory as well. Then, simply import NavigationModule
(from 'xynga-Navigation') to the
appropriate module in the project.
Additionally, it is important that "types" : ["node"]
and "typeRoots" : ["../node_modules/@types"]
are
added to the "compilerOptions"
array in the project's tsconfig.app.json
file, or else the project might
not compile properly. If you are using the angular-cli
then this should be handled for you.
Detailed descriptions on how to use each individual component in Xynga-Navigation, along with examples and APIs, can be found at [XYNGA-WEBSITE].
If you have a question about how a particular component or directive works, or would like to report a bug, please
email xyngaba@gmail.com
.
Xynga website: [XYNGA-WEBSITE]
github: https://www.github.com/xynga/Navigation
npm: https://www.npmjs.com/package/xynga-Navigation
The MIT License (MIT)
Copyright (c) 2017 Jesse Aronson, Sam Black, Jiggs Gatmaitan, Nancy Gerwig, John Hart, Tim Klein, Andrew LaRoche, Peter Vink
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.