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

@bolt/core-v3.x

Package Overview
Dependencies
Maintainers
5
Versions
204
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bolt/core-v3.x

The new (temporary) version of Bolt Core being used to transition over to Bolt v3.0 as the different moving parts are split into their own smaller, standalone packages.

  • 2.21.0-canary.12345.5.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
293
increased by3155.56%
Maintainers
5
Weekly downloads
 
Created
Source

<ssr-keep>

A "helper" custom element to wrap around portions of HTML you wish to keep after a web component boots-up. It uses a single attribute, for, which contains a query selector used to find the closest matching ancestor element and append its inner contents to it. All other HTML up to the matching element will be discarded.

For example, this:

<bolt-accordion-item>
  <div class="c-bolt-accordion-item">
    <div class="c-bolt-accordion-item__trigger">
      <ssr-keep for="bolt-accordion-item">
        <div slot="trigger">Trigger text</div>
      </ssr-keep>
    </div>
    <div class="c-bolt-accordion-item__content">
      <div class="c-bolt-accordion-item__content-inner">
        <ssr-keep for="bolt-accordion-item">
          Accordion content
        </ssr-keep>
      </div>
    </div>
  </div>
</bolt-accordion-item>

...will become this after the component connects:

<bolt-accordion-item>
  <div slot="trigger">Trigger text</div>
  Accordion content
</bolt-accordion-item>

FAQs

Package last updated on 31 Mar 2020

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