form-wizard-vue3 icon indicating copy to clipboard operation
form-wizard-vue3 copied to clipboard

Add a prop to overwrite default class

Open jamesallan93 opened this issue 1 year ago • 0 comments

I think that a prop for overwriting the default class on the <ul/> would be handy. So using js to overwrite wouldn't be needed.

 let form = document.getElementById("form_wiz");
 form?.children[0].classList.add("nav", "nav-pills", "nav-fill");
<FormWizard ulClass="class-1 abc primary">
   _...some code_
</FormWizard>

jamesallan93 avatar Apr 30 '23 00:04 jamesallan93