Package Exports
- animated_brackets
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (animated_brackets) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
animatedBrackets
Demo
https://lemehovskiy.github.io/animatedBrackets/demo
Package Managers
# NPM
npm install animated_brackets
Settings
Option | Type | Default |
---|---|---|
points | array | ['0 20, 0 0, 100 0, 100 20','100 80, 100 100, 0 100, 0 80'] |
color | string | '#ffffff' |
stroke_width | int | 10 |
duration | int | 1 |
delay | int | 1 |
Example:
<h3 class="title animated-brackets">
Lorem ipsum dolor
</h3>
<script>
$('.animated-brackets').animatedBrackets({
points: [
'0 20, 0 0, 100 0, 100 100, 0 100, 0 80'
],
stroke_width: 8,
color: '#cacaca'
});
</script>
Browser support
- Chrome
- Firefox
- Opera
- IE10/11
Dependencies
- jQuery 1.7