Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Extensibility to support frameworks like bootstrap. #12

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
Open

Added Extensibility to support frameworks like bootstrap. #12

wants to merge 13 commits into from

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