GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
move default values from collapsedIcon / expandedIcon / iconPos in the "options"
section of the widget instead in the main code .
so we have the ability do not display a icon for collapsible ( with setting collapsedIcon to false )
[collapsible] move default values from collapsedIcon / expandedIcon /…
… iconPos in the "options" section of the widget instead in the main code .
so we have the ability do not display a icon for collapsible .
Thanks for the PR. I will test this and see if we need to make adjusments in CSS as well for this no-icon option. After that we can pull this in for 1.3.
The collapsible unit tests 12.3 and 12.4 fail. Can you give that a look? Thanks!
I made the required changes to make things work in collapsible sets. The tests pass now. I also made a minor change in the CSS so it covers a collapsible without icon as well. Your commit and these changes are merged in branch master now.
Note that if you want a collapsible to have no icons and the correct CSS to be applied, you have to set all three options collapsedIcon, expandedIcon and iconpos to false.