anura-reset

<anura-reset adapter="some-adapter" target="aside > *"></anura-reset>

A simple reset button, designed to reset all known anura- navigational components.

Screenshot of anura-reset

Hold down Shift + Ctrl to also clear the local storage and state attributes, and then reload the page.

Attributes

adapter

required: yes, live: no, default: -

With which adapter to talk to (to load the values from)

target

required: yes, live: on-load, default: -

Whom to reset when clicked. Must be a querySelector-able expression, auch as #my-filter-1, #my-filter-2 or simply all from a parent like aside > *

Parts

<button part="reset-button">
    <anura-icon part="reset-icon"></anura-icon>
    <span part="reset-text"></span>
</button>