Material Icon toggling
How do I make an material icon toggling?
What is a material icon toggling? How do you make a material icon toggling? This script and codes were developed by UX Snippets on 27 October 2022, Thursday.
Material Icon toggling - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Material Icon toggling</title> <link rel='stylesheet prefetch' href='https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.7/css/materialize.min.css'>
<link rel='stylesheet prefetch' href='https://fonts.googleapis.com/icon?family=Material+Icons'>
</head>
<body> <a class="btn-class" href="#"><i class="material-icons large add">add</i></a> <script src='https://code.jquery.com/jquery-2.2.4.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
Material Icon toggling - Script Codes JS Codes
$('.btn-class').on('click',function(){ if ($(this).find('i').text() == 'add') { $(this).find('i').text('remove'); } else { $(this).find('i').text('add'); }
});
Developer | UX Snippets |
Username | appirio-ux |
Uploaded | October 27, 2022 |
Rating | 3 |
Size | 1,583 Kb |
Views | 28,336 |
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 |
Responsive table with data-labels | 2,925 Kb |
Update for IE11 support | 4,529 Kb |
CSS Org Chart | 3,882 Kb |
Weekly Email - 02 | 3,488 Kb |
Bootstrap Table | 1,735 Kb |
Range Slider | 3,471 Kb |
Animated SVG | 4,028 Kb |
SampleColors | 2,294 Kb |
CSS Tooltip Test | 2,281 Kb |
A Pen by UX Snippets | 1,581 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 |
Week7 replicate | Hwcasis | 1,620 Kb |
BSP Dungeon Generation | Xgundam05 | 5,326 Kb |
Animate elements with fixed gradient | Badabam | 4,406 Kb |
Add This API | ThatGuySam | 2,848 Kb |
CSS3 Animated buttons | Cguillou | 3,737 Kb |
LAMP PURE CSS with Animation | Dam62500 | 2,911 Kb |
Canvas Background Effect | Sonick | 3,513 Kb |
Collapsing Widget | Er40 | 4,279 Kb |
Cant get enough icecream in pure css3 | Melawire | 4,322 Kb |
Sketchy Box | Mnicpt | 3,033 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!