StrikekitStrikekit

dismiss

Arm dismissal of the next matching browser dialog

Arm dismissal of the next browser dialog whose message contains the quoted fragment. Must run before the triggering action.

Syntax

When I dismiss "<message-fragment>"

Requirements

ItemContract
Element / control shapeNone — arms the next browser dialog for dismiss
How the label bindsMessage fragment (payload)
Qualifiers that change resolveNone
PlatformWeb
Wrong shape → use insteadSame as accept

See also UI contracts.

Examples

When I dismiss "Session expired"
When I click on "Logout"

On this page