JSPM

animated_brackets

1.0.4
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q20662F
  • License ISC

animated brackets

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