Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

ngTransclude: Do you plan to allow default value in case no content is supplied? #7195

Closed
@Wizek

Description

@Wizek

In ngTranscludeDirective there is an $element.empty() call. Are you planning to make it depend on whether clone contains any contents? Then ng-transclude could be used as a hole in the directive's template that could be filled optionally.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions