AmaranthineCodices / roact-material

Material design in Roblox w/ Roact!
MIT License
20 stars 5 forks source link

Add action system #3

Closed CleverSource closed 6 years ago

CleverSource commented 6 years ago

This will allow users to have custom actions happen after the button has ran the animation it will run the action. There will be an addon to the example Button.

AmaranthineCodices commented 6 years ago

Sorry for not catching this; I think it got pushed out of my notifications.

This is a good idea, but we can use a more descriptive name for the action. This also opens the way for different kinds of input events to be handled without a complicated system - just specify different names for different event listeners.

AmaranthineCodices commented 6 years ago

I'm going to close this; I implemented click callbacks in 36f05aeb4c6b87f51fa08941de82d680f4cdf548 while working on menus.