|
|
@ -272,6 +272,17 @@ class Modifier { |
|
|
|
return this; |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* Sets the style rules to deactivate text-selection in the component. |
|
|
|
* @returns {Modifier} |
|
|
|
*/ |
|
|
|
noneSelect() { |
|
|
|
return this |
|
|
|
.setStyleRule("user-select", "none") |
|
|
|
.setStyleRule("-ms-user-select", "none") |
|
|
|
.setStyleRule("-webkit-user-select", "none") |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* |
|
|
|
* @param {StylePropertyMap} rulemap |
|
|
|