Skip to content
This repository was archived by the owner on Mar 7, 2022. It is now read-only.

Commit c8ac098

Browse files
committed
fixed triggers for default providers configuration
1 parent c8dcc5e commit c8ac098

File tree

7 files changed

+27
-14
lines changed

7 files changed

+27
-14
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-socialshare",
3-
"version": "2.1.0",
3+
"version": "2.1.1",
44
"description": "A social url and content sharing directive for angularjs.",
55
"authors": [
66
"Filippo Oretti <[email protected]",

dist/angular-socialshare.js

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* angular-socialshare
3-
* 2.1.0
3+
* 2.1.1
44
*
55
* A social urls and content sharing directive for angularjs.
66
* http://720kb.githb.io/angular-socialshare
@@ -35,7 +35,8 @@
3535
'body': '',
3636
'to': '',
3737
'cc': '',
38-
'bcc': ''
38+
'bcc': '',
39+
'trigger': 'click'
3940
}
4041
},
4142
{
@@ -248,14 +249,20 @@
248249
'provider': 'whatsapp',
249250
'conf': {
250251
'url': '',
251-
'text': ''
252+
'text': '',
253+
'trigger': 'click',
254+
'popupHeight': 300,
255+
'popupWidth': 400
252256
}
253257
},
254258
{
255259
'provider': 'viber',
256260
'conf': {
257261
'url': '',
258-
'text': ''
262+
'text': '',
263+
'trigger': 'click',
264+
'popupHeight': 300,
265+
'popupWidth': 400
259266
}
260267
},
261268
{

dist/angular-socialshare.js.min.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/angular-socialshare.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

index.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@
2222
socialshare-media="https://www.google.it/images/branding/googlelogo/2x/googlelogo_color_272x92dp.png"
2323
socialshare-subject="Very important email"
2424
socialshare-popup-height="300"
25-
socialshare-popup-width="400"
26-
socialshare-trigger="click" >
25+
socialshare-popup-width="400">
2726
<i class="fa fa-envelope"></i> Share via Email
2827
</button>
2928
</div>

lib/angular-socialshare.js

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@
2525
'body': '',
2626
'to': '',
2727
'cc': '',
28-
'bcc': ''
28+
'bcc': '',
29+
'trigger': 'click'
2930
}
3031
},
3132
{
@@ -238,14 +239,20 @@
238239
'provider': 'whatsapp',
239240
'conf': {
240241
'url': '',
241-
'text': ''
242+
'text': '',
243+
'trigger': 'click',
244+
'popupHeight': 300,
245+
'popupWidth': 400
242246
}
243247
},
244248
{
245249
'provider': 'viber',
246250
'conf': {
247251
'url': '',
248-
'text': ''
252+
'text': '',
253+
'trigger': 'click',
254+
'popupHeight': 300,
255+
'popupWidth': 400
249256
}
250257
},
251258
{

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-socialshare",
3-
"version": "2.1.0",
3+
"version": "2.1.1",
44
"description": "A social urls and content sharing directive for angularjs.",
55
"homepage": "http://720kb.githb.io/angular-socialshare",
66
"keywords": [

0 commit comments

Comments
 (0)