AngularJS Skills

Size
3,312 Kb
Views
6,072

How do I make an angularjs skills?

Skills by AngularJS directive. What is a angularjs skills? How do you make a angularjs skills? This script and codes were developed by Roman Budnikov on 18 January 2023, Wednesday.

AngularJS Skills Previews

AngularJS Skills - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>AngularJS Skills</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div ng-init="skills=[{language: 'Ruby', percentage: 100, color: '#F3C128'}, {language: 'AngularJS', percentage:60, color: '#C799FF'},{language: 'CSS3', percentage:50, color: '#FF5353'}, {language: 'HTML5', percentage: 70, color: '#1CDCFF'}, {language: 'jQuery', percentage: 80, color: '#7CD14E'}]"></div>
<div class="skills" data-timeout="500" data-speed="0.5"></div> <script src='https://ajax.googleapis.com/ajax/libs/angularjs/1.1.1/angular.min.js'></script> <script src="js/index.js"></script>
</body>
</html>

AngularJS Skills - Script Codes CSS Codes

@import url(https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300&subset=latin,cyrillic);
.skills { width: 98%; font-family: 'Open Sans Condensed', sans-serif;
}
.skills div { width: 0%; overflow: hidden; margin: 10px; border-radius: 5px;
}
.skills div span { display: block; font-size: 18px; padding: 7px 10px; text-shadow: 1px 1px #d3d3d3;
}

AngularJS Skills - Script Codes JS Codes

(function() { angular.module("myApp", ["myApp.directives"]); angular.module("myApp.directives", []).directive("skills", function() { return { restrict: "C", controller: [ '$scope', '$element', '$attrs', '$timeout', '$compile', function($scope, $element, $attrs, $timeout, $compile) { return angular.forEach($scope.skills, function(value, index) { var skill, time; time = (Math.random() * 1) + parseFloat($attrs.speed); skill = $compile("<div id='skills_" + value.language.toLowerCase() + "' style='transition: width " + time + "s; -webkit-transition: width " + time + "s; -o-transition: width " + time + "s; -moz-transition: width " + time + "s; background-color: " + value.color + "'><span>" + value.language + "</span></div>")($scope); $element.append(skill); return $timeout(function() { return skill.css({ width: value.percentage + '%' }); }, $attrs.timeout); }); } ] }; }); angular.bootstrap(document, ['myApp']);
}).call(this);
AngularJS Skills - Script Codes
AngularJS Skills - Script Codes
Home Page Home
Developer Roman Budnikov
Username supro
Uploaded January 18, 2023
Rating 4
Size 3,312 Kb
Views 6,072
Do you need developer help for AngularJS Skills?

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!

Roman Budnikov (supro) Script Codes
Create amazing blog posts with AI!

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!