Get to know MDN better
このページはコミュニティーの尽力で英語から翻訳されました。MDN Web Docs コミュニティーについてもっと知り、仲間になるにはこちらから。
This feature is not Baseline because it does not work in some of the most widely-used browsers.
Experimental: これは実験的な機能です。
本番で使用する前にブラウザー互換性一覧表をチェックしてください。
parse() は CSSNumericValue インターフェイスのメソッドで、値の文字列をメンバーが値と単位となっているオブジェクトに変換します。
数値と単位の部分を持つ文字列です。
CSSNumericValue です。
TBD
以下は、unit プロパティが "px" で、value プロパティが 42 である CSSUnitValue オブジェクトを返すものです。
| CSS Typed OM Level 1 # dom-cssnumericvalue-parse |
Enable JavaScript to view this browser compatibility table.
This page was last modified on 2023年8月3日 by MDN contributors.
Your blueprint for a better internet.
Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2026 by individual mozilla.org contributors. Content available under a Creative Commons license.