define(["require", "exports", "@syncfusion/ej2-dropdowns"], function (require, exports, ej2_dropdowns_1) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var DropDownListRenderer = (function () {
function DropDownListRenderer(editor) {
this.editor = editor;
}
DropDownListRenderer.prototype.renderDropDownList = function (args) {
return new ej2_dropdowns_1.DropDownList({
dataSource: args.dataSource,
fields: args.fields,
value: args.value,
change: args.change,
locale: this.editor.locale,
cssClass: this.editor.cssClass,
enableRtl: this.editor.enableRtl,
enablePersistence: this.editor.enablePersistence
}, args.targetElement);
};
return DropDownListRenderer;
}());
exports.DropDownListRenderer = DropDownListRenderer;
});
|