Skip to content

Export MdGridTile #2408

Closed
Closed

Description

feature request:

Support querying of tiles directly.

What is the expected behavior?

@ViewChildren(MdGridTile) tiles: QueryList<MdGridTile>;
myMethod() {
    this.tiles.changes.subscribe(changes => { ... })
}

What is the current behavior?

@ViewChild(MdGridList) list: QueryList<MdGridList>;
myMethod() {
    this.list._tiles.changes.subscribe(changes => { ... })
}

What is the use-case or motivation for changing an existing behavior?

I want to have a count of the *ngFor piped tiles

Which versions of Angular, Material, OS, browsers are affected?

Is there anything else we should know?

Using JSPM and SystemJS to import default JS files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions