Component for standardizing modals across content components. Feel free to use elsewhere if desired.
var Contentmodal = require('certgen');
// @param {object} options Configuration options for the control (optional)
// @param {element} element DOM Element to render the control into (optional)
// element can be accessed at control.elements.wrapper
var control = new certgen(options, element);
// Methods are called directly on the control
control.show();
require('certgen');
// @param {object} options Configuration options for the control (optional)
$element.certgen(options);
// Methods are called through the $.fn methods
$element.certgen('show');
<link rel="stylesheet" href="dist/css/certgen.css">| Name | Description | Type | Default |
|---|
| Name | Description | Parameters |
|---|
grunt