In my site are use 2 minicarts (in header and sidebar) with same knockout template:
I want to adjust small fixes, for sidebar minicart (only remove one button), and I don't want to create another one template.
How I can to check in knockout that it's exactly sidebar?
Something like that:
<button data-bind="visible: isSidebar()" />
It is possible? May I get root element in knockout template? If yes - I could to check sidebar html class.