flexlayout-react
Version:
A multi-tab docking layout manager
23 lines • 513 B
JavaScript
export class Orientation {
static flip(from) {
if (from === Orientation.HORZ) {
return Orientation.VERT;
}
else {
return Orientation.HORZ;
}
}
/** @internal */
constructor(name) {
this._name = name;
}
getName() {
return this._name;
}
toString() {
return this._name;
}
}
Orientation.HORZ = new Orientation("horz");
Orientation.VERT = new Orientation("vert");
//# sourceMappingURL=Orientation.js.map