Skip to content

Template context #306

Description

@Abenezer

how are we suppose to pass context to template.

<ng-template #example let-name>
Hello {{name}}

The notification service accept temlate refrence, if it could accept embeded viewreference we could do it like this.notificationService.success (this.example.createEmbededView ({name: 'joe'}))
with out context the template view is almost useless cos it only displays same content for every notification

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions