To trigger a widget you can add a class to the button, add it in the manifest an catch the click event for it inside of the widget. The widget lazy loading mechanism will glue it together.