0.0.7 • Published 6 years ago

snitchy-kapla-plugin v0.0.7

Weekly downloads
5
License
SEE LICENSE IN UN...
Repository
github
Last release
6 years ago

📈 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…

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago