Readonlyactiveselector string, used to determine the container/s to search through
Readonlycontextselector string, used to find the elements to count within the container
ReadonlyhasReadonlyhasReadonlyhasoverride pluralization strings, e.g. data-w-count-labels-value='["One item","Many items"]'
Readonlylabelminimum value, anything equal or below will trigger blank labels in the UI
Readonlytotaltotal current count of found elements
StaticblessingsStaticclassesStaticoutletsStatictargetsStaticvaluesStaticshouldStaticafter
Adds the ability for a controlled element to update the total count of selected elements within the provided container selector, defaults to
body.Example
Example: add class when count of `.item` in `.items` is above 3