May I ask where in Aurelia 1’s codebase is the source code for whatever powers
innerhtml.bind (a custom attribute?).
Additionally, does Aurelia provide a way to directly bind a
HTMLElement stored in a property to the DOM?
Thank you in advance.
Note: I have found an alternative option and I do not require an answer anymore. I am leaving this open in case anyone is interested.
as far as I know: there is no code specially for ‘innerhtml.bind’.
the the aurelia binding mechanism takes care of the binding to all properties, and innerhtml is just another property of the HTMLElement. (the only thing to consider is the difference between properties and attributes.)
so check the code of the global binding system. you should find what you looking for.