This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Daniel Caine
Posted Apr 02 - Read on Facebook

Hey everyone,

I'm designing two navigations which share similar styles and functionality, so I created a Class for them:

I've got two questions regarding this Class:

1) To create a click event for just one of the tabs of a particular instance of Navigation, is it possible to do something like:"Tab name").onTap -> // do something

2) If you want to prevent click events for a particular Navigation, how is this done? Something like:


Any help is much appreciated, thanks!


Daniel Caine

Am I right in thinking that for #2 it's best to create two different methods which contain functionality for click events (one with, and one without) and then call the methods on the instances I create?

Read the entire post on Facebook