HTML
Rarely, we may want to get the content of an element as html.
<div class="parent">
<div class="blue">Blue Text</div>
</div>
{
"parentHTML": {
"selector": ".parent",
"html": true
}
}
// or use this shortcut
{
"parentHTML": ".parent | html"
}
{
"parentHTML": "<div class=\"blue\">Blue Text</div>"
}
Last updated
Was this helpful?