prehung
Import from bear/catalog/doors/prehung.
Interfaces
Swing
Defined in: bear/catalog/doors/prehung.tsx:40
Where a door's hinges are (the opening's roLeft or roRight jamb) and the side of its wall it swings into.
Properties
UnitSpec
Defined in: bear/catalog/doors/prehung.tsx:54
A unit's sizes, all in project units.
Properties
Type Aliases
Handing
type Handing = "LH" | "RH" | "LHR" | "RHR";Defined in: bear/catalog/doors/prehung.tsx:37
Functions
prehung()
function prehung<P>(
Unit,
props,
spec,
leaf
): BearElement;Defined in: bear/catalog/doors/prehung.tsx:110
The unit, laid in the Opening that hosts it. Unit is the product's own
part, so a schedule and a plan find the door by it.
Type Parameters
Parameters
| Parameter | Type |
|---|---|
Unit | PartDef<P> |
props | P |
spec | UnitSpec |
leaf | { hatch: HatchPattern; material: MaterialDescriptor; text: string; } |
leaf.hatch | HatchPattern |
leaf.material | MaterialDescriptor |
leaf.text | string |
Returns
swingOf()
function swingOf(handing): Swing;Defined in: bear/catalog/doors/prehung.tsx:46
Seen from the exterior, the opening's roLeft jamb is on the left.
Parameters
| Parameter | Type |
|---|---|
handing | Handing |