awayjs-display
Version:
AwayJS displaylist classes
23 lines (22 loc) • 871 B
TypeScript
/**
* A class that defines the Interactive mode of a text field object.
*
* @see away.entities.TextField#textInteractionMode
*/
declare 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.
*/
static NORMAL: string;
/**
* 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.
*/
static SELECTION: string;
}
export default TextInteractionMode;