Forked from prateekkalra/selection-advanced-usage.html
Created
October 3, 2018 14:42
-
-
Save s1r-J/295e56b7614259335a5807c8ef7221b2 to your computer and use it in GitHub Desktop.
add CSS opacity property to config of Selection-js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src="selection.min.js"></script> | |
<script> | |
var selection = new Selection(); | |
selection.config({ | |
facebook: true, | |
twitter: true, | |
search:true, | |
copy:true, | |
speak:true, | |
backgroundColor: 'crimson', | |
iconColor: '#fff', | |
opacity: 0.8, | |
}).init(); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment