Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

snitchy-kapla-plugin

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

snitchy-kapla-plugin

Add prefixes (`$el`, `$ref`) and triggers for Kapla(https://github.com/thierrymichel/kapla) components

latest
Source
npmnpm
Version
0.0.7
Version published
Maintainers
1
Created
Source

📈 Snitchy Kapla Plugin

stability-wip NPM version Coverage Status License

Add prefixes ($el, $ref) and triggers for Kapla components

Usage

import { Application } from 'kapla';
import snitchy from 'snitchy';
import SnitchyKaplaPlugin from 'snitchy-kapla-plugin';
import variables from 'data/variables';

snitchy.load(variables);

const app = Application.start(document.body, undefined, {
  snitchy, // Just to be able to `this.snitchy[page || component]` without explicitly importing snitchy inside each component…
});
const snitchyKapla = new SnitchyKaplaPlugin(snitchy);

app.extend(snitchyKapla);

// app load or register…

Feel free to comment , add an issue or submit a pull request…

Keywords

epic

FAQs

Package last updated on 06 Sep 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