RAISED EVENTS

OVERVIEW

Raised events are custom events, created on widgets in masters, that allow you to design different responses (i.e. assign different cases) for each individual instance of the master.


You might use a raised event when you'd like a "next" button featured in a master to link to a different "next" page in each instance. You'd also use a raised event in situations where you want widgets inside a master to affect (show, hide, set text, etc.) widgets outside of the master.

MORE RESOURCES

© 2002-2016 Axure Software Solutions, Inc. All rights reserved. Axure ® is a registered trademark of Axure Software Solutions, Inc.

AXURE

RESOURCES

LEGAL

CONNECT

EMAIL

RAISING AN EVENT

To create a raised event, first open a master on the canvas.


Select the widget in the master that will raise the event (e.g. the "next" button) and then double-click the event in the Properties tab that will raise your special event (e.g. the OnClick). The Case Editor will open.


In the Case Editor, at the very end of the list of actions in the left column, is the "Raise Event" action. (This option is only visible when editing a master.) In the right column, you can create a new raised event and manage all raised events on the current master.


(You can also manage all raised events in your open master via the "Arrange > Manage Raised Events" menu command.)


Click the green "+" to add a new raised event. Do a slow double-click on the event name to rename it. It helps to give the raised event a descriptive name like "OnNextButtonClick".


You can use the blue "up" and "down" arrows to reorder raised events. Click the red "x" button to delete a raised event.

USING A RAISED EVENT

Once you've created a raised event on some widget in a master, each instance of that master will have its own version of that raised event which you can then harness to prepare a unique response.


Add your master to a page and then click to select it. In the Inspector's Properties tab, your raised event will now be listed; for example it will show "OnNextButtonClick" if you've been following along with us. Double-click the raised event name to add a case, just like when creating a case on a typical widget.


To continue our example: you might add your master to "Page 1" and create an OnNextButtonClick case that links to "Page 2"; and then add your master to "Page 2" and create an OnNextButtonClick case that links to "Page 3"; etc.