Custom design for Twitter button with events

You can have a custom link and still have the web intents!

The key is, instead of your link pointing to "" it should point to ""

like this:

<a href="">Tweet</a>

This way you can use the web intents like you were trying:'tweet', function (event) {
  // Do something there

Check this jsFiddle