 class="qm-html-paragraph">Gets the background context class of an element. </div><div class="qm-html-paragraph"><div class="qm-code-highlight-codeblock language-js"><pre><code class="qm-code-font"><span class="hljs-comment">// gets the context of the element (by looking at the class of the element)</span>
hx.palette.backgroundContext(<span class="hljs-string">'.my-element'</span>)</code></pre></div> </div></div><div class="qm-api-group qm-api-arg-group"><div class="qm-api-group-header qm-api-arg-group-head