Last active
October 29, 2017 15:37
-
-
Save wojciech-bilicki/bcbcfbb55f65111c6f85c157969141f9 to your computer and use it in GitHub Desktop.
ticketList createActionsButton with styles
This file contains 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
createActionButtons: function(cell) { | |
var payButton = document.createElement('button'); | |
payButton.textContent = 'PAY'; | |
payButton.classList.add('small-button'); | |
payButton.classList.add('pay-button'); | |
var deleteButton = document.createElement('button'); | |
deleteButton.textContent = 'DELETE'; | |
deleteButton.classList.add('small-button'); | |
deleteButton.classList.add('delete-button'); | |
cell.appendChild(payButton); | |
cell.appendChild(deleteButton); | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment