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

sling-web-component-sdk-connect

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sling-web-component-sdk-connect

Sling SDK Connect

  • 1.8.0
  • npm
  • Socket score

Version published
Weekly downloads
4
increased by100%
Maintainers
1
Weekly downloads
 
Created
Source

sling-web-component-sdk-connect

Install

npm instal sling-web-component-sdk-connect

Tag

  <sling-sdk-connect></sling-sdk-connect>

Attributes and properties

NameTypeDefault ValuesReflectToAttributeObservercallSdk
storeFunction
stateObject
dispatchFunction
subscribeFunction

Description

NameDescription
storeReceives a Redux Store.
stateThe current Store state. The same as calling getState() on Redux.
dispatchDisables the button, preventing the user from clicking and changing their style to dimmed
subscribeA pre-configured value for size of button, can be normal, small or big.

Events

This component does not emit events.

Examples

<sling-sdk-connect></sling-sdk-connect>
import { MyReduxStore } from './my-redux-store.js';
const sdkStore = document.querySelector('sling-sdk-connect');
sdkStore.store = MyReduxStore;
console.log(sdkStore.state);

FAQs

Package last updated on 04 Oct 2018

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