motion-kit / motion-kit-events

MotionKit::Events provides event hooks to cleanly separate your views, controllers, and event handling
18 stars 1 forks source link

Sugarcube explanation #6

Open theCrab opened 7 years ago

theCrab commented 7 years ago

@colinta if I want to use this gem without sugarcube, how do I get the on to work?

colinta commented 7 years ago

You can use the "Layout.on" method without sugarcube, but if you want to use "UIControl.on" you'll have to either copy that code from sugarcube, or you can selectively include just that feature (see sugarcube's readme for instructions re: its different sub-packages).

On Nov 22, 2016, at 7:51 PM, The Crab notifications@github.com wrote:

@colinta if I want to use this gem without sugarcube, how do I get the on to work?

― You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.