Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bakan

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bakan

Javascript Marquee / Ticker implementation

  • 1.0.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

Bakan

Demo

Installation

npm install --save bakan

Usage

  import Bakan from 'bakan'

  var $dom = document.getElementById('root')
  var options = {
    text: 'Lorem ipsum dolor sit amet',
    step: 1,
    period: 10,
    space: 1,
    color: 'white',
    font: 'arial',
    background: '#FFAA00',
    opacity: 50
  }

  new Bakan($dom, options)

Options

text

Type: String

text: 'Lorem ipsum dolor sit amet'

Text shown by Bakan marquee

step

Type: Integer

step: 1

Number of pixels moved each period

period

Type: Integer

period: 10

Time between each animation (Miliseconds)

space

Type: Integer

space: 10

Number of characters between each text secuence

color

Type: Hexa or String

color: 'blue'

Font color

font

Type: String

font: 'times new roman'

Font family

background

Type: Hexa

background: '#FF0000'

Background color

opacity

Type: Integer Values: [ 0, 100 ]

opacity: '100'

Background opacity

Keywords

FAQs

Package last updated on 30 Jun 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc