Skip to content
This repository has been archived by the owner on Dec 16, 2019. It is now read-only.

Added alignment property so that the dropdown can be aligned left or right #456

Open
wants to merge 24 commits into
base: develop
Choose a base branch
from

Conversation

Xyroid
Copy link

@Xyroid Xyroid commented Jan 30, 2018

No description provided.

pkempenaers and others added 24 commits March 21, 2017 15:59
# Conflicts:
#	docs/scripts/app.js
# Conflicts:
#	bower.json
#	component/component.js
#	component/maps/component.js.map
#	package.json
Added `alignment` property in `settings`. It will have default value as `left`.
`ng-class` added to main `ul` element to support alignment which can be set from `extraSettings`. If alignment is `left` then `dropdown-menu-left` class will be applied and if alignment is `right` then `dropdown-menu-right` class will be applied to it.

Inspiration take from https://getbootstrap.com/docs/4.0/components/dropdowns/#menu-alignment
@Xyroid Xyroid changed the base branch from master to develop January 30, 2018 11:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants