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-0m5NcnrzuE9LJG0+L5zHTqmOE/T1DU40lUAarJrr2hVoCe/d582JDNDTLxHgIGuAv8VYuQ8GEMfWPii2wxXwtQ==",
"shasum": "52edc5982bb719108cabf3e6b5cab2d9806e4368",
"tarball": "https://registry.npmjs.org/3shape-global-nav/-/3shape-global-nav-0.2.0.tgz",
"fileCount": 3,
"unpackedSize": 71499,
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe1sULCRA9TVsSAnZWagAA1DMP/AtJTWMOELCeSD8DyTRQ\nqB2HH61nY5uvWr3ezijO62Fcy8qAy1Z3V9d03eaw1SRZeejKqh8/SeEnouIq\nod3tZ+2gA6BfM555ZN63grkjYsQ0rsUCt6DtYSqmjLK+PSt8JMrs9erNvUcf\nGHGBPtxjcNJMiuPBGYWSGxU3mGy/Pr3OupxtKcwapA9nEDdRYpCE+Fv2W9En\np4cp+c/MHPt5R0y5SLK4UAfhjcOqztZfklso979SsN6p7YebCeMyDKq7Cqb9\nmFuDbU/DNNgXHRWZfn20mFT1LhnYE7bdTybKYY6edLMFQw6vx96X/avJBGgi\n9Kuq1FOj6zvTXR1JmPBteDJkPMtB5G/Nqt5LqmBNm1+hF06JbJftOMCo0oMu\nQgQdrx1h311cVz0QwVo0PUHdEsy4des4+NgmydXnPkAa27pniVUqls6Ew4ZB\nvAt8ZNwiWfG71Ksw0zyhgi1gDctAL3LnWQQEce6azkT9jaAwbLFZwbuGyUMH\nvYZF5jc0qukZcJBsCKBBKMROZ4MtRmbkdKWvVRZQ//zmDd2FPiWEC+QJg4nO\no2FMc0qW6HflbgkFSwsYocm4yYINuQPIlF2o7ISQZjo3PuhApwzTaSV+bP9C\n3vMw/s+8BhmWLzSH45ovOfNTagkYLAL4MQ5GV/Lj4u5PZ6Xj5gOO68QjGbKq\nE8eE\r\n=ktJj\r\n-----END PGP SIGNATURE-----\r\n",
"signatures": [
{
"keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
"sig": "MEQCIB3Yupheh1IFPkwfp5QS+SRnAA6Ym4Zcl16qiFHgOBeOAiBs8L8KBe803rOrK3lD/Qlp/RCBome7PZ/ZORBdlAnR4Q=="
}
]
}Observed since 20 Oct, 19:52 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:cc06f3534a79f18dd32f40e5943cdbd2600c06a59cbd051ed29beff1ebd44c38