Skip to content

node-projects/custom-sidebar-webcomponent

Repository files navigation

custom-sidebar-webcomponent

Published on npm

description

a fully customable sidebar webcomponent...

modifications

sidebar-width -> Change the width of the sidebar (default = 300px)

sidebar-toggle-button-top-position -> Position of the toggle button depending from top in % (default = 25)

toggle-button-background-color -> Change the backgroundcolor (default = lightgrey)

toggle-button-color -> change color of button icon black or white (default = black)

fully customable while using parts. there are three parts defined to use.

sidebar

toggle-button

slot-element

development

upload new version

simple run

npm run release

then you need to go to github and create a release from the uploaded tag. this will then create a npm package via github action.