-
classPrefix is used when _____________.
-
- when there is no any class in the code
- not mandatory it depends on user
- class name clashes
- it is mandatory prefix before all the classes
- None of these
Correct Option: C
If modernizr’s class names are clashing with already existing class then we use classPrefix inside the configuration. It works same as hidden detects that adds .hidden class. Syntax is { “classPrefix”: “tee”, “feature-detects”: [“dom/hide”]}, this means instead of <html class=”hide”> we will get <html class=”tee-hidden”>.