1.0.2 • Published 3 years ago

scalc.js v1.0.2

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

alt text

Calculator

Install

npm i scalc.js

Or downloading directly from GitHub here:

<!DOCTYPE html>
<html>
<head>

    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">

    <title>Scalc.js</title>

    <link href="/path/to/scalc.min.css" rel="stylesheet">
    <script src="/path/to/scalc.min.js"></script>

</head>
<body>

<script>
/*
| ------------------------------------
| Calculator options
| ------------------------------------
|
| scalc({
|   modal: true       // Default false
|   draggable: false  // Default true
| });
| ------------------------------------
*/
scalc();
</script>

<div id="calculator"></div>

</body>
</html>

ScreenShot