Demonstrates how to use an Alert Box. When the page loads, an alert box opens to display the phrase 'Hello World!'.
To try these parts as used, simply copy and paste the following snippet of HTML into a Constructible HTML file.
<div script="http://js.constructibl.es/specs/Alert.js"
id="alert_box"
spec="9BEFB88F8AFA45ADB3745328FF54D667">
</div>
<div properties="emits_when_triggered:'Hello World!', does_trigger_automatically:true"
script="http://js.constructibl.es/specs/Trigger.js"
id="trigger"
spec="4B7A1FD417F541BDBB4748829ADE97FF">
</div>
Was this example helpful? Do you have any questions? Tell us about it below!