skype-button

Web Component wrapper for Skype URI buttons


Keywords
web-component, web-components, polymer, skype
License
MIT
Install
bower install skype-button

Documentation

<skype-button>

Web Component wrapper for Skype URI buttons.

Maintained by Tomek Wytrębowicz.

Demo

Preview

Check it live.

Install

Using Bower, run:

$ bower install --save skype-button

Using jsDelivr CDN just point to

//cdn.jsdelivr.net/skype-button/latest/skype-button.html

Or download as ZIP.

Usage

  1. Import Web Components' polyfill:

    <script src="//cdn.jsdelivr.net/polymer.platform/0.3.4/platform.js"></script>
  2. Import Custom Element:

    <link rel="import" href="bower_components/skype_button/src/skype-button.html">

    or

    <link rel="import" href="//cdn.jsdelivr.net/skype-button/latest/skype-button.html">
  3. Start using it!

    <skype-button></skype-button>

Options

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

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -m 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

History

For detailed changelog, check Releases.

License

MIT License