Overview

The confirmation component is useful for prompting a user before completing an action, which is similar to the functionality of an offline desktop application. For example a confirmation component could block a deletion until the user confirms their choice. Implementing the component is simple and done through customized attributes on the tag, so developers don't have to worry about layout or styling.

In the example below:

  • » Click "Generate a Random Number", which will display a confirmation component.
  • » Click "New Number!" at the resulting prompt to generate a new random number.
0
Source Code