-
-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
enhancementNon-breaking improvements to existing behaviourNon-breaking improvements to existing behaviour
Description
On really complex projects, it can become daunting to know exactly where an element's value is bound from - there may be many nested pages with dynamic paths, full of custom components. Where does one particular span get its textContent from?
When in debug mode, the Binder classes could leave a debug attribute on the element once it has been bound, indicating exactly where the binding was done from. e.g. <span data-bound-from="page/_component/my-thing.php:29">This is bound!</span>.
Whether we're in debug mode can be passed into the constructor, loaded from the config.ini.
Metadata
Metadata
Assignees
Labels
enhancementNon-breaking improvements to existing behaviourNon-breaking improvements to existing behaviour