Skip to content

Commit 0fa1af5

Browse files
authored
Merge pull request #360 from youda97/modal-doc
Update(modal): documentation
2 parents a9131b4 + 6b5d9a6 commit 0fa1af5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/modal/modal.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,10 @@ import { cycleTabs, getFocusElementList } from "./../common/tab.service";
5353
* </ibm-modal>`,
5454
* styleUrls: ["./sample-modal.component.scss"]
5555
* })
56-
* export class SampleModal {
57-
* closeModal: any; // placeholder for the closeModal method provided by the Modal decorator
56+
* export class SampleModal extends BaseModal {
5857
* modalText: string;
5958
* constructor(protected injector: Injector) {
59+
* super();
6060
* this.modalText = this.injector.get("modalText");
6161
* }
6262
* }

0 commit comments

Comments
 (0)