@readium/navigator-html-injectables
Version:
An embeddable solution for connecting frames of HTML publications with a Readium Navigator
46 lines (43 loc) • 769 B
text/typescript
export type CommsEventKey =
"_pong" |
"_unhandled" |
"_ack" |
"log" |
"error" |
"click" |
"tap" |
"tap_more" |
"no_more" |
"no_less" |
"swipe" |
"scroll" |
"progress" |
"first_visible_locator" |
"text_selected" |
"media_play" |
"media_pause";
;
export type CommsCommandKey =
"_ping" |
"go_prev" |
"go_next" |
"go_id" |
"go_text" |
"go_end" |
"go_start" |
"go_progression" |
"get_properties" |
"update_properties" |
"set_property" |
"remove_property" |
// "exact_progress" |
"first_visible_locator" |
"decorate" |
"protect" |
"unprotect" |
"unfocus" |
"focus" |
"activate" |
"shake" |
"force_webkit_recalc";
;