banner_simple

1.0.1 • Public • Published

banner_simple

plain banner library.

intallation

npm install banner_simple -S

usage

<script src="./node_modules/banner_simple/banner.js"></script>
<script>
  //new Banner(ulObj:HTMLDomElement,indicatorActiveClassName:string).init().baning()   
  window.onload=function(){
     ...
     new Banner(ul,"active").init().baning() ; 
     ...
  } 
</script> 

explaination

This is a library written by native JavaScript to produce rotation effects. However, after introducing the library, you have to manually write the layout style of some parent elements to take effect.

Readme

Keywords

Package Sidebar

Install

npm i banner_simple

Weekly Downloads

12

Version

1.0.1

License

ISC

Unpacked Size

3.92 kB

Total Files

3

Last publish

Collaborators

  • vinsurs