@tomsd/bootstrap-handler
v1.0.4
Published
module for bootstrap 4
Downloads
13
Readme
@tomsd/bootstrap-handler
Installation
npm install @tomsd/bootstrap-handler
Usage
See @tomsd/bootstrap-handler/example/index.html for details.
<script src="@tomsd/bootstrap-handler/dist/bootstrap-handler.js"></script>
import bs_handler from "@tomsd/bootstrap-handler";
const nav = {
menu:[
{
title:"menu 1",
onclick:function(area){area.innerHTML = "menu 1";},
default:true
},
{
title:"menu 2",
onclick:function(area){area.innerHTML = "menu 2";}
}
]
};
window.addEventListener("load", function(){
bs_handler.displayNavBar(mav);
});