Skip to content

sefatunckanat/shutUp.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

shutUp.js

#shutUp.js

Minimized html text jQuery subtractive

shutUp.js is crops in the specified text characters for required length. Basic javascript ellipsis tools.

substr is not good

Usage

<script>
$(function(){
	$('selector').shutUp(length,{options});
});
</script>

Options

var default ={
	'dotChar':'.',
	'dotCount':3
}
var exampleOptions = {
	'dotChar':'_',
	'dotCount':1
}
$("selector").shutUp(100,exampleOptions);

There are better, but this is me....

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published