gd-sprest-js
Version:
SharePoint 2013/Online js components.
19 lines (18 loc) • 507 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
var _1 = require(".");
/**
* Overlay
*/
exports.Overlay = function (props) {
// Method to get the fabric component
var get = function () { return _overlay; };
// Add the overlay template
props.el.innerHTML = _1.Templates.Overlay(props);
// Create the checkbox
var _overlay = new _1.fabric.Overlay(props.el.querySelector(".ms-Overlay"));
// Return the checkbox
return {
get: get
};
};