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-NpUm1dyZsDwUsi2z1w6hlj1oGPIO53SOWXiC2WA67VtEiYeOvyvYEqig7hRUY4MzEOVEfFS4uaTE7VO0Gjfr9Q==",
"shasum": "81ee236dccee907a0f1400e85e0962e273ed066b",
"tarball": "https://registry.npmjs.org/3shape-global-nav/-/3shape-global-nav-0.1.5.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\nwsFcBAEBCAAQBQJex5alCRA9TVsSAnZWagAAOa0P/jnCUkFDRpCFS9hIsFoy\n8rpEQOGrysBcOfYB5Ndk7iGLKdcWRX6P0UooEAefeJ23XuzN4J35bMxTVC6V\nSiyJTmatxCq9oGrmTQ4VuGmkuC9zrNZ9MMGgzq+6r+0yjbNtVtT7DfQbwVe6\nbTBUtAdLNOXSfqxy8ePg0bopnZNCMmkV5VTtwlxKj3HQhrD+Gg/k2mCZXWgT\nPPU8VPKssrusftrp6nn68mk2lbG0HZATbxkTy2xio1eSLr5m1zQV4r+VU5cv\njRUmUrrTZB9rH8z9vpds0LuYjZ67UFlsNEGovcSEVEsksIrTqPQqN5PJZY/p\nHvOX+1EbealdsdhrZwzEyaRBMUBByUtEKl1ImY+HreNqE8Nwrf8X3T+XUXJY\nY8nqLlyhW9pHKOO8zXzzFxNwSY83cQ52EgBo6132GbkmFK4OiDcqo9zF65OY\n2UX4HqxBA2S+O4EnK+g/2wTaHaBnt/Jv+EuIZuJyNt80ev0VxTAXo+Pan7hw\noudFdXLeonc8Bl6s/l8NT2NQ0EE6KHE65Lm2PWzbAzgRhtzFOY+r+FbF0sJ8\ng5XdvN4fd3W+0CzzINpcxfd+RYs71INBp5H0Vvv1BFBDZs7Y5Aka/3mPE+hZ\nhHB0bdN3E84Vghk9uZ17yGWbD+xuKMgDcx7qABji8W3ggdiJdtTIQE9gAGhc\nHwb6\r\n=ODat\r\n-----END PGP SIGNATURE-----\r\n",
"signatures": [
{
"keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
"sig": "MEYCIQD/gWgzc5SIg0u0PngHaXOthMrF1tVWZrJEa/5UkOtRXgIhAJssgnnbqnOxi35Vfg9d+a9Q60nPG8SV892FvnHHg+ku"
}
]
}Observed since 20 Oct, 19:52 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:c8f92e1a3a26002f2268d5e884d763aa3e7f7d7679347a85f07247131104c2d7