This example demos a delete button that removes a table row upon completion. A confirmation popup is specified at the tbody level, so all buttons share the same confirmation message.
Note that the "server side" implementation is mocked out using mockjax, so you can see the entire implementation. Click the "Source Code" tab to see the code.
ic-delete-fromattribute set up to delete the row from the server
closest trand causes a confirmation message with an
ic-confirmattribute. The delete buttons in the table inherit these attributes.
1s, which tells intercooler to remove the target (in this case, the closest row) after 1 second, allowing for a CSS3 transition to fade the row out.