A custom element to wire up events and methods on different elements.