1.3.3 • Published 6 years ago

dotstail v1.3.3

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

dotstail

NPM version Downloads

enter image description here

Quick start

  • Clone the repo: git clone git@github.com:foxieboy/dotstail.git
  • Install with npm: npm install --save dotstail
  • Or download the latest release

How to use

In other to use dotstail: 1. The element you want to have a text elipsis effect must have a CSS line-height property (must be a em unit). 2. In your script file, set dotstail function for the element:

dotstail.setDot ({  
   'element': '*your element class or id here*',  
   'letter': 0,  
   'lines': 4  
});
  • Please keep in mind: letter, and line option are optional, use them if you want to. Also those options must be a number, not string.

Call the function

Call the function by dotstail.setDot ();

Demo

Documentation

  • element : is your element class/Id
  • letter : is the number of letter you want to cut out at the end of the last line.
  • lines : is the number of line you want your element to have a text elipsis effect.

Tree

public/
  └── theme/
      └── js/
            └── dotstail.min.js

Template full feature list

  • Semantically Correct / Valid HTML Code
  • HTML5, CSS3
  • Javascript / JS6
  • Full project and seed project (build with: Gulp, Sass, Javascript, Npm)
  • Cross browser compatible ( Internet Explorer 10+, Firefox, Safari, Opera, Chrome etc. )
  • W3C Valid source code, properly formatted and commented

Creators

Foxieboy

Copyright and license

Code and documentation copyright 2017, MIT license.

1.3.3

6 years ago

1.3.2

7 years ago

1.3.1

7 years ago

1.3.0

7 years ago

1.2.42

7 years ago

1.2.41

7 years ago

1.2.40

7 years ago

1.2.39

7 years ago

1.2.38

7 years ago

1.2.37

7 years ago

1.2.36

7 years ago

1.2.35

7 years ago

1.2.34

7 years ago

1.2.33

7 years ago

1.2.32

7 years ago

1.2.31

7 years ago

1.2.30

7 years ago

1.2.29

7 years ago

1.2.28

7 years ago

1.2.27

7 years ago

1.2.26

7 years ago

1.2.25

7 years ago

1.2.24

7 years ago

1.2.23

7 years ago

1.2.22

7 years ago

1.2.21

7 years ago

1.2.20

7 years ago

1.2.19

7 years ago

1.2.18

7 years ago

1.2.17

7 years ago

1.2.16

7 years ago

1.2.15

7 years ago

1.2.14

7 years ago

1.2.13

7 years ago

1.2.12

7 years ago

1.2.11

7 years ago

1.2.10

7 years ago

1.2.9

7 years ago

1.2.8

7 years ago

1.2.7

7 years ago

1.2.6

7 years ago

1.2.5

7 years ago

1.2.4

7 years ago

1.2.3

7 years ago

1.2.2

7 years ago

1.2.1

7 years ago

1.2.0

7 years ago

1.1.0

7 years ago

1.0.12

7 years ago

1.0.11

7 years ago

1.0.10

7 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago