A callback method that is invoked immediately after the
default change detector has checked the directive's
data-bound properties for the first time,
and before any of the view or content children have been checked.
It is invoked only once when the directive is instantiated.
Returns void
ngOnChanges
ngOnChanges(changes): void
A callback method that is invoked immediately after the
default change detector has checked data-bound properties
if at least one has changed, and before the view and content
children are checked.
Parameters
changes: SimpleChanges
The changed properties.
Returns void
ngOnDestroy
ngOnDestroy(): void
A callback method that performs custom clean-up, invoked immediately
before a directive, pipe, or service instance is destroyed.
getResizeHandles(shape): ({ Â Â Â Â x: any; Â Â Â Â y: any; Â Â Â Â isCenter: boolean; } | { Â Â Â Â x: any; Â Â Â Â y: any; Â Â Â Â isCenter: boolean; })[]
Parameters
shape: any
Returns ({ Â Â Â Â x: any; Â Â Â Â y: any; Â Â Â Â isCenter: boolean; } | { Â Â Â Â x: any; Â Â Â Â y: any; Â Â Â Â isCenter: boolean; })[]
getHandleAtPosition
getHandleAtPosition(x, y): undefined | null | { Â Â Â Â x: any; Â Â Â Â y: any; Â Â Â Â isCenter: boolean; }
Parameters
x: number
y: number
Returns undefined | null | { Â Â Â Â x: any; Â Â Â Â y: any; Â Â Â Â isCenter: boolean; }
A callback method that is invoked immediately after the default change detector has checked the directive's data-bound properties for the first time, and before any of the view or content children have been checked. It is invoked only once when the directive is instantiated.