Closed novacbn closed 2 years ago
Added the following Actions / Action Features
overflow_clipping(element: HTMLElement, options: IOverflowClippingOptions): IOverflowClippingHandle — Detects when the inner content is clipping the attached element's bounding box.
overflow_clipping(element: HTMLElement, options: IOverflowClippingOptions): IOverflowClippingHandle
overflow_clipping(..., {enabled: boolean})
overflow_clipping(..., {on_clip: (entry: {horizontal: boolean, vertical: boolean}) => void})
Added the following Components / Component Features
Layouts
Scrollable
<Scrollable on:scroll>
Preview: https://novacbn-kahi-ui-pr-94-run-471.surge.sh
Preview: https://novacbn-kahi-ui-pr-94-run-479.surge.sh
CHANGELOG
Added the following Actions / Action Features
overflow_clipping(element: HTMLElement, options: IOverflowClippingOptions): IOverflowClippingHandle
— Detects when the inner content is clipping the attached element's bounding box.overflow_clipping(..., {enabled: boolean})
— Enables content clipping detection.overflow_clipping(..., {on_clip: (entry: {horizontal: boolean, vertical: boolean}) => void})
— Dispatches whenever the content clipping changes.Added the following Components / Component Features
Layouts
Scrollable
<Scrollable on:scroll>
— Dispatches the scroll event.