Module mahalo/change-detection/key
Functions
executeCallbacks
- executeCallbacks(obj: Object, key: string | number, oldValue: any): void
Parameters
obj: Object
key: string | number
oldValue: any
Returns void
hasCallbacks
- hasCallbacks(obj: any): boolean
Parameters
Returns boolean
observe
- observe(obj: Object | Scope, key: string | number, callback: Function): void
Parameters
obj: Object | Scope
key: string | number
callback: Function
Returns void
scheduleCheck
Returns void
unobserve
- unobserve(obj: Object, key: string | number, callback: Function): void
Parameters
obj: Object
key: string | number
callback: Function
Returns void
This module holds logic for observing keys of objects.