Hi,
Below is my code. Here i am able to display either background-image OR
background-color, but not both.
Any help on how to display both image and color would be appreciated.
var color = 'rgba(' + (Math.floor((256-199)*Math.random()) + 200) + ',' +
(Math.floor((256-199)*Math.random()) + 200) + ',' +
(Math.floor((256-199)*Math.random()) + 200) + ',.8)';
$scope.rowsForCol.push(
{
node: {
row: j,
name: content,
stylecss: 'background:' +
'url(/services/static/images/bg40x40.png)' + "," + 'linear-gradient(0deg,
'+ color +', '+ color +')'
}
});
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.