Angular filter
How do I make an angular filter?
What is a angular filter? How do you make a angular filter? This script and codes were developed by Susanne Karin Lundblad on 13 September 2022, Tuesday.
Angular filter - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Angular filter</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div ng-app=""> <div ng-init="friends = [{name:'John', phone:'555-1276'}, {name:'Mary', phone:'800-BIG-MARY'}, {name:'Mike', phone:'555-4321'}, {name:'Adam', phone:'555-5678'}, {name:'Julie', phone:'555-8765'}, {name:'Juliette', phone:'555-5678'}]"></div> <h1>Angular filter</h1> <p>From Angular Api <a href="https://bit.ly/1orfZFD">docs</a></p> <input type="text" placeholder="Find the friend" ng-model="searchText"> <ul> <li ng-repeat="friend in friends | filter:searchText">You can reach <strong>{{ friend.name }}</strong> at <strong>{{ friend.phone }}</strong></li> </ul>
</div> <script src='http://cdnjs.cloudflare.com/ajax/libs/angular.js/1.2.5/angular.min.js'></script>
</body>
</html>
Angular filter - Script Codes CSS Codes
html, body { margin: 20px auto; display: block; max-width: 600px; text-align: center; height: 100%; background-color: #ecf0f1;
}
body { padding: 20px; position: relative;
}
h2, a, p, *:before, h1, li { font-family: "Helvetica Neue", sans-serif; font-weight: 300;
}
ul { overflow: hidden; text-align: left; width: 50%; margin: 30px auto;
}
li { color: #2c3e50; line-height: 2;
}
h1 { color: #3498db;
}
p { display: block; width: 100%; color: #2c3e50; clear: both;
}
a { color: #2c3e50; transition: color 0.2s ease-out;
}
a:hover { color: #2ecc71;
}
input { border: 1px solid #CCC; font-size: 1em; height: 40px; border-radius: 4px; width: 60%; transition: border 0.2s ease-out; padding: 0 0.75em; display: block; margin: 2.5em auto 0.5em; -webkit-appearance: none;
}
input:hover { border: 1px solid #9B9B9B;
}
input:focus { outline: none; border-color: black;
}
Developer | Susanne Karin Lundblad |
Username | SusanneLundblad |
Uploaded | September 13, 2022 |
Rating | 3 |
Size | 2,109 Kb |
Views | 32,384 |
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 |
Wake animation | 4,322 Kb |
A Pen by Susanne Karin Lundblad | 2,320 Kb |
Blend mode of text | 2,269 Kb |
Loading animation | 2,383 Kb |
Button shaking | 2,227 Kb |
Css man | 3,712 Kb |
Css grid | 2,250 Kb |
Flying pinata | 3,560 Kb |
Cat button | 2,478 Kb |
Toggle menu | 2,892 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 |
Ball Physics | Getsetbro | 3,149 Kb |
Click handler test | Snapson | 2,329 Kb |
Vertical Pan Hammer.js example | Jtangelder | 2,144 Kb |
Responsive Pricing Table | Jeremycaris | 2,690 Kb |
Ocean | Gordonnl | 2,817 Kb |
Virtual vinyl | Davidpanik | 3,474 Kb |
Cool audio | Bigliam | 1,868 Kb |
Nav Test -- cats 1 | Payls | 4,735 Kb |
Minimal Material Design Form Input | Koenigsegg1 | 3,076 Kb |
Google Maps API Ground Overlay | Boycetrus | 2,961 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!