UNPKG

awayjs-display

Version:
23 lines (22 loc) 851 B
/** * A class that defines the Interactive mode of a text field object. * * @see away.entities.TextField#textInteractionMode */ export class 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. */ public static NORMAL:string = "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. */ public static SELECTION:string = "selection"; }