Skip to content

Conversation

@MickeyElliott
Copy link

Added a few settings to enable the css class changing and html element tweeks. This let's me add this as a properly formatted bootstrap dropdown menu.

Sorry for the multiple commits. This is my first fork.

Adding some extra settings:

'dropdownLinkClass': 'atcb-link',
'dropdownLinkAttrs': [], // { key: 'data-toggle', value: 'dropdown' }
'dropdownMenuClass': 'atcb-list',
'dropdownMenuType': 'ul', // ul, div
'dropdownMenuItemClass': 'atcb-item',
'dropdownMenuItemType': 'li', // li, div, none
 'dropdownMenuItemLinkClass': 'atcb-item-link',
Added some more properties to make it easier to reformat the dropdown.

// Added extensibility for bootstrap support.
'dropdownLinkClass': 'atcb-link', // btn btn-secondary dropdown-toggle
'dropdownLinkAttrs': [], // { key: 'data-toggle', value: 'dropdown' }

'dropdownMenuClass': 'atcb-list', // dropdown-menu
'dropdownMenuType': 'ul', // ul, div

'dropdownMenuItemClass': '', 
'dropdownMenuItemType': 'li', // li, div, none

'dropdownMenuItemLinkClass': 'atcb-item-link', // dropdown-item
@atc-master
Copy link
Contributor

Thank you @MickeyElliott! We'll review the code this week as soon as possible!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants