ant-design-blazor/components/core/JsInterop/modules/enums.ts
Andrzej Bakun 29e3ce3583 refactor(interop): reorganization into classes and typescript tests (#1791)
* fix(module:interop): reorganization into classes

* comments clean-up

* Add typescript test project

* fix: sync with pull request #1765: support drag

* github test action fix attempt

* tests: jsinterop test mock fix

* codecov added to ts tests

* add generated split js to gitignore

* fix: coverage github action

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-07-29 22:45:47 +08:00

15 lines
384 B
TypeScript

export enum FocusBehavior {
/// <summary>
/// When focuses, cursor will move to the last character.
/// This is default behavior.
/// </summary>
FocusAtLast,
/// <summary>
/// When focuses, cursor will move to the first character
/// </summary>
FocusAtFirst,
/// <summary>
/// When focuses, the content will be selected
/// </summary>
FocusAndSelectAll
}