Class

RezModalTransformer

RezModalTransformer()

Constructor

# new RezModalTransformer()

Transformer that wires up modal dismiss buttons.

Adds click handlers to any element with a data-rez-dismiss-modal attribute. On click, clears the game's modal state and triggers a view update. The selector is intentionally unrestricted — modal HTML lives in the game layout wrapper, outside the div.rez-evented card content area.

View Source rez_view.js, line 959

Extends