mirror of
https://github.com/konpa/devicon.git
synced 2025-08-08 07:36:28 +02:00
Add checkerboard functionality
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
var devicon = angular.module('devicon', ['ngSanitize', 'ngAnimate']);
|
||||
// const DEFAULT_BACKGROUND = "#60be86";
|
||||
|
||||
/*
|
||||
||==============================================================
|
||||
@@ -45,6 +44,11 @@ devicon.controller('IconListCtrl', function($scope, $http, $compile) {
|
||||
$scope.fontBackground = $scope.DEFAULT_BACKGROUND;
|
||||
$scope.svgBackground = $scope.DEFAULT_BACKGROUND;
|
||||
|
||||
// whether to display the checkerboard img in the background
|
||||
// for the font and svg respectively
|
||||
$scope.fontDisplayChecker = false;
|
||||
$scope.svgDisplayChecker = false;
|
||||
|
||||
// Loop through devicon.json
|
||||
angular.forEach(data, function(devicon, key) {
|
||||
|
||||
|
Reference in New Issue
Block a user