CSSNumericValue
Generated.swift:892class CSSNumericValue
class CSSNumericValue
import CSSOM
class CSSStyleValue
protocol Any_CSSNumberish : ConvertibleToJSValue
protocol Any_CSSPerspectiveValue : ConvertibleToJSValue
protocol Any_CSSStyleValue_or_String : ConvertibleToJSValue
protocol ConstructibleFromJSValue
Types conforming to this protocol can be constructed from JSValue
.
protocol ConvertibleToJSValue
Objects that can be converted to a JavaScript value, preferably in a lossless manner.
protocol Copyable
A type whose values can be implicitly or explicitly copied.
protocol CustomStringConvertible
A type with a customized textual representation.
protocol Escapable
protocol JSBridgedClass : JSBridgedType
Conform to this protocol when your Swift class wraps a JavaScript class.
protocol JSBridgedType : ConstructibleFromJSValue, ConvertibleToJSValue, CustomStringConvertible
Use this protocol when your type has no single JavaScript class. For example, a union type of multiple classes or primitive values.
required init(unsafelyWrapping jsObject: JSObject)
override class var constructor: JSFunction? { get }
class func parse(cssText: String) -> Self
func add(values: CSSNumberish...) -> Self
func div(values: CSSNumberish...) -> Self
func equals(value: CSSNumberish...) -> Bool
func max(values: CSSNumberish...) -> Self
func min(values: CSSNumberish...) -> Self
func mul(values: CSSNumberish...) -> Self
func sub(values: CSSNumberish...) -> Self
func to(unit: String) -> CSSUnitValue
func toSum(units: String...) -> CSSMathSum
func type() -> CSSNumericType
class CSSMathValue
class CSSUnitValue