Mockitt

Adding Interaction Events

Mockitt supports adding interaction events to widgets or pages, simulating the real experience of user interaction with the product, making your prototype "move".

334-interaction.jpg

Create Interaction Events

To add an interaction event, you need to set the Trigger and the Action.

1. New Interaction

You can add interaction events to widgets or pages in two ways: via the Right Panel or via the Lightning icon next to the widget.

1.1 Adding via Right Panel Select the widget or page that will trigger the interaction. In the right sidebar, select InteractionsNew Interaction to create a new event.

1.2 Adding via Lightning Icon Select the widget that will trigger the interaction, then drag the Lightning button appearing around it to the target element to quickly create a new event.

2. Select Trigger

Choose a trigger to make the interaction event effective (e.g., Click, Double Click, Hover).

3. Select Action

Actions include Go to Page, Open Link, Switch State (Page/Component), Scroll to, and Show/Hide. The prototype will perform the corresponding interaction behavior after the event is triggered.

4. Select Target Element

When your selected event behavior is Scroll to or Show/Hide, you also need to select the target element for the jump/switch, as well as the specific transition method. You can also add transition animations.

This allows for a high-fidelity interactive experience during preview.

Please Note:

Interaction Event Details

1. Go to Page / Back / Open Link

2. Switch Component State

3. Scroll To

4. Show/Hide

5. On Load

Interactions in Dynamic Widgets

Mockitt allows you to add interaction events to elements inside a Dynamic Component, such as switching page states or other component states. This enables rich dynamic effects.

Double-click the Dynamic Component to enter the state editing mode.

You can then add interaction events to specific elements within the Dynamic Component.

Deleting Interaction Events

There are two ways to delete an added interaction event.

  1. Select the page/widget with the interaction, then click the Delete (trash can) button in the Events section of the right settings panel.

  2. When the interaction link lines are visible, select the page/widget, click the Edit icon on the link line, and then delete the event.

Event Preferences

Open the Preferences window via the Menu (top-left) > Preferences, or the Settings icon in the Interactions panel.

Settings related to events include:

  1. General - Links: You can set how interactions are identified on the canvas. Options include: Do not show, Show badges only, or Show wires and badges.

  2. Animation: You can set the default animation for switching page/component states to No Animation or Smart Animate.