Constructor
new module:br-presenter /util /Error Monitor(Node)
Parameters:
Name | Type | Description |
---|---|---|
Node |
module:br-presenter |
representing the tool tip model. |
Methods
add Error Listeners()
Filters all nodes of type {@see br-presenter/node/ToolTipField} and monitors them using {@see ErrorMonitor#monitorField}
forget Field(oField)
Removes the automatic monitoring of the supplied Field, and removes it from the list of current errors if the field is currently in an error state.
Parameters:
Name | Type | Description |
---|---|---|
oField |
module:br-presenter |
monitor Field(oField)
Monitors a Field to automatically add it as an error when it enters an error state and remove it once that error is resolved.
Parameters:
Name | Type | Description |
---|---|---|
oField |
module:br-presenter |
remove Error Listeners(pGroups)
removes all error subscriptions for the given fields
Parameters:
Name | Type | Description |
---|---|---|
pGroups |
Array | fields we want to forget |