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

@refinitiv-ui/demo-block

Package Overview
Dependencies
Maintainers
0
Versions
154
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@refinitiv-ui/demo-block

Demo page handler for Element Framework elements

  • 7.1.15
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

Demo Block Element

A custom element that can wrap around any other elements for demo and development purpose.

Installation

npm install -D @refinitiv-ui/demo-block

Usage

Include demo styles to <head> section and import the module to your page.

<link rel="stylesheet" href="/node_modules/@refinitiv-ui/demo-block/demo.css" />
<script type="module">
  import '@refinitiv-ui/demo-block';
</script>

Wrap element or content that you want to show in demo block inside <demo-block>.

<demo-block header="Layout option" layout="normal" tags="header">
  This is standard block layout
  <h1>Header Level 1</h1>
  <h2>Header Level 2</h2>
  <h3>Header Level 3</h3>
</demo-block>

FAQs

Package last updated on 26 Aug 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