Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- addListItem: function(obj, type) {
- // Create HTML string with placeholder text
- '<div class="item clearfix" id="income-0"> <div class="item__description">Salary</div> <div class="right clearfix"> <div class="item__value">+ 2,100.00</div> <div class="item__delete"> <button class="item__delete--btn"><i class="ion-ios-close-outline"></i></button> </div> </div> </div>'
- // Replace the placeholder text with some actual data
- // Instert the HTML into the DOM
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement