Closed agdolla closed 4 years ago
As a workaround you can add the html title
attribute to src/app/_nav.ts
like this:
{
name: 'Dashboard',
url: '/dashboard',
icon: 'icon-speedometer',
attributes: { title: 'Dashboard tooltip'}
},
? Per https://github.com/coreui/coreui-free-react-admin-template/blob/master/src/_nav.js, the necessary syntax is actually this:
{
title: true,
name: 'Theme',
wrapper: {
element: 'a',
attributes: { title: 'Dashboard tooltip' }
}
},
@kevinashworth
you are right for sidebar-nav title
element (when title: true
)
in this case, title
is wrapped with <a>
element
Is it possible to add tooltip to a sidebar nav link ?