Provides UI showing the settings of a form field and allowing the user to edit the form field.
Example
var FieldEdit = require('field-edit.js');
// a generic Viewer constructor
function Viewer(opts) {
var myFieldEdit = FieldEdit(this, {
elem: document.getElementById('myFieldEdit')
});
}
Fires:
Listens to Events:
(require("field-edit"))(viewer, options)
Creates the field editing UI module.
Parameters:
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
viewer |
Core |
The core viewer to which the module will attach. | ||||||
options |
Object |
An options object. Properties
|