https://github.com/httpstersk/plastic-paragraph
A Polymer element for putting any text inside a shape you choose (Experimental)
https://github.com/httpstersk/plastic-paragraph
Last synced: 5 months ago
JSON representation
A Polymer element for putting any text inside a shape you choose (Experimental)
- Host: GitHub
- URL: https://github.com/httpstersk/plastic-paragraph
- Owner: httpstersk
- Created: 2015-01-10T08:39:46.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-07-28T16:35:17.000Z (almost 11 years ago)
- Last Synced: 2026-02-10T22:14:53.521Z (5 months ago)
- Language: HTML
- Homepage:
- Size: 204 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# <plastic-paragraph>
> A Polymer element to put any paragraph of text inside a shape you choose (Experimental)

## Install
Install the component using [Bower](http://bower.io/):
```sh
$ bower install plastic-paragraph --save
```
Or [download as ZIP](https://github.com/hejty/plastic-paragraph/archive/master.zip).
## Usage
1. Import Web Components' polyfill:
```html
```
2. Import Custom Element:
```html
```
3. Start using it!
```html
```
## Options
Attribute | Options | Default | Description
--- | --- | --- | ---
`shape` | `circle`, `rhomb`, `diagonal`, `sandglass` | `circle` | The `shape` attribute sets a wrapping shape
`size` | *int* | `320` | The `size` attribute sets a size of an element
## Example
```html
Web Components usher in a new era of web development based on encapsulated and interoperable custom elements that extend HTML itself. Built atop these new standards, Polymer makes it easier and faster to create anything from a button to a complete application across desktop, mobile, and beyond.
```
## 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 ;)
## History
For detailed changelog, check [Releases](https://github.com/hejty/plastic-paragraph/releases).
## License
[MIT License](http://opensource.org/licenses/MIT)