Package #runtime/svelte/store/position

    Provides a reactive compound store and related actions for advanced and optimized positioning of elements including essential animation / tweening and validation of positional changes. TJSPosition is the main reactive store along with the applyPosition and draggable actions to respectively attach a TJSPosition instance to an element in a Svelte template and make it draggable. Additionally, CQPositionValidate provides an adjunct reactive store to perform validation of a TJSPosition instance validating container query types (inline-size / size) against the positional state that may cause indeterminate states for container queries.

    Classes

    CQPositionValidate
    TJSPosition

    Functions

    applyPosition
    draggable

    Namespaces

    draggable
    TJSPosition