Coder Social home page Coder Social logo

Comments (10)

kysela-petr avatar kysela-petr commented on May 1, 2024

+1

from angular-material-sidemenu.

nikeshbhagat avatar nikeshbhagat commented on May 1, 2024

+1
This would be a great addtion

from angular-material-sidemenu.

jhondev avatar jhondev commented on May 1, 2024

+1

from angular-material-sidemenu.

shennero avatar shennero commented on May 1, 2024

+1

from angular-material-sidemenu.

hvaleanu avatar hvaleanu commented on May 1, 2024

+1

from angular-material-sidemenu.

tianctrl avatar tianctrl commented on May 1, 2024

+1

from angular-material-sidemenu.

garycjohnson avatar garycjohnson commented on May 1, 2024

I was looking for the same answer and found this rather hacky way to achieve what I wanted ... Add a hidden DIV with ng-init="$parent.$mdSidemenuContent.visible = true"within the content block you want to expand.

<md-sidemenu-content md-heading="Applications" md-arrow="true">
  <div ng-init="$parent.$mdSidemenuContent.visible = true" ng-hide></div>
  <md-sidemenu-button md-no-ink title="Lodge Enquiry" ui-sref="root.lodge">Lodge Enquiry</md-sidemenu-button>
</md-sidemenu-content>

Obviously would be much nicer to have an attribute we can set on the <md-sidemenu-content /> element.

from angular-material-sidemenu.

andersonfalcao avatar andersonfalcao commented on May 1, 2024

I created an option for this, After the PR approved, you can use the visible option to enable the initial state of side-menu-content.

Ex. ...

from angular-material-sidemenu.

blindsz avatar blindsz commented on May 1, 2024

Hi is this feature already merged?

from angular-material-sidemenu.

blindsz avatar blindsz commented on May 1, 2024

I think this feature is not working. this will need some update

from angular-material-sidemenu.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.