Module: utils/isCompatibleAttribute

Methods

(static) isCompatibleAttribute(key, value) → {boolean}

Returns true, if a given key-value pair
qualifies for being added to DOM elements as their
attribute.

Parameters:
Name Type Description
key string
value any
Source:
Returns:
Type
boolean