Make et2_number widget exportable

This commit is contained in:
Hadi Nategh 2020-10-06 10:31:26 +02:00
parent eb26de479b
commit 106043b937
2 changed files with 2 additions and 1 deletions

View File

@ -162,6 +162,7 @@ var et2_number = /** @class */ (function (_super) {
}; };
return et2_number; return et2_number;
}(et2_widget_textbox_1.et2_textbox)); }(et2_widget_textbox_1.et2_textbox));
exports.et2_number = et2_number;
et2_core_widget_1.et2_register_widget(et2_number, ["int", "integer", "float"]); et2_core_widget_1.et2_register_widget(et2_number, ["int", "integer", "float"]);
/** /**
* Extend read-only to tell it to ignore special attributes, which * Extend read-only to tell it to ignore special attributes, which

View File

@ -21,7 +21,7 @@ import {ClassWithAttributes} from "./et2_core_inheritance";
* *
* @augments et2_textbox * @augments et2_textbox
*/ */
class et2_number extends et2_textbox export class et2_number extends et2_textbox
{ {
static readonly _attributes : any = { static readonly _attributes : any = {
"value": { "value": {