getdom.ts

10 lines | 473 B Blame History Raw Download
import { NotificationBubbles } from "../codeeditor-app/elements/notification-bubbles/notification-bubbles";
import { OutputFrame } from "../codeeditor-app/elements/output-frame/output-frame";

export function GetNotificationBubbles(): NotificationBubbles {
    return <NotificationBubbles>document.getElementsByTagName("notification-bubbles")[0];
}

export function GetOutputFrame(): OutputFrame {
    return <OutputFrame>document.getElementsByTagName("output-frame")[0];
}