1.0.23 • Published 3 years ago

@kissmybutton/motorcortex-slides v1.0.23

Weekly downloads
109
License
MIT
Repository
github
Last release
3 years ago

motorcortex-slides

Demo

Check it out here

Installation

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

Loading

import MotorCortex from "@kissmybutton/motorcortex";
import slides from "@kissmybutton/motorcortex-slides";
const SlidesPlugin = MotorCortex.loadPlugin(slides);

Create incident

introClip

const introClip = new Clip.Intro(
  {
    title: "Demo",
    subtitle: "Promo Plugin",
    description: `Lorem ipsum dolor, sit amet consectetur adipisicing elit. Totam
    eveniet eosdsdawdw numquam facilis libero iure natus, voluptatibus
    deserunt laboriosam, perspiciatis consequatur nostrum.`,
    month: "December"
    bgUrl: "./kissmybutonbg.jpg",
    overlayColor: "#ff00004d",
    mainColor: "blue",
    speed: 2
  },
  {
    selector: ".container1"
  }
);

introClip Attrs

NameAreValues
titletitle textstring
subtitlesubtitle textstring
descriptiondescription textstring
monththe monthstring
bgUrlthe path of background imagestring
overlayColorthe overlay color of background imagehex values or RGB(A) or text ("blue", "red", etc)
mainColorthe main color of elementshex values or RGB(A) or text ("blue", "red", etc)
speedanimation speed. Defaults to 1num, min:0

transition

const transition = new Clip.Transition(
  {
    title: "test",
    speed: 2
  },
  {
    selector: ".container2"
  }
);

transition Attrs

NameAreValues
titletitle textstring
speedanimation speed. Defaults to 1num, min:0

SlideDateOne

const dayOne = new Clip.SlideDateOne(
  {
    subtitle: "MOTORCORTEX TEAM",
    titleone: "the",
    str: "Present",
    description: `Lorem ipsum dolor, sit amet consectetur adipisicing elit. Totam
    eveniet eosdsdawdw numquam facilis libero iure natus, voluptatibus
    deserunt laboriosam, perspiciatis consequatur nostrum.`,
    bgUrl: "./kissmybutonbg.jpg",
    overlayColor: "#ff00004d",
    mainColor: "blue",
    bgUrl2: "./bg2.jpg",
    month: "December",
    day: `monday`,
    number: "20",
    year: "2019",
    speed: 2
  },
  {
    selector: ".container3"
  }
);

SlideDateOne Attrs

NameAreValues
titletitle textstring
subtitlesubtitle textstring
descriptiondescription textstring
monththe monthstring
daythe day namestring
numberthe number of daystring
yearthe yearstring
bgUrlthe path of background imagestring
bgUrl2the path of second background imagestring
overlayColorthe overlay color of background imagehex values or RGB(A) or text ("blue", "red", etc)
mainColorthe main color of elementshex values or RGB(A) or text ("blue", "red", etc)
speedanimation speed. Defaults to 1num, min:0

Scrolslide

const scrolPresenter = new Clip.Scrolslide(
  {
    title: "Presenter",
    name: "JOE SMO",
    position: "Web developer at KissMyButton",
    bgUrl: "./bg3.jpg",
    overlayColor: "#ff00004d",
    mainColor: "blue",
    speed: 2
  },
  {
    selector: ".container4"
  }
);

Scrolslide Attrs

NameAreValues
titletitle textstring
namesecond titlestring
positionsubtitlestring
bgUrlthe path of background imagestring
overlayColorthe overlay color of background imagehex values or RGB(A) or text ("blue", "red", etc)
mainColorthe main color of elementshex values or RGB(A) or text ("blue", "red", etc)
speedanimation speed. Defaults to 1num, min:0

LtRslide

const ltrPresenter = new Clip.LtRslide(
  {
    title: "Presenter",
    name: "JOE SMO",
    position: "Web developer at KissMyButton",
    bgUrl: "./bg4.jpg",
    overlayColor: "#ff00004d",
    mainColor: "blue",
    speed: 2
  },
  {
    selector: ".container6"
  }
);

LtRslide Attrs

NameAreValues
titletitle textstring
namesecond titlestring
position(secondary subtitle, can used to describe the job position of the presenter)string
bgUrlthe path of background imagestring
overlayColorthe overlay color of background imagehex values or RGB(A) or text ("blue", "red", etc)
mainColorthe main color of elementshex values or RGB(A) or text ("blue", "red", etc)
speedanimation speed. Defaults to 1num, min:0

SlideDateTwo

const dayTwo = new Clip.SlideDateTwo(
  {
    title: "Presenter",
    name: "JOE SMO",
    position: "Web developer at KissMyButton",
    bigTitle: "Event",
    bgUrl: "./bg5.jpg",
    overlayColor: "#ff00b34d",
    dateOverlay: "#ff00b3",
    mainColor: "#00ff40",
    bgUrl2: "./bg2.jpg",
    month: "December",
    day: `monday`,
    number: "20",
    year: "2019",
    speed: 2
  },
  {
    selector: ".container7"
  }
);

