1.4.9 • Published 6 months ago

functionis v1.4.9

Weekly downloads
-
License
ISC
Repository
-
Last release
6 months ago

Include the functionis.js script in your HTML: <script src="./node_modules/functionis/functionist.js"></script>

const myArray = [1, 2, 3, 4, 5]; const randomElement = functionis.getRandomElement(myArray); console.log('Random Element:', randomElement);

functionis.play(1000, 5, function() { console.log('Executing callback with delay and repetition'); });

functionis.auth('auth-input'); 4. Comments:

<comment type="error">This is an error comment</comment> <comment type="warning">This is a warning comment</comment> <comment type="info">This is an info comment</comment> <comment>This is a undefined comment</comment>

<display get="myVariable">

functionis.onDoubleClick(document.getElementById('doubleClickExample'), function() { console.log('Double-clicked!'); });

functionis.onTripleClick(document.getElementById('tripleClickExample'), function() { console.log('Triple-clicked!'); });

  1. Math Expression Evaluation:

<math>1 + 5</math> <math>5 * 10</math> <math>20 + (23 + 1)</math>

  1. calculateTime:

const timeDifference = functionis.calculateTime('11-35-10'); console.log(`Time difference: ${timeDifference.hours} hours, ${timeDifference.minutes} minutes, ${timeDifference.seconds} seconds`);

1.4.9

6 months ago

1.4.8

6 months ago

1.4.7

6 months ago

1.4.6

6 months ago

1.4.5

6 months ago

1.0.0

6 months ago