new mxui/lib/form/InlineForm()
An instance of this class is returned when calling mx.ui.openForm
with a location
other than “content”.
It is a subclass of mxui/lib/form/_FormBase. As such it supports the same interface and adds some of its own that are documented here.
Methods
destroy()
Destroy the form and its contents.
Example
mx.ui.openForm("MyFirstModule/Puppies.page.xml", {
location: "popup",
callback(form) {
form.destroy();
}
});
Events
onAfterShow
Called after the popup form is shown.
This method is intended to be used as shown in the example.
- Deprecated:
- use
onNavigation
event instead
- use
Example
this.connect(this.mxform, "onAfterShow", function() { });
onBeforeShow
Called after all widgets are done loading, but before the popup form is shown.
This method is intended to be used as shown in the example.
- Deprecated:
- use
onNavigation
event instead
- use
Example
this.connect(this.mxform, "onBeforeShow", function() { });