12345678910111213141516171819202122 |
- function reporting_base (instance, widget) {
- "use strict";
- widget.Base = instance.Widget.extend({
- position: 0,
- init: function (parent, position) {
- this._super(parent);
- this.position = position || this.position;
- },
- start: function () {
-
- },
- getPosition: function () {
- return this.position;
- },
- setPosition: function (position) {
- this.position = position;
- }
- });
- }
|