Results 1 - 1 of 1

CSSPrimitiveValue.setFloatValue()

The setFloatValue() method of the CSSPrimitiveValue interface is used to set a float value. If the property attached to this value can't accept the specified unit or the float value, the value will be unchanged and a DOMException will be raised.
API CSSPrimitiveValue Method NeedsBrowserCompatibility NeedsExample NeedsMobileBrowserCompatibility setFloatValue