Register video widget

This commit is contained in:
Hadi Nategh 2020-05-07 16:14:07 +02:00
parent bed10386f5
commit 5e703ab669
2 changed files with 5 additions and 2 deletions

View File

@ -31,6 +31,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
*/
var et2_core_baseWidget_1 = require("./et2_core_baseWidget");
var et2_core_inheritance_1 = require("./et2_core_inheritance");
var et2_core_widget_1 = require("./et2_core_widget");
/**
* This widget represents the HTML5 video tag with all its optional attributes
*
@ -175,4 +176,5 @@ var et2_video = /** @class */ (function (_super) {
return et2_video;
}(et2_core_baseWidget_1.et2_baseWidget));
exports.et2_video = et2_video;
et2_core_widget_1.et2_register_widget(et2_video, ["video"]);
//# sourceMappingURL=et2_widget_video.js.map

View File

@ -19,7 +19,7 @@
import { et2_baseWidget } from './et2_core_baseWidget'
import {ClassWithAttributes} from "./et2_core_inheritance";
import {et2_DOMWidget} from "./et2_core_DOMWidget";
import {WidgetConfig} from "./et2_core_widget";
import {WidgetConfig, et2_register_widget} from "./et2_core_widget";
/**
* This widget represents the HTML5 video tag with all its optional attributes
@ -185,4 +185,5 @@ export class et2_video extends et2_baseWidget implements et2_IDOMNode
this.video.attr("poster", _url);
}
}
}
}
et2_register_widget(et2_video, ["video"]);