The ConstrainDOMString dictionary is used to specify a constraint a property whose value is a string. It allows you to specify or more exact string values from which one must be the parameter's or a set of ideal values which should be used if possible. You also specify a single string (or an array of strings) which the agent will do its best to match once all more stringent constraints been applied.
The ConstrainDOMString dictionary is used to specify a constraint a property whose value is a string. It allows you to specify or more exact string values from which one must be the parameter's or a set of ideal values which should be used if possible. You also specify a single string (or an array of strings) which the agent will do its best to match once all more stringent constraints been applied.
(exact this)
Property.
Either a single DOMString which must be the value of the property, an array of DOMString objects one of which must be the property's If the property can't be set to one of the listed values, matching fail.
Property. Either a single DOMString which must be the value of the property, an array of DOMString objects one of which must be the property's If the property can't be set to one of the listed values, matching fail.
(ideal this)
Property.
Either a single DOMString or an arrray of DOMStrings specifying values for the property. If possible, one of the listed values be used, but if it's not possible, the user agent will use the possible match.
Property. Either a single DOMString or an arrray of DOMStrings specifying values for the property. If possible, one of the listed values be used, but if it's not possible, the user agent will use the possible match.
(set-exact! this val)
Property.
Either a single DOMString which must be the value of the property, an array of DOMString objects one of which must be the property's If the property can't be set to one of the listed values, matching fail.
Property. Either a single DOMString which must be the value of the property, an array of DOMString objects one of which must be the property's If the property can't be set to one of the listed values, matching fail.
(set-ideal! this val)
Property.
Either a single DOMString or an arrray of DOMStrings specifying values for the property. If possible, one of the listed values be used, but if it's not possible, the user agent will use the possible match.
Property. Either a single DOMString or an arrray of DOMStrings specifying values for the property. If possible, one of the listed values be used, but if it's not possible, the user agent will use the possible match.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close