Configure bar-buttons declaratively · Issue #596 · ionic-team/ionic-framework · GitHub
Skip to content

Configure bar-buttons declaratively #596

Description

@adamdbradley
<div nav-bar-button="left" class="button" my-super-custom-attribute>
  Content! {{moreContent}}
</div>

nav-bar-button would look for the nearest parent or sibling header-bar and add the button - then when the <div nav-bar-button> element is destroyed (through say an ng-if, or through just a view getting taken out), the button would be removed.

Activity

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

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions