CSSFunctionRule: returnType プロパティ
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
Experimental: これは実験的な機能です。
本番で使用する前にブラウザー互換性一覧表をチェックしてください。
returnType は CSSFunctionRule インターフェイスのプロパティで、このカスタム関数の返値の型を表す文字列を返します。
値
文字列です。
関連付けられた @function アットルールに返値の型が指定されていない場合、returnType は * を返します。
例
例については主となる CSSFunctionRule のリファレンスページを参照してください。
仕様書
| Specification |
|---|
| CSS Functions and Mixins Module> # dom-cssfunctionrule-returntype> |