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 |
Material Icon toggling | 1,583 Kb |
CSS Tooltip Test | 2,281 Kb |
Email Sample - Green Button | 2,792 Kb |
Fancyselect Sample | 5,197 Kb |
Color Indicators | 3,236 Kb |
Range Slider | 3,471 Kb |
A Pen by UX Snippets | 1,581 Kb |
Sample email template | 3,218 Kb |
Update for IE11 support | 4,529 Kb |
Weekly Email - 01 | 2,893 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 |
Simple star rating using js and data-uri | TheEnd | 5,795 Kb |
CSS Variables | Jdsteinbach | 4,759 Kb |
Flying Bee | Pwsm50 | 3,711 Kb |
CSS3 Diamond | Rendro | 1,960 Kb |
Toggle Time | Petebot | 5,345 Kb |
Ripples in water | Nobitagit | 2,704 Kb |
SlideupBoxes | Gavra | 23,772 Kb |
Improve | Gavra | 1,652 Kb |
Zip Button test | Lje7462 | 1,932 Kb |
CSS3 Latte Art Logo | Esambino | 2,036 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!