Mendix widget inheritance

4
In dojo it is possible to declare a widget that inheriteds from another widget by doing dojo.declare("somemodule.SomeWidget", someinheritedmodule.SomeInheritedWidget, {} Is this also possible in mendix.widget.declare ?
asked
1 answers
3

You can use

mendix.widget.declare("somewidget",  {
  superclass : someinheritedmodule.SomeInheritedWidget
});
answered