This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
Doric/doric-web/src/shader/DoricSlideItemNode.ts
2021-04-22 14:57:51 +08:00

16 lines
440 B
TypeScript

import { DoricContext } from "../DoricContext";
import { DoricStackNode } from "./DoricStackNode";
export class DoricSlideItemNode extends DoricStackNode {
constructor(context: DoricContext) {
super(context)
this.reusable = true
}
build() {
const ret = super.build()
ret.style.display = "inline-block"
ret.style.width = "100%"
ret.style.height = "100%"
return ret
}
}