@livetv-app/tvguide
Version:
An Android TV Live Channels-like Electronic Programme Guide for React DOM and React Native applications.
16 lines (15 loc) • 1.18 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.KeypressResult = void 0;
var KeypressResult;
(function (KeypressResult) {
KeypressResult[KeypressResult["OK"] = 0] = "OK";
/** [L,R; U/D when wrap = false] Used when the scroll position wasn't moved as we are already at the scroll boundary */
KeypressResult[KeypressResult["IGNORED_DUE_TO_BOUNDARY"] = 1] = "IGNORED_DUE_TO_BOUNDARY";
/** [S] Used when the onSelectChannel hooks wasn't called as the highlighted channel is the same as the channel prop */
KeypressResult[KeypressResult["IGNORED_AS_CHANNEL_ALREADY_SELECTED"] = 2] = "IGNORED_AS_CHANNEL_ALREADY_SELECTED";
/** [LS] Used when programme actions weren't shown as no programme was selected */
KeypressResult[KeypressResult["IGNORED_AS_NO_PROGRAMME_SELECTED"] = 3] = "IGNORED_AS_NO_PROGRAMME_SELECTED";
/** [LS] Used when programme actions weren't shown as the selected programme doesn't have any actions */
KeypressResult[KeypressResult["IGNORED_AS_PROGRAMME_HAS_NO_ACTIONS"] = 4] = "IGNORED_AS_PROGRAMME_HAS_NO_ACTIONS";
})(KeypressResult = exports.KeypressResult || (exports.KeypressResult = {}));