Layers.hideOutside# const · packages/primitives/src/interaction/layers.ts:34
const hideOutside : < Slots > (
slots: Slots ,
) => < Input , ParentMessage >( options: {
readonly container: keyof Slots & string
}) => Behavior . NamedBehavior < Slots , Input , ParentMessage > Marks everything outside the container inert while it is mounted.
Layers.hideOutsideMount# const · packages/primitives/src/dom/layers.ts:28
const hideOutsideMount: Mount . MountDefinitionNoArgs < 'HideOutside' , never > Makes everything outside the element inert while it is mounted, and restores it after.
const · packages/primitives/src/interaction/layers.ts:31
const scrollLock : < Slots > (
slots: Slots ,
) => < Input , ParentMessage >( options: {
readonly container: keyof Slots & string
}) => Behavior . NamedBehavior < Slots , Input , ParentMessage > Locks the document's scroll while the container is mounted; nested locks release together.
const · packages/primitives/src/dom/layers.ts:17
const scrollLockMount: Mount . MountDefinitionNoArgs < 'ScrollLock' , never > Locks the document's scroll while the element is mounted; nested locks release with the last.