Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

isElementSupported

Version Badge Build Status License

Feature test HTML element support

Install

Download the development or minified version, or install via NPM:

npm install @ryanmorr/is-element-supported

Usage

To use the method, simply provide a string of an HTML tag name:

import isElementSupported from '@ryanmorr/is-element-supported';

// Feature test a known supported element
isElementSupported('div'); //=> true

// Feature test an unsupported element
isElementSupported('foo'); //=> false

License

This project is dedicated to the public domain as described by the Unlicense.

You can’t perform that action at this time.