Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/paulkinlan/twitter-share-button
A simple twitter share button
https://github.com/paulkinlan/twitter-share-button
share twitter webcomponents
Last synced: about 2 months ago
JSON representation
A simple twitter share button
- Host: GitHub
- URL: https://github.com/paulkinlan/twitter-share-button
- Owner: PaulKinlan
- License: apache-2.0
- Created: 2017-01-23T21:31:29.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-04-05T14:55:21.000Z (almost 8 years ago)
- Last Synced: 2024-12-01T01:38:04.279Z (about 2 months ago)
- Topics: share, twitter, webcomponents
- Language: JavaScript
- Homepage: https://www.webcomponents.org/element/PaulKinlan/twitter-share-button
- Size: 12.7 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Twitter Share Button
The Twitter Share Button web component provides a simple and customizable
interface for sharing URLs directly to Twitter.* Automatically uses the URL, title and description of the page when present
* Allows you to override the URL and text to share to Twitter.
* Allows you to configure the display with your own text and icons.
* When combined with `` element, it will automatically bind to the
data from it's host component and be embedded in the share control.[![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/owner/my-element)
```html
```
## Customize the UI
```html
Twitter Button
```## Add an image
```html
```## Customize the URL to share
```html
```
## Customize the text to share
```html
Attribute Text Test
```## The full 9 yards
```html
Attribute and URL Test
```