OGPlayer Web SDK
    Preparing search index...

    Interface RailAction

    One action on the feed's right rail — the host's buttons; the SDK ships none. State changes flow by re-supplying the items array.

    interface RailAction {
        accessibilityLabel?: string;
        iconSvg: string;
        isActive?: boolean;
        label?: string;
        onClick: () => void;
    }
    Index
    accessibilityLabel?: string
    iconSvg: string

    Inline SVG markup for the icon (24×24 viewBox recommended).

    isActive?: boolean
    label?: string

    Optional label under the icon (usually a count or a state word).

    onClick: () => void