Add #activate DSL method
david opened this issue · comments
-
Declare a default widget action
class SomeAction < Dill::Widget root <root> activates_with <action type: :click or :hover> end
-
Use the dsl
activate :some_action
-
Activate should return another widget (or the same) (?)