Class SfCarretPositionDirective
Hierarchy
-
SfCarretPositionDirective
Constructors
constructor
-
Parameters
-
element: ElementRef
-
window: any
-
document: any
Properties
Private document
document: any
Private element
element: ElementRef
Private window
window: any
Methods
onFocus
- onFocus(target: any): void
-
Parameters
Returns void
Private placeCaretAtEnd
-
Returns void
API reference for SfCarretPositionDirective
import {SfCommonModule} from "@progress/sitefinity-component-framework";
attribute:
sfCarretPosition
description: Sets the carret at the end of input/contenteditable element