veams-plugin-dom

1.0.2 • Public • Published

VeamsDOM plugin

The VeamsDOM plugin is simple plugin for which you need to pass a DOM handler like jQuery. For some other plugins VeamsDOM is a requirement.

How to

import $ from 'jquery';
import Veams from 'veams';
import VeamsDOM from 'veams/lib/plugins/dom';
 
// Intialize core of Veams
Veams.initialize();
 
// Add plugins to the Veams system
Veams.use(VeamsDOM, {
    DOM: $
});

Options

DOM {Function} () => {} - Add a DOM handler by using this option. It should have the same api like jQuery.

Readme

Keywords

Package Sidebar

Install

npm i veams-plugin-dom

Homepage

veams.org/

Weekly Downloads

4

Version

1.0.2

License

MIT

Last publish

Collaborators

  • andy-gutsche
  • sebastian-fitzner