Simulate click

When a dom object is clicked with simulate click attribute the default action of the object will be prevented. A click event will then be sent to the target defined in the data attribute.

Parameters (Blade)

Key Default value Type Available values Description
eg. #link string - A string with a target element. This target multiple or single elements.
string - The DOM id of the component.
[] array - Array containing wrapping classes array
[] array - Array containing keys and values rendered as attributes