GsuiToggle
How do I make an gsuitoggle?
What is a gsuitoggle? How do you make a gsuitoggle? This script and codes were developed by Thomas Tortorini on 01 January 2023, Sunday.
GsuiToggle - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>gsuiToggle</title> <link rel='stylesheet prefetch' href='css/gwjoje.css'>
<link rel='stylesheet prefetch' href='https://gridsound.github.io/gs-ui-components/gsuiToggle/gsuiToggle.css'> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div id="main"> <div id="desc"> <div id="title">gsuiToggle</div> <a id="main-link" href="https://github.com/gridsound/gs-ui-components/tree/master/gsuiToggle">gs-ui-components / <b>gsuiToggle</b></a> </div> <div id="cmp-wrapper" class="shadow"></div>
</div>
<template id="gsuiToggle"> <div class="gsuiToggle"> <div class="gsui-circle"></div> </div>
</template> <script src='https://gridsound.github.io/gs-ui-components/gsuiToggle/gsuiToggle.js'></script> <script src="js/index.js"></script>
</body>
</html>
GsuiToggle - Script Codes CSS Codes
#cmp-wrapper { display: flex; height: 100px; background: #555;
}
.gsuiToggle { flex: 1;
}
.gsuiToggle:hover { background: rgba(255, 255, 255, 0.05);
}
GsuiToggle - Script Codes JS Codes
var i, toggle, toggles = [], elWrapper = document.querySelector( "#cmp-wrapper" );
for ( i = 0; i < 8; ++i ) { toggle = new gsuiToggle(); toggle.onchange = change.bind( null, i ); toggle.onmousedownright = mousedownright.bind( null, i ); toggles.push( toggle ); elWrapper.append( toggle.rootElement );
}
toggles[ 3 ].check();
toggles[ 5 ].check();
toggles[ 7 ].check();
function change( i, b ) { console.log( "onchange: toggles[ " + i + " ].checked:", b ); }
function mousedownright( i ) { console.log( "onmousedownright: toggles[ " + i + " ]" ); }
Developer | Thomas Tortorini |
Username | mr21 |
Uploaded | January 01, 2023 |
Rating | 3 |
Size | 2,740 Kb |
Views | 8,096 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
A Pen by Thomas Tortorini | 1,906 Kb |
GswaBuffer | 2,544 Kb |
GsuiKeys | 2,843 Kb |
GsuiPopup | 2,641 Kb |
GsuiSpanEditable | 2,445 Kb |
GsuiTimeLine | 3,424 Kb |
GsuiPanels | 2,629 Kb |
GsuiTrackList | 2,853 Kb |
GsuiAudioBlock | 3,180 Kb |
GswaGroup | 4,109 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
Portfolio page | Bhavya_j | 2,804 Kb |
Slim Grid SASS SCSS v3.2 | Thesturs | 4,709 Kb |
A Pen by Moeid Saleem | Moeidsaleem | 1,862 Kb |
Blog Concept 2 | JGallardo | 2,994 Kb |
A Pen by Final Boss tommyb9 | FBtommyb9 | 55,354 Kb |
Pricing Table | Semenchenko | 6,784 Kb |
CSSOff 2013 Submission | Codewunder | 14,766 Kb |
Hc first draft | Stepfray | 5,104 Kb |
TestTube CSS | EZPK | 2,710 Kb |
HexMaze | Cantelope | 4,825 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!