I used CSS to disable the button and I also want to display a tooltip. However just because I disabled the button, I am not able to see my tooltip.
.disabled {
display: block !important;
pointer-events: none;
color: #ccc;
}
<button class="actionButton button primaryBt largeSize" data-bind="click:$root.openStaticVisualizer.bind($root, selectedRoom()), css: { disabled: !displayStaticVisualizer()}, attr:{ title :!displayStaticVisualizer()? ApprovalText: 'test' }">
<svg class="ico visualizationIcon"><use xlink:href="Content/icons/icons.svg#visualizationIcon" /></svg>
<span>Visualize Room</span>
</button>