@inventage-web-components/portal-navigation
TypeScript icon, indicating that this package has built-in type declarations

1.8.0 • Public • Published

@inventage-web-components/portal-navigation

A component implementing an opinionated (but generic and hence configurable) navigation pattern.

Published on npm License Release Bundle Size

Quick Start

Use jspm.dev to get a simple example running in a single HTML file:

<script type="module" src="https://jspm.dev/@inventage-web-components/portal-navigation/portal-navigation.js"></script>
<portal-navigation src="./test-data.json" currentApplication="app1" internalRouting></portal-navigation>

Here's an example of this method to get you started.

Installation

npm i @inventage-web-components/portal-navigation

Usage

<!--
  Adjust path to node_modules and use a dev server that support Node module
  resolution, like Web Dev server: https://www.npmjs.com/package/@web/dev-server
-->
<script
  type="module"
  src="/node_modules/@inventage-web-components/portal-navigation/lib/src/portal-navigation.js"
</script>

<portal-navigation src="/path/to/data.json"></portal-navigation>

Documentation

The API documentation as well as interactive examples can be found in the Storybook examples.

Package Sidebar

Install

npm i @inventage-web-components/portal-navigation

Weekly Downloads

0

Version

1.8.0

License

MIT

Unpacked Size

315 kB

Total Files

27

Last publish

Collaborators

  • peschee