-
Notifications
You must be signed in to change notification settings - Fork 0
.modifier()
esr360 edited this page Apr 18, 2019
·
8 revisions
Various Modifier operations
.modifier(modifier, operator, config);
Param | Type | Info |
---|---|---|
modifier |
String |
The modifier of interest |
[operator] |
(is'|'set'|'unset') |
The operation to apply to matched elements |
[config] |
Object |
The configuration to use when calling the method (learn more) |
- If
operator
is not passed, it will assume to beis
Determine if each element in the set of matched elements has the specified modifier
Add the specified modifier to each element in the set of matched elements
Remove the specified modifier from each element in the set of matched elements