Skip to content

Commit fd6e5ba

Browse files
authored
Merge branch 'master' into toggle
2 parents fe3ecaf + 0fa1af5 commit fd6e5ba

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)