We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d4b999 commit dd0dabeCopy full SHA for dd0dabe
src/wrappers/wrapper.js
@@ -185,6 +185,8 @@ export default class Wrapper implements BaseWrapper {
185
* Checks if wrapper has a style with value
186
*/
187
hasStyle (style: string, value: string) {
188
+ warn('hasStyle() has been deprecated and will be removed in version 1.0.0. Use wrapper.element.style instead')
189
+
190
if (typeof style !== 'string') {
191
throwError('wrapper.hasStyle() must be passed style as a string')
192
}
0 commit comments