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

@maestro_io/panel-sdk

Package Overview
Dependencies
Maintainers
3
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@maestro_io/panel-sdk

Maestro panel SDK for Node.js

  • 0.1.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
3
Created
Source

Maestro Panel SDK

Version: 1.00.0

Initializing

const MaestroPanelSDK = require('MaestroPanelSDK');
const panel = new MaestroPanelSDK();

const run = async () => {
  panel.init();
}

// get style from parent
panel.on('style', (style) => {
  // do stuff
  
});

// tell parent to render panel
panel.render();

// initialize the sdk
panel.init();

// destroy when finished
panel.destroy();

Methods

NameParamsDescriptionPayloadAsync
initregisters the iframe with the parent and inits listenerfalse
destroydestroys listeners and informs parent this iframe is destroyedfalse
renderinforms the parent the panel should be renderedfalse

Events

Name | Description style | fired when the parent's style changes | Payload matches IStyle.ts

FAQs

Package last updated on 04 May 2019

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