1.0.2 • Published 7 years ago

veams-plugin-dom v1.0.2

Weekly downloads
5
License
MIT
Repository
github
Last release
7 years ago

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.