Current collected state Current
Observed since 20 Oct, 19:52 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
3shape-global-nav
## How to use Install packages ``` npm i 3shape-global-nav @webcomponents/webcomponentsjs ``` Add polyfill import ``` import '@webcomponents/webcomponentsjs/webcomponents-bundle.js'; // or dynamical import '@webcomponents/webcomponentsjs/webcomponents-loa
Install packages
npm i 3shape-global-nav @webcomponents/webcomponentsjs
Add polyfill import
import '@webcomponents/webcomponentsjs/webcomponents-bundle.js';
// or dynamical
import '@webcomponents/webcomponentsjs/webcomponents-loader.js';
Add component import
import '3shape-global-nav';
Use tag
<g-navigation
env="{env}"
username="{userName}"
token="{token}"
logouturl="{logoutUrl}"
></g-navigation>
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| {env} | String | null | current environment. available options: 'test', 'staging', 'production' |
| {userName} | String | null | shows user name in account menu |
| {token} | String | null | the same as {userName}. component decodes token for you and gets userName from it. if you specify {userName} - {token} will not work |
| {logoutUrl} | String | null | link to logout page |
npm i
npm run watch
npm run serve
Go to http://localhost:8000
Download counts and popularity will appear here as the collector receives them.
| Package / target | Requirement | Relationship |
|---|---|---|
lit-elementEnvironment{
"local_name": "lit-element",
"alias": false,
"peer_metadata": null
} | 2.3.1 | runtime |
lit-htmlEnvironment{
"local_name": "lit-html",
"alias": false,
"peer_metadata": null
} | 1.2.1 | runtime |
@babel/coreEnvironment{
"local_name": "@babel/core",
"alias": false,
"peer_metadata": null
} | 7.9.0 | development |
@babel/preset-envEnvironment{
"local_name": "@babel/preset-env",
"alias": false,
"peer_metadata": null
} | 7.9.5 | development |
babel-loaderEnvironment{
"local_name": "babel-loader",
"alias": false,
"peer_metadata": null
} | 8.1.0 | development |
clean-webpack-pluginEnvironment{
"local_name": "clean-webpack-plugin",
"alias": false,
"peer_metadata": null
} | 3.0.0 | development |
es-dev-serverEnvironment{
"local_name": "es-dev-server",
"alias": false,
"peer_metadata": null
} | 1.46.2 | development |
eslintEnvironment{
"local_name": "eslint",
"alias": false,
"peer_metadata": null
} | 6.8.0 | development |
eslint-config-airbnb-baseEnvironment{
"local_name": "eslint-config-airbnb-base",
"alias": false,
"peer_metadata": null
} | 14.1.0 | development |
eslint-loaderEnvironment{
"local_name": "eslint-loader",
"alias": false,
"peer_metadata": null
} | 4.0.0 | development |
eslint-plugin-importEnvironment{
"local_name": "eslint-plugin-import",
"alias": false,
"peer_metadata": null
} | 2.20.2 | development |
webpackEnvironment{
"local_name": "webpack",
"alias": false,
"peer_metadata": null
} | 4.42.1 | development |
webpack-cliEnvironment{
"local_name": "webpack-cli",
"alias": false,
"peer_metadata": null
} | 3.3.11 | development |
webpack-mergeEnvironment{
"local_name": "webpack-merge",
"alias": false,
"peer_metadata": null
} | 4.2.2 | development |
Source distribution
{
"integrity": "sha512-xMqgccwoh4pEQsSdf8AdhLLCwmgGZeTL9zwd1Yn+u9vMvlF8CtJgKE64rKkawo9uqYzJ1RrH3zwz6Nvp9ilm4A==",
"shasum": "d0d7f7faebd9b7d36f6bc7183527bb885a376d6f",
"tarball": "https://registry.npmjs.org/3shape-global-nav/-/3shape-global-nav-0.1.4.tgz",
"fileCount": 3,
"unpackedSize": 66730,
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJex5ZRCRA9TVsSAnZWagAAcNQP/1hDmhMKWlhJLf3fnCN2\n8MGSHrD8jy4VXJWfShkpHOZOseSeoXsJ2+jCbMW1jArW8YQfKSip4vNyblsy\nINH7OCXMdx4xuBM3TcdOwIEsMaDI2VZ+YnQx3il9KfPq2Pm4S32a7mrI3ybV\nStsPlkS3KwlyRN5nR4DHBw8jqeME082WgCP3uaRU9fAXEZx8tT55bMP9aNVZ\njpxDNKVpyZnj7IedGyf/pLhM/YfRV1G6fWrLHvzIM9jF3gR8CrLgzddiEqfy\nZ1M6WBEvimOWALHNymQEs/Q3n8aerebCefiDb8EjMMB1szk//a8Y/4GNfTjH\nUllU0okysFNKzhD7y81tS/kKX9N2zUyyUAYHtAeE1d1KthrYBjjcv2EoFtOc\nGFR0ZpzQ/Xpm8OIJ81/DM6SBVJVxcjROltr1limhXGtDAt0+dPHB3tHAMLYm\nQKK41R3IUWN4x298F/T8mMKuEr0V7pcm/mnUHjv8KTItGntp/4HJLRWrkz5K\nUs3BwGGyqyF+aPoIZfPsNVABYt9J0G6ZG/coUw/2JK5ynGtHn/OlptE5Dq36\nCLEeFOlgmCXuUZRWqkXtWFX6hzwmJqL1mmWX1v+1dRLRMAJQocjrkrI5/akW\niUaV4WPlMZTRCBwsKzrPhbbFshERu8RLhmjcx7yEga6nAWg3mP8UYjOvLo4P\nQUXG\r\n=r00O\r\n-----END PGP SIGNATURE-----\r\n",
"signatures": [
{
"keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
"sig": "MEUCIQCdkKsnz6rsbXkfsomJft3RYlK5j2gO1vGaETahHboq3gIgFUZunrajPttUq4hvsnPH3rw8VmWXNQDTt7WfM2Mji6k="
}
]
}Observed since 20 Oct, 19:52 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:c3ade91fd347abfc8137c55f44a771b73332d2cc41682ea3ce6307aa24a6c2d7