Credential: type プロパティ
Baseline
Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since 2019年9月.
type
は Credential
インターフェイスのプロパティで、視覚情報の種類が入った文字列を返します。有効な値は password
、federated
、public-key
です。
値
この資格情報に与えられた名前の入った文字列です。
例
js
// TBD
仕様書
Specification |
---|
Credential Management Level 1> # dom-credential-type> |
ブラウザーの互換性
Loading…