https://github.com/collaborne/animated-content-placeholder
Animated placeholder used while loading elements on the page (Polymer)
https://github.com/collaborne/animated-content-placeholder
animation polymer
Last synced: about 2 months ago
JSON representation
Animated placeholder used while loading elements on the page (Polymer)
- Host: GitHub
- URL: https://github.com/collaborne/animated-content-placeholder
- Owner: Collaborne
- License: apache-2.0
- Created: 2017-06-21T20:50:28.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-11-21T12:52:40.000Z (over 6 years ago)
- Last Synced: 2025-03-15T15:07:22.464Z (3 months ago)
- Topics: animation, polymer
- Language: HTML
- Homepage: https://www.webcomponents.org/element/Collaborne/animated-content-placeholder
- Size: 22.5 KB
- Stars: 18
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# animated-content-placeholder [](http://badge.fury.io/bo/animated-content-placeholder) [](https://travis-ci.org/Collaborne/animated-content-placeholder) [](https://www.webcomponents.org/element/Collaborne/animated-content-placeholder)
[](https://vaadin.com/directory/component/Collaborneanimated-content-placeholder)
[](https://vaadin.com/directory/component/Collaborneanimated-content-placeholder)Animated placeholder used while loading elements on the page. This element is built for [Polymer](https://www.polymer-project.org).
This element is based on the [deconstruction of the Facebook placeholders](http://cloudcannon.com/deconstructions/2014/11/15/facebook-content-placeholder-deconstruction.html) by George Phillips.
It provides a basic animation on the background, and the possibility of overlaying it with maskers to create the illusion of a loading element on the page.
To use the element:
`bower install animated-content-placeholder`
```html
```
### Styling
The following custom properties and mixins are available for styling:Custom property | Description | Default
--------------- | ----------- | ---------
`--animation-height` | Height of the animated background |## License
This software is licensed under the Apache 2 license, quoted below.
Copyright 2011-2017 Collaborne B.V.
Licensed under the Apache License, Version 2.0 (the "License"); you may not
use this file except in compliance with the License. You may obtain a copy of
the License athttp://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
License for the specific language governing permissions and limitations under
the License.