webfactory / disclosure

jQuery Plugin zum Anreichern von vordefiniertem Markup mit Aus- bzw. Einklappfunktion (barrierearm und inkl. Tastaturunterstützung)
MIT License
0 stars 1 forks source link

Allow button position to be set via data attribute #2

Closed polarbirke closed 1 year ago

polarbirke commented 1 year ago

For BC reasons, the button's default position remains below the disclosable panel.

This PR also adds some slight refactoring and makes use of the null coalescing operator while assigning widget-specific variables.