ng2-materialize
Version:
An Angular 2+ wrap around Materialize library
23 lines (22 loc) • 1.07 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
var core_1 = require("@angular/core");
var switch_directive_1 = require("../switch.directive");
var MzSwitchContainerComponent = (function () {
function MzSwitchContainerComponent() {
}
return MzSwitchContainerComponent;
}());
MzSwitchContainerComponent.decorators = [
{ type: core_1.Component, args: [{
selector: 'mz-switch-container',
template: "<div class=\"switch\"><label><span class=\"off\">{{ mzSwitchDirective?.off }}</span><ng-content></ng-content><span class=\"lever\"></span><span class=\"on\">{{ mzSwitchDirective?.on }}</span></label></div>",
styles: [""],
},] },
];
/** @nocollapse */
MzSwitchContainerComponent.ctorParameters = function () { return []; };
MzSwitchContainerComponent.propDecorators = {
'mzSwitchDirective': [{ type: core_1.ContentChild, args: [switch_directive_1.MzSwitchDirective,] },],
};
exports.MzSwitchContainerComponent = MzSwitchContainerComponent;