Skip to content

Commit 3474d16

Browse files
amcdnltinayuangao
authored andcommitted
docs(examples): fix svg icon example not working #9220 (#10013)
1 parent 7a2bebc commit 3474d16

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

src/material-examples/bottom-sheet-overview/bottom-sheet-overview-example.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,8 @@ export class BottomSheetOverviewExampleSheet {
2828
this.bottomSheetRef.dismiss();
2929
event.preventDefault();
3030
}
31+
32+
openLink(event) {
33+
window.open(event.target.href);
34+
}
3135
}

0 commit comments

Comments
 (0)