Hi,is there a way to listen on multiple events?I tried:headline.onTap or headline.onClick (event, layer) ->
but it did not work ...
You can't combine listeners like this. You need to write one for each event you want to listen to.
But you could then write one function that deals with each of these events.
OK so this should work:headline.onTap (event, layer) -> doIt(layer)
headline.onClick (event, layer) -> doIt(layer)
doIt = (layer) -> print layer.name