How to add off-canvas menu to the Dash dashbourd

Hi!
I m a new in the Dash , sorry
I was asked to add off-canvas menu in our Dash dashboard
I found some bootstrap menus from here
https://itchief.ru/lessons/bootstrap-3/bootstrap-offcanvas-for-menu-navbar
or from here

I understand that the idea to include in Dash
js, css and bootstrap mini via
app.scripts.append_script({“external_url”: my_js_url})

and then to create Dash html element with className from the examples.
But the problem that in the examples they use also additional attributes as data-toggle=“offcanvas” that doesn’t exist in the html.Button() or I didn’t find it
<button type=“button” class=“hamburger animated fadeInLeft is-closed” data-toggle=“offcanvas”>

How to add this menu to the Dash?
Or there exist other, easier ways?
Thanks!

Off- canvas menu example