You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

github.com/bennypowers/codesandbox-button

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/bennypowers/codesandbox-button

v0.1.0
Source
Go
Version published
Created
Source

codesandbox-button.js:

class: CodesandboxButton, codesandbox-button

Superclass

NameModulePackage
LitElementlit

Fields

NamePrivacyTypeDefaultDescriptionInherited From
fontSizenumber14font size
hideNavigationbooleanfalsewhen true, hides navigation in the iframe
sandboxIdstringfive-character id of your sandbox
showDemobooleanfalsewhen true, shows the CodeSandbox instead of the button
modulestringpath to the default module to display
theme'light'|'dark''dark'
view'editor'|'preview'

Attributes

NameFieldInherited From
font-sizefontSize
hide-navigationhideNavigation
sandbox-idsandboxId
show-demoshowDemo
modulemodule
themetheme
viewview
Private API

Methods

NamePrivacyDescriptionParametersReturnInherited From
getIframeSrcprivate
onClickprivate

Exports

KindNameDeclarationModulePackage
jsCodesandboxButtonCodesandboxButtoncodesandbox-button.js
custom-element-definitioncodesandbox-buttonCodesandboxButtoncodesandbox-button.js

FAQs

Package last updated on 26 Jul 2021

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