name of the new class
parent class to inherit from
List of all methods, use 'initialize' as a constructor
Optional
properties: GetterSetterDictList of all properties
inheritClass('ListView', Control, {
initialize: function () {},
anotherMethod: function (param) {}
}, {
aProperty: {
get: function () {return _value;},
set: function (value) {value = _value;}
}
});
inheritClass
Window
NOTE: This is LEGACY in version 5.1, use ES6 class/extends and registerClass instead
Inherits a control to a new one. Such a newly created class also contains $super field. This is because JavaScript does not include native inheritance. For a brief on inheritance, there are many helpful resources online about object-oriented programming. Here is one.