The $context parameter of bind functions would be enhanced if it would also accept a string: the query selector of the context node. That would mean you wouldn't necessarily need to import the whole HTMLDocument in a go function, for example.
function go(DocumentBinder $binder):void {
$binder->bindList(["one", "two", "three"], "example-element");
}
The
$context
parameter of bind functions would be enhanced if it would also accept a string: the query selector of the context node. That would mean you wouldn't necessarily need to import the whole HTMLDocument in ago
function, for example.rather than: