Demo
Change a rule on the left and the component on the right gets the new attribute and re-checks the file you chose. Below are the HTML for the current settings and the event log.
State: idle
HTML for these settings
Event log
Choose a file and events show up here.