You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The method to call on the target element(s) when the event is handled. The
81
+
method must be ***publicly accessible*** on the element object, not an internal
82
+
or private API.
83
+
84
+
```
85
+
<fluid-triggered-method method="callMe">
60
86
</fluid-triggered-method>
61
87
```
62
88
63
89
### `targets` attribute
64
90
65
91
`String<CSS Selector>`
66
92
67
-
Array of element nodes to invoke the method on when the event is handled. If omitted, `<fluid-triggered-method>` will invoke the method on its `parentElement` or its `host`.
93
+
Array of element nodes to invoke the method on when the event is handled. If
94
+
omitted, `<fluid-triggered-method>` will invoke the method on it's `host` or
95
+
it's `parentElement`.
68
96
69
97
```html
70
98
<fluid-triggered-methodtargets="">
71
99
</fluid-triggered-method>
72
100
```
73
101
102
+
### `cancel` attribute
103
+
104
+
`Boolean`
105
+
106
+
Event behaves as if `preventDefault()` has been called on it.
If [`stop` attribute](#stopattribute) is `true`, then when the event is handled, `stopImmediatePropagation()` will be called on it, preventing further bubbling.
0 commit comments