Skip to content

Commit 571d085

Browse files
committed
docs: Sample code for modals without modal-trigger
1 parent 326b64e commit 571d085

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

sample/src/app/components/dialogs.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import {Component,EventEmitter} from "@angular/core"
55
selector: "dialogs",
66
template: `
77
<!-- Modal Trigger -->
8-
<a class="waves-effect waves-light btn modal-trigger" (click)="openModal1()">Modal 1</a>
9-
<a class="waves-effect waves-light btn modal-trigger" (click)="openModal2()">Modal 2</a>
8+
<a class="waves-effect waves-light btn" (click)="openModal1()">Modal 1</a>
9+
<a class="waves-effect waves-light btn" (click)="openModal2()">Modal 2</a>
1010
<button class="btn modal-trigger" data-target="modal2">Modal 2 (2)</button>
1111
1212
<!-- Modal Structure -->

0 commit comments

Comments
 (0)