Watch 1 Star 0 Fork 0

lifankohome / MTitleJavaScriptMIT

Join us
Explore and code with more than 2 million developers,Free private repositories !:)
Sign up
A javascript class to making webpage title scroll spread retract

Clone or download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

MTitle

Introduction

A javascript class to make webpage title scroll

MTitle.min.js - ECMASCRIPT6

Get Start

<script src="MTitle.min.js"></script>
<script>
    const mTitle = new MTitle('【日落大道】正在播放 - 橡皮音乐');
    mTitle.start();
</script>

Function

  • newTitle(String)
  • newSpace(Number)
  • stop(reset = false)
  • start(Number)

Comments ( 0 )

Sign in for post a comment

JavaScript
1
https://gitee.com/lifanko/MTitle.git
git@gitee.com:lifanko/MTitle.git
lifanko
MTitle
MTitle
master

Help Search