Interface CSSMathMax
interface CSSMathMax {
operator: CSSMathOperator;
values: CSSNumericArray;
add(...values: CSSNumberish[]): CSSNumericValue;
div(...values: CSSNumberish[]): CSSNumericValue;
equals(...value: CSSNumberish[]): boolean;
max(...values: CSSNumberish[]): CSSNumericValue;
min(...values: CSSNumberish[]): CSSNumericValue;
mul(...values: CSSNumberish[]): CSSNumericValue;
sub(...values: CSSNumberish[]): CSSNumericValue;
to(unit: string): CSSUnitValue;
toString(): string;
toSum(...units: string[]): CSSMathSum;
type(): CSSNumericType;
}
operator: CSSMathOperator;
values: CSSNumericArray;
add(...values: CSSNumberish[]): CSSNumericValue;
div(...values: CSSNumberish[]): CSSNumericValue;
equals(...value: CSSNumberish[]): boolean;
max(...values: CSSNumberish[]): CSSNumericValue;
min(...values: CSSNumberish[]): CSSNumericValue;
mul(...values: CSSNumberish[]): CSSNumericValue;
sub(...values: CSSNumberish[]): CSSNumericValue;
to(unit: string): CSSUnitValue;
toString(): string;
toSum(...units: string[]): CSSMathSum;
type(): CSSNumericType;
}
Hierarchy
- CSSMathValue
- CSSMathMax (View Summary)
Methods
add
- add(...values: CSSNumberish[]): CSSNumericValue
Parameters
- ...values: CSSNumberish[]
Returns CSSNumericValue
div
- div(...values: CSSNumberish[]): CSSNumericValue
Parameters
- ...values: CSSNumberish[]
Returns CSSNumericValue
equals
- equals(...value: CSSNumberish[]): boolean
Parameters
- ...value: CSSNumberish[]
Returns boolean
max
- max(...values: CSSNumberish[]): CSSNumericValue
Parameters
- ...values: CSSNumberish[]
Returns CSSNumericValue
min
- min(...values: CSSNumberish[]): CSSNumericValue
Parameters
- ...values: CSSNumberish[]
Returns CSSNumericValue
mul
- mul(...values: CSSNumberish[]): CSSNumericValue
Parameters
- ...values: CSSNumberish[]
Returns CSSNumericValue
sub
- sub(...values: CSSNumberish[]): CSSNumericValue
Parameters
- ...values: CSSNumberish[]
Returns CSSNumericValue
to
- to(unit: string): CSSUnitValue
Parameters
- unit: string
Returns CSSUnitValue
toString
toSum
- toSum(...units: string[]): CSSMathSum
Parameters
- ...units: string[]
Returns CSSMathSum
type
- type(): CSSNumericType
Returns CSSNumericType
MDN Reference