Skip to content

Close Menu on Link Selection #3

Open

Description

@mattgi

Hi,

Are you able to either:

  • close the menu if the clicked element has an HREF (i.e. a link has been navigated), or
  • trigger an event to allow me to close the menu myself?

I would prefer the first option, but perhaps others would like the menu to remain open - maybe it is an option to be passed in init.

Ta

Activity

  1. ivopivo72 commented on Jul 9, 2014

    @ivopivo72

    Hallo, is some progress in this? Thank you

  2. ervinsi commented on Sep 16, 2014

    @ervinsi

    You can close the menu by adding the line $('#dl-menu').dlmenu('closeMenu'); to the function which handles route changing or whatever handler you have attached to that event.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions