UNPKG

@awayjs/scene

Version:
26 lines (25 loc) 1 kB
/** * A class that defines the Interactive mode of a text field object. * * @see away.entities.TextField#textInteractionMode */ var TextInteractionMode = /** @class */ (function () { function TextInteractionMode() { } /** * The text field's default interaction mode is NORMAL and it varies across * platform. On Desktop, the normal mode implies that the text field is in * scrollable + selection mode. On Mobile platforms like Android, normal mode * implies that the text field can only be scrolled but the text can not be * selected. */ TextInteractionMode.NORMAL = 'normal'; /** * On mobile platforms like Android, the text field starts in normal mode * (which implies scroll and non-selectable mode). The user can switch to * selection mode through the in-built context menu of the text field object. */ TextInteractionMode.SELECTION = 'selection'; return TextInteractionMode; }()); export { TextInteractionMode };