Web Component wrapper for Skype URI buttons using Polymer
Web Component wrapper for Skype URI buttons using Polymer
Maintained by Tomek Wytrębowicz.
Using Bower, run:
$ bower install --save skype-button
Import Web Components' polyfill and Skype URI Library:
<script src="//cdn.jsdelivr.net/polymer.platform/0.3.4/platform.js"></script>
<script src="//cdn.jsdelivr.net/polymer/0.3.4/polymer.js"></script>
Import Custom Element:
<link rel="import" href="src/skype-button.html">
Start using it!
<skype-button></skype-button>
Note that, empty attribute (e.g. <skype-button listTopic>
is mapped to "true"
)
For detailed description, please take a look at Skype URI Tutorial.
Attribute | Options | Default | Description |
---|---|---|---|
name |
call , chat , dropdown
|
call |
If omitted, "audio call" is implied if any participants are specified, and "switch focus to the Skype client" is implied if no participants are specified. |
participants |
string | Coma-separated list of participants. Required if name is specified. |
|
listParticipants |
boolean | false |
Whether to list the participant Skype Names |
video |
boolean | false |
Whether this is a video call |
topic |
string | "" |
The optional topic string for a conference call, GVC, or multichat. |
listTopic |
boolean | false |
Whether to list the topic |
imageSize |
10 , 12 , 14 , 16 , 24 , and 32
|
16 |
Which size of the image asset to use |
imageColor |
skype , white
|
skype |
Which text color variant of the image asset to use |
git checkout -b my-new-feature
git commit -m 'Add some feature'
git push origin my-new-feature
For detailed changelog, check Releases.