Readonly
activeselector string, used to determine the container/s to search through
Readonly
contextselector string, used to find the elements to count within the container
Readonly
hasReadonly
hasReadonly
hasoverride pluralization strings, e.g. data-w-count-labels-value='["One item","Many items"]'
Readonly
labelminimum value, anything equal or below will trigger blank labels in the UI
Readonly
totaltotal current count of found elements
Static
blessingsStatic
classesStatic
outletsStatic
targetsStatic
valuesStatic
shouldStatic
after
Adds the ability for a controlled element to update the total count of selected elements within the provided container selector, defaults to
body.
Example