Get model from element


Hi, if I want to modify an aurelia page from external javascript, how can I get to the model given that I have a DOM element?


Can you try



That seems to work great, so I can do = “foo”. But then how do I “run” validation? Validation errors still show.