2024-09-17 23:03:00 +02:00

36 lines
1.9 KiB
HTML

<!--
Copyright JS Foundation and other contributors, http://js.foundation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<script type="text/html" data-help-name="html">
<p>Extrahuje prvky z dokumentu HTML obsiahnutého v <code>msg.payload</code> pomocou CSS selektora.</p>
<h3>Vstupy</h3>
<dl class="message-properties">
<dt>payload <span class="property-type">reťazec znakov</span></dt>
<dd>HTML reťazec, z ktorého sa majú extrahovať prvky.</dd>
<dt class="optional">select <span class="property-type">reťazec znakov</span></dt>
<dd>ak nie je nakonfigurovaný v editačnom paneli, selektor môže byť nastavený ako vlastnosť správy.</dd>
</dl>
<h3>Výstup</h3>
<dl class="message-properties">
<dt>payload <span class="property-type">pole | reťazec znakov</span></dt>
<dd>výsledok môže byť buď jedna správa s nákladom obsahujúcim pole zodpovedajúcich prvkov, alebo viacero
správ, z ktorých každá obsahuje jeden zodpovedajúci prvok. Ak je odoslaných viacero správ, budú mať tiež definované <code>parts</code> (časti).</dd>
</dl>
<h3>Detaily</h3>
<p>Tento uzol podporuje kombináciu CSS a jQuery selektorov. Viac informácií o podporovanej syntaxe nájdete v
<a href="https://github.com/fb55/CSSselect#user-content-supported-selectors" target="_blank">dokumentácii css-select</a>.</p>
</script>