🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

@api-viewer/demo

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@api-viewer/demo

Live demo playground for Web Components

latest
Source
npmnpm
Version
1.0.0-pre.10
Version published
Maintainers
1
Created
Source

@api-viewer/demo

Live playground for Web Components. Based on custom elements manifest JSON format.

<api-demo src="./custom-elements.json"></api-demo>

Documentation →

Live Demo →

Screenshot of api-viewer demo

Install

npm install @api-viewer/demo

Check out the Getting Started guide.

Features

  • Source - Code snippet matching the rendered component.
  • Knobs - Change properties and slotted content dynamically.
  • Styles - Change values of the custom CSS properties.
  • Event log - Output the events fired by the component.
  • Templates - Provide additional HTML to be shown.

Keywords

API

FAQs

Package last updated on 05 Apr 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