Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The add
method of the CustomStateSet
interface adds an item to the CustomStateSet
, after checking that the value is in the correct format.