Make et2_number widget exportable

This commit is contained in:
Hadi Nategh 2020-10-06 10:31:26 +02:00
parent 81cdf759a3
commit 588a667137
2 changed files with 2 additions and 1 deletions

View File

@ -162,6 +162,7 @@ var et2_number = /** @class */ (function (_super) {
};
return et2_number;
}(et2_widget_textbox_1.et2_textbox));
exports.et2_number = et2_number;
et2_core_widget_1.et2_register_widget(et2_number, ["int", "integer", "float"]);
/**
* 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
*/
class et2_number extends et2_textbox
export class et2_number extends et2_textbox
{
static readonly _attributes : any = {
"value": {