New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

laboratoria-ce-header

Package Overview
Dependencies
Maintainers
0
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

laboratoria-ce-header

To use it, simply import the package to your HTML via `<script>` tag from unpkg.com

  • 0.6.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
111
decreased by-28.85%
Maintainers
0
Weekly downloads
 
Created
Source

Laboratoria's header implemented as a Custom Web Component

To use it, simply import the package to your HTML via <script> tag from unpkg.com

<script src="https://unpkg.com/laboratoria-ce-header"></script>

It will register a new component, you can use it with

<laboratoria-header></laboratoria-header>

This component expect 4 things:

  • A set of anchor tags for links
  • A property buttonname for the button buttonname
  • A property link to set the button link
  • Three properties to set langs: esLink, ptLink, enLink

If no lang properties are included, the lang selector will not be rendered.

The current lang will depend on the window.location url.

Any link can be absolute or relative.

You can see an example use here:

<laboratoria-header
  name="My Button"
  link="#linkToSomewhere"
  esLink="/es"
  ptLink="/pt"
  enLink="/en"
  >
  <a href="#1">Link 1</a>
  <a href="#2">Link 2</a>
  <a href="#3">Link 3</a>
</laboratoria-header>

FAQs

Package last updated on 16 Sep 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc