foo-webview-sdk
    Preparing search index...

    Interface TrayMenuItemClickedPayload

    Payload of the tray:menuItemClicked event. A row of the tray menu was chosen, or a rich control in it changed value. The built-in playback and system rows, and rows that declare playbackAction, run natively and send nothing. With render: 'webview' a rich control reports every change and the menu stays open; the default native menu closes on each pick, offers a slider as five stops and shows a segmented row as an ordinary row, which reports no value.

    interface TrayMenuItemClickedPayload {
        id: string;
        value?: number;
    }
    Index
    id: string

    The row's id; "" for a row without one.

    value?: number

    The new value of a rich control: stars 0 to 5 for rating (0 clears), a value within min to max for slider, the index of the chosen segment for segmented. Absent for other rows.