{hero}

buttons.buttons.tag

Since: Buttons 1.5.2

Set the tag for the button.
Please note - this property requires the Buttons extension for DataTables.

Example

Use an a tag for a button:

new DataTable('#myTable', {
	layout: {
		topStart: 'buttons'
	},
	buttons: [
		{
			extend: 'copy',
			tag: 'a'
		}
	]
});