Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
bespoke-substeps
Advanced tools
You can see bespoke-substeps in action in e.g. Asynchronous JavaScript Interfaces presentation
data-order
attribute), so it doesn't necessary need to follow order in documentdata-order
value)data-action
attribute) that can be used:
visibility: hidden
)visibility: hidden
)display: none
)display: none
)background: inherit
)If CJS bundler you're using, supports CSS modules out of a box, then just do:
var substeps = require('bespoke-substeps');
Otherwise require strictly JS logic of plugin with
var substeps = require('bespoke-substeps/dom');
and manually assure that styles placed in style.css
are also loaded with your application.
Then configure bespoke to use the plugin:
bespoke.from(selector, [
substeps()
]);
Example HTML configuration
All step elements need to share substep
class. Unless overridden they're assigned with activate
action and incremented order.
<section class="bespoke-slide">
<h1>Slide title</h1>
<ul class="substep" data-order="3" data-action="remove"><!-- Removed in final step -->
<li class="substep">First step</li><!-- assigned order: 0.01 -->
<li class="substep">Second step</li><!-- assigned order: 0.02 -->
<li class="substep" data-order="2">Fourth step (1)</p><!-- assigned order: 2 -->
<li class="substep" data-order="1">Third step</p><!-- assigned order: 1 -->
<li class="substep" data-order="2">Fourth step (2)</p><!-- assigned order: 2 -->
<li class="substep">Fifth step</p><!-- assigned order: 2.01 -->
</ul>
<ul class="substep" data-order="3" data-action="insert"><!-- Inserted in final step -->
<li>Final only item</li>
</ul>
</section>
In your presentation path:
$ npm install bespoke-substeps
FAQs
Substeps for Bespoke.js presentations
The npm package bespoke-substeps receives a total of 2 weekly downloads. As such, bespoke-substeps popularity was classified as not popular.
We found that bespoke-substeps demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.