SlideDateTwo Attrs

NameAreValues
titletitle textstring
bigTitlebig title title textstring
namesecond titlestring
position(secondary subtitle, can used to describe the job position of the presenter)string
monththe monthstring
daythe day namestring
numberthe number of daystring
yearthe yearstring
bgUrlthe path of background imagestring
bgUrl2the path of second background imagestring
overlayColorthe overlay color of background imagehex values or RGB(A) or text ("blue", "red", etc)
dateOverlaythe overlay color of date containerhex values or RGB(A) or text ("blue", "red", etc)
mainColorthe main color of elementeshex values or RGB(A) or text ("blue", "red", etc)
speedanimation speed. Defaults to 1num, min:0

BtTslide

const bttPresenter = new Clip.BtTslide(
  {
    title: "Presenter",
    name: "JOE SMO",
    position: "Web developer at KissMyButton",
    bgUrl: "./bg4.jpg",
    overlayColor: "#ff00004d",
    mainColor: "blue",
    speed: 2
  },
  {
    selector: ".container4"
  }
);

BtTslide Attrs

NameAreValues
titletitle textstring
namesecond titlestring
position(secondary subtitle, can used to describe the job position of the presenter)string
bgUrlthe path of background imagestring
overlayColorthe overlay color of background imagehex values or RGB(A) or text ("blue", "red", etc)
mainColorthe main color of elementeshex values or RGB(A) or text ("blue", "red", etc)
speedanimation speed. Defaults to 1num, min:0

BtTslideDate

const bttDay = new Clip.BtTslideDate(
  {
    title: "Presenter",
    name: "JOE SMO",
    position: "Web developer at KissMyButton",
    bgUrl: "./bg3.jpg",
    overlayColor: "#ff00b34d",
    dateOverlay: "#ff00b3",
    mainColor: "#00ff40",
    bgUrl2: "./bg2.jpg",
    month: "December",
    day: `monday`,
    number: "20",
    year: "2019",
    speed: 2
  },
  {
    selector: ".container10"
  }
);

BtTslideDate Attrs

NameAreValues
titletitle textstring
namesecond titlestring
positionsubtitlestring
monththe monthstring
daythe day namestring
numberthe number of daystring
yearthe yearstring
bgUrlthe path of background imagestring
bgUrl2the path of second background imagestring
overlayColorthe overlay color of background imagehex values or RGB(A) or text ("blue", "red", etc)
dateOverlaythe overlay color of date containerhex values or RGB(A) or text ("blue", "red", etc)
mainColorthe main color of elementeshex values or RGB(A) or text ("blue", "red", etc)
speedanimation speed. Defaults to 1num, min:0

LtRslideTop

const ltrPresenterTop = new Clip.LtRslideTop(
  {
    title: "Presenter",
    name: "JOE SMO",
    position: "Web developer at KissMyButton",
    bgUrl: "./bg2.jpg",
    overlayColor: "#ff00004d",
    mainColor: "blue",
    speed: 2
  },
  {
    selector: ".container11"
  }
);

LtRslideTop Attrs

NameAreValues
titletitle textstring
namesecond titlestring
positionsubtitlestring
bgUrlthe path of background imagestring
overlayColorthe overlay color of background imagehex values or RGB(A) or text ("blue", "red", etc)
mainColorthe main color of elementeshex values or RGB(A) or text ("blue", "red", etc)
speedanimation speed. Defaults to 1num, min:0

RtLslide

const rtlPresenter = new Clip.RtLslide(
  {
    title: "Presenter",
    name: "JOE SMO",
    position: "Web developer at KissMyButton",
    bgUrl: "./bg4.jpg",
    overlayColor: "#ff00004d",
    mainColor: "blue",
    speed: 2
  },
  {
    selector: ".container4"
  }
);

RtLslide Attrs

NameAreValues
titletitle textstring
namesecond titlestring
positionsubtitlestring
bgUrlthe path of background imagestring
overlayColorthe overlay color of background imagehex values or RGB(A) or text ("blue", "red", etc)
mainColorthe main color of elementeshex values or RGB(A) or text ("blue", "red", etc)
speedanimation speed. Defaults to 1num, min:0

Just add your incident to any clip

anyClip.addIncident(rtlPresenter, 0);

License

MIT License

Kiss My Button

1.0.23

3 years ago

1.0.22

3 years ago

1.0.21

3 years ago

1.0.20

3 years ago

1.0.19

3 years ago

1.0.18

3 years ago

1.0.17

3 years ago

1.0.16

4 years ago

1.0.15

4 years ago

1.0.14

4 years ago

1.0.13

4 years ago

1.0.12

4 years ago

1.0.11

4 years ago

1.0.10

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.0

4 years ago

0.0.11

4 years ago

0.0.10

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago