1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
|
<?xml version="1.0" encoding="UTF-8" ?>
<dt-option group="i18n">
<name>language.aria.paginate.last</name>
<summary>WAI-ARIA label for the _last_ pagination button</summary>
<since>1.10.10</since>
<type type="string" />
<default>
There is no default value for this option as the `dt-init language.paginate.last` option contains a string by default.
</default>
<description>
Set the ARIA label attribute for the _last_ pagination button. This can be particularly useful for cases where you wish to show an icon such as `»` in the button itself, while retaining full accessibility.
</description>
<example title="Define full paging language options as icons with ARIA label text"><![CDATA[
$('#example').DataTable( {
pagingType: 'full',
language: {
paginate: {
first: '«',
previous: '‹',
next: '›',
last: '»'
},
aria: {
paginate: {
first: 'First',
previous: 'Previous',
next: 'Next',
last: 'Last'
}
}
}
} );
]]></example>
<related type="option">language.aria.paginate</related>
<related type="option">language.paginate.last</related>
</dt-option>
|