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 |
|---|---|---|---|---|
|
data-simulate-click
|
eg. #link | string | - | A string with a target element. This target multiple or single elements. |
|
id
|
string | - | The DOM id of the component. | |
|
classList
|
[] | array | - | Array containing wrapping classes array |
|
attributeList
|
[] | array | - | Array containing keys and values rendered as attributes |