mithril-materialized
    Preparing search index...

    Interface PushpinOptions

    interface PushpinOptions {
        bottom?: number;
        offset?: number;
        onPositionChange?: (position: "pin-top" | "pinned" | "pin-bottom") => void;
        top?: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    bottom?: number

    Distance from bottom of page where element stops being fixed

    offset?: number

    Offset for calculations

    onPositionChange?: (position: "pin-top" | "pinned" | "pin-bottom") => void

    Called when pushpin position changes

    top?: number

    Distance from top of page where element becomes fixed