Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

fix(dialog): Provide option to not autowrap templates. #5237

Closed
wants to merge 1 commit into from

Commits on Oct 18, 2015

  1. fix(dialog): Provide option to not autowrap templates.

    For convenience, we automatically wrap templates that do not
    contain a `<md-dialog>` tag within them. However, some users
    would like the ability to create their own dialog directives
    (like `<my-fancy-dialog>`) that internally use the `<md-dialog>`
    tag within their template. This causes two `<md-dialog>` tags
    to be created.
    
    Provide a new `autoWrap` option which can be set to false to
    disable autowrapping when providing a custom directive.
    
    Fixes #4898.
    topherfangio committed Oct 18, 2015
    Configuration menu
    Copy the full SHA
    0db7684 View commit details
    Browse the repository at this point in the history