awayjs-display
Version:
AwayJS displaylist classes
28 lines • 1.12 kB
JavaScript
/**
* A class that defines the Interactive mode of a text field object.
*
* @see away.entities.TextField#textInteractionMode
*/
var TextInteractionMode = (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;
}());
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = TextInteractionMode;
//# sourceMappingURL=TextInteractionMode.js.map
;