Skip to content

Commit

Permalink
update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
edoparearyee committed Aug 6, 2015
1 parent 3545940 commit 2166494
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions README.md
@@ -1,6 +1,6 @@
# Angular-Addthis
[![Build Status](https://travis-ci.org/thisissoon/angular-addthis.svg?branch=master)](https://travis-ci.org/thisissoon/angular-addthis)
[![Coverage Status](https://img.shields.io/coveralls/thisissoon/angular-addthis.svg)](https://coveralls.io/r/thisissoon/angular-addthis?branch=master)
[![Coverage Status](https://coveralls.io/repos/thisissoon/angular-addthis/badge.svg?branch=master&service=github)](https://coveralls.io/github/thisissoon/angular-addthis?branch=master)

Addthis toolbox directive, Re-renders addthis buttons as ngRoute changes
views in our app since the addthis buttons only load by default on page
Expand All @@ -20,8 +20,14 @@ load and not when the DOM is updated.

<!-- 3. add classes to anchor links to attach the link to a service -->
<!-- ['addthis_button_google_plusone_share','addthis_button_twitter','addthis_button_facebook'] -->
<sn-addthis-toolbox class="addthis_custom_sharing">
<a href class="addthis_button_google_plusone_share">Share on Google+</a>
<sn-addthis-toolbox
class="addthis_custom_sharing"
data-share="{
title: 'foo',
url: 'http://myurl.com',
description: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.'
}">
<a href class="addthis_button_facebook">Facebook</a>
</sn-addthis-toolbox>

```
Expand Down

0 comments on commit 2166494

Please sign in to comment.