Replies: 2 comments
-
MultipleGet multiple elements instead of one. Like when you're using the Get text block with Mark elementThis will mark the element that means it will not be selected if it has been selected before by the same block. For example, when you have Get text block with <div>
<p class="text" id="1">Text</p>
<p class="text" id="2">Text</p>
<p class="text" id="3">Text</p>
<p class="text" id="4">Text</p>
</div> When the Get text block is being executed, it get the first element that match the selector which is <div>
<p class="text" id="1" block--block-id>Text</p>
<p class="text" id="2">Text</p>
<p class="text" id="3">Text</p>
<p class="text" id="4">Text</p>
</div> And in case after the Get text block you have Repeat task block and you connect the BubblesThis option is to tell whether the event bubbles or not. In javascript when an event is triggered in an element, it will execute the handler of the element first and then the parent of the element, and then all the way up. And that what bubbles is, for example, when a website have a DOM tree like this <div>
<form>
<input />
</form>
</div> when you trigger the Read more at the MDN page Cancelable
Read more about the cancelable at the MDN page Code & KeyBasically, code & key is property to tell which key is pressed. Like when you want to trigger
Read more about the
Read more about Repeat
Read more about SubmitTo trigger submit event in the |
Beta Was this translation helpful? Give feedback.
-
I am not sure what the following options are capable of.
Please describe what each of these can be used for:
• Multiple
• Mark Elements
• Bubbles
• Cancelable
• Trigger Event
• Code & Key (under "Trigger Event" > "Keypress" )
• Repeat (under "Trigger Event" > "Keypress" )
• Submit (under "Trigger Event")
Beta Was this translation helpful? Give feedback.
All reactions