Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SfCarretPositionDirective

API reference for SfCarretPositionDirective

import {SfCommonModule} from "@progress/sitefinity-component-framework";


attribute: sfCarretPosition description: Sets the carret at the end of input/contenteditable element

Hierarchy

  • SfCarretPositionDirective

Index

Constructors

Properties

Methods

Constructors

constructor

  • Parameters

    • element: ElementRef
    • window: any
    • document: any

    Returns SfCarretPositionDirective

Properties

Private document

document: any

Private element

element: ElementRef

Private window

window: any

Methods

onFocus

  • onFocus(target: any): void
  • Parameters

    • target: any

    Returns void

Private placeCaretAtEnd

  • placeCaretAtEnd(): void
  • Returns void

Generated using TypeDoc