CSSFunctionRule: returnType property
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The returnType
property of the CSSFunctionRule
interface returns a string representing the custom function's return type.
Value
A string.
If no return type is specified in the associated @function
at-rule, returnType
returns *
.
Examples
See the main CSSFunctionRule
reference page for an example.
Specifications
Specification |
---|
CSS Functions and Mixins Module> # dom-cssfunctionrule-returntype> |
Browser compatibility
Loading…