Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

be-hive

Package Overview
Dependencies
Maintainers
1
Versions
227
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

be-hive

Specify that ShadowDOM should inherit be-haviors from parent Shadow DOM

  • 0.0.31
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
76
decreased by-26.92%
Maintainers
1
Weekly downloads
 
Created
Source

be-hive

Let it snow in August

be-hive is the Queen Bee of the may-it-be HTML frimework.

Specify that ShadowDOM should inherit be-hiviors from parent Shadow DOM.

Allow judicious overriding of if-wants-to-be's.

Syntax

be-hiviors are registered via function:

register(ifWantsToBe: string, upgrade: string, extTagName: string);

in be-hive/register.js

be-hive then determines which be-hiviors to inherit.

However, be-hive supports an optional "overrides" attribute/property that allows overriding the parent inheritance.

To uses be-hiviors in this way, we need to include one instance of be-hive in our ShadowDOM-based web component.

<be-hive overrides='{
    "be-sharing":{
        "ifWantsToBe": "familial"
    }
}'></be-hive>

[TODO] Expline this coherently.

Keywords

FAQs

Package last updated on 19 Feb 2022

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