Notes/apps/client/src/widgets/mobile_widgets/screen_container.ts

16 lines
532 B
TypeScript
Raw Normal View History

2025-02-01 14:45:12 +02:00
import type { EventData } from "../../components/app_context.js";
import type BasicWidget from "../basic_widget.js";
import FlexContainer, { type FlexDirection } from "../containers/flex_container.js";
export default class ScreenContainer extends FlexContainer<BasicWidget> {
private screenName: string;
constructor(screenName: string, direction: FlexDirection) {
super(direction);
this.screenName = screenName;
}
activeScreenChangedEvent({ activeScreen }: EventData<"activeScreenChanged">) {}
}