gustafn
committed
on 11 Jul 23
Added attributes "tag" and "type" to "adp:toggle_button" to increase applicability

- Bootstrap3 is picky and allows just "<a>" tags for the… Show more
Added attributes "tag" and "type" to "adp:toggle_button" to increase applicability

- Bootstrap3 is picky and allows just "<a>" tags for the navigation

 buttons, whereas Bootstrap4 and 5 would also allow <button> with

 appropriate classes for nav-items and nav-links.

 So, use <... tag="a"... > for use of nav buttons with potential

 Dropdowns with Bootstrap 3.

- Potential attributes for this tag are:

     - "tag" (default "button")

     - "toggle"

     - "target"

     - "type" (default "button")

 The attribute "type" is just valid when "tag" is "button".

- Many thanks to Monika Andergassen for the suggestion.

Show less