Skip to content

Does preline internal use javascript to implement dropdown? #435

Discussion options

You must be logged in to vote

Hi,

It adds the open class to the original element .hs-dropdown, and then removes hidden from the menu .hs-dropdown-menu and adds block.

It also creates a Popper instance which controls the placement etc.

You can see the open() method implementation here:

public open() {

Are you struggling with something in particular?

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by nicevlhjfihtqngkldl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants