@omnia/fx
Version:
Provide Omnia Fx typings and tooling for clientside Omnia development.
33 lines (32 loc) • 1.05 kB
TypeScript
import { AnimatedGifToolbarProperties, AnimatedGifMenuBar, TipTapEditor } from "../../../../models";
import { ToolbarExtension } from "../../ToolbarExtension";
import { OmniaTheming } from "@omnia/fx/ux";
import "./AnimatedGif.css";
export default class AnimatedGifToolbar extends ToolbarExtension implements AnimatedGifToolbarProperties {
menubar: AnimatedGifMenuBar;
editor: TipTapEditor;
onContentChanged?: (content: string) => void;
omniaTheming: OmniaTheming;
private loc;
private omniaUxLoc;
private showAnimatedGifs;
private keyword;
private maxHeight;
private maxWidth;
private isLoading;
private animatedGifClasses;
private giphyFetch;
private omniaUrl;
created(): void;
mounted(): void;
updated(): void;
private renderGrid;
private onGifsFetched;
private onCloseAnimatedGifs;
private getEditorState;
private fetchGifs;
private onGifChoose;
render(): VueTsxSupport.JSX.Element;
private renderGifs;
private renderAnimatedGifsDialog;
}