Element.setRGBA 1.0.1
This is a simple method that sets RGBA background on elemenets. Method inspired by this article
Details
- Author
- Arieh Glazer
- Current version
- 1.0.1
- GitHub
- arieh/Element.setRGBA
- Downloads
- 1373
- Category
- Native
- Tags
- Report
- GitHub Issues
How to use
The method can receive 2 types of argument sets:
CSS3 rgba values:
el.setRGBA(123,234,22,0.5);
Hex/alpha pairs:
el.setRGBA('#aa00cc',0.6);
note - hex value must be a 6 digit hex value
Discuss
A note on comments here: These comments are moderated. No comments will show up until they are approved. Comments that are not productive (i.e. inflammatory, rude, etc) will not be approved.
Found a bug in this plugin? Please report it this repository's Github Issues.
blog comments powered by Disqus