Skip to content

mestoness/loadermest.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

loaderMest.js

Author

Ahmet Baki Memiş

Contact

Use this address to contact me

CDN

<script src="https://unpkg.com/loadermest.js/dist/js/loadermest.min.js"></script>

Usage

Default Options

 status: null,
 spinnerColor: "black",
 spinnerBackground: "white",
 spinnerSize: "3px"

Adjust as you want

  loaderMest({
	status:true,
	spinnerBackground:"#0a3d62",
	spinnerColor:"white",
        spinnerSize: "4px"
  });

Example

<!DOCTYPE html>
<html>
<head>
<script src="https://unpkg.com/loadermest.js/dist/js/loadermest.min.js"></script>
</head>
<body>
<script>	
loaderMest({
	status:true,
	spinnerBackground:"#0a3d62",
	spinnerColor:"white",
	spinnerSize: "5px"

});
</script>
</body>
</html>

Usage for version 1.0.16 and previous versions is as follows

  loaderMest({
	status:"on",
	spinnerBackground:"#0a3d62",
	spinnerColor:"white",
        spinnerSize: "4px"
  });