0.0.15 • Published 2 years ago

@kissmybutton/motorcortex-banners v0.0.15

Weekly downloads
13
License
MIT
Repository
github
Last release
2 years ago

motorcortex-banners

Demo

Check it out here

Installation

$ npm install --save @kissmybutton/motorcortex-banners
# OR
$ yarn add @kissmybutton/motorcortex-banners

Loading

const MotorCortex = require("@kissmybutton/motorcortex");
const BannersDefinition = require("@kissmybutton/motorcortex-banners");
const Plugin = MotorCortex.loadPlugin(BannersDefinition);

Create incident

BannerA

const BannerA = new Plugin.BannerA(
  {
    width: 400,
    height: 700,
    bgUrl: "./bg2.jpg",
    overlayColor,
    imgWidth: 1002,
    imgHeight: 1280,
    txtGroup: "MOTORCORTEX",
    txtGroupSize: 40,
    strokeText: "WE WIN THE GAME IN THE CSS",
    mainColor: "#ffff00",
    centerText: "Yeyey",
  },
  {
    selector: ".container1",
  }
);

BannerA Attrs

NameAreValues
widthwidth of incidentnum
heightheight of incidentnum
bgUrlurl of the bg imagestring
imgWidththe original widht of the imgnum
imgHeightthe original heigth of the imgnum
txtGroupthe transparent textstring
txtGroupSizethe size of the transparent textnum
mainColorthe main color of the clipcolor
centerTextthe text with shadowsstring
0.0.15

2 years ago

0.0.14

3 years ago

0.0.13

3 years ago

0.0.12

3 years ago

0.0.10

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago