HTML DOM Element isSupported() 方法
- Previous page isSameNode()
- Next page lang
- Go back to the previous level HTML DOM Elements object
定义和用法
isSupported()
方法检测指定节点是否支持指定特性。
isSupported()
方法已被弃用。请勿使用它。
语法
elementisSupported(feature, version)
Parameter
Parameter | Description |
---|---|
feature | Required. Check if the feature is supported. |
version | Optional. The version of the feature. |
Return value
Type | Description |
---|---|
Boolean value | If the feature is supported, it is true, otherwise it is false. |
- Previous page isSameNode()
- Next page lang
- Go back to the previous level HTML DOM Elements object