LWT JavaScript API
    Preparing search index...
    • Create a status change button that uses API call.

      Parameters

      • context: WordActionContext

        Word action context

      • newStatus: number

        The status to change to

      • options: { className?: string; showAbbr?: boolean } = {}

        Button options

      Returns HTMLButtonElement

      HTMLButtonElement with click handler