Skip to content
esr360 edited this page Apr 18, 2019 · 4 revisions

Check the matched set of elements against a Module name, Component name, and/or Modifier name, and return true if at least one of these elements matches the given arguments

.is({ module, component, modifier })

.is({ module, component, modifier }, config);
Param Type Info
{module} String The name of a module to match elements against
{component} String The name of a component to match elements against
{modifier} String The name of a modifier to match elements against
[config] Object The configuration to use when calling the method (learn more)

.is(query)

.is(query, config);
Param Type Info
query String The name of a module, component or modifier to match elements against

Clone this wiki locally