PatternWatcher
Extends EventEmitter
Represents a monitored pattern string.
Returned from the watch method.
Methods
unwatch
()
Stops monitoring this pattern string for changes
Properties
pattern
String
Returns the pattern string being watched
resolved
String
Returns the current resolved display string
Events
changed
Fired when the resolved display string has changed
Event Payload:
-
resolvedStringThe new resolved display string
-
sourcePatternWatcherThis object
Cantabile JavaScript API