{hero}

buttons.buttons.titleAttr

Since: Buttons 1.1.0

Button title attribute text.
Please note - this property requires the Buttons extension for DataTables.

Example

Copy button with a Font Awesome icon and title text:

new DataTable('#myTable', {
	layout: {
		topStart: 'buttons'
	},
	buttons: [
		{
			extend: 'copyHtml5',
			text: '<i class="fa fa-files-o"></i>',
			titleAttr: 'Copy'
		}
	]
});