Open markhats opened 9 years ago
It would be great if wrap and unwrap were directly available to Dart. At the moment it is necessary to use js interop to call them. e.g.
wrap
unwrap
Element wrappedActiveElement = js.context.callMethod('wrap', [document.activeElement]);
The wrapped form is useful (essential), for example, when comparing document.activeElement with an element returned via querySelector.
document.activeElement
querySelector
It would be great if
wrap
andunwrap
were directly available to Dart. At the moment it is necessary to use js interop to call them. e.g.The wrapped form is useful (essential), for example, when comparing
document.activeElement
with an element returned viaquerySelector
.