-
Which of the following can be helpful in creating your own feature detect?
-
- Modernizr._domPrefixes
- Modernizr.addTest
- Modernizr.atRule
- Modenizer.on
- None of these
Correct Option: B
If you want to create your own feature detects you can simply use Modernizr.addTest, a string is passed generally in lowercase without any punctuation like Modernizr.addTest(feature, test). It returns the Boolean value. Modernizr._domPrefixes works same as _prefixes. Modernizr.atRule is one of modernizr API(Application Programming Interface) having syntax like – Modernizr.atRule(prop).