Description goes here.
import { ModalModule } from '@acpaas-ui/ngx-layout';
Visit our documentation site for full how-to docs and guidelines
Name | Default value | Description |
---|---|---|
@Input() your: string; |
'API' |
Goes here. |
import { ModalModule } from '@acpaas-ui/ngx-layout';
@NgModule({
imports: [
ModalModule
]
});
export class AppModule {};
// Controller code
constructor(
private modalService: ModalService
) {}
public openModal() {
this.modalService.openModal(
AUIDemoModalComponent,
{
title: 'Modal ngx-logo',
text: 'Are you sure you want to see a ngx-logo of this modal?',
}, {
confirm: () => this.doSomething(),
}
);
}
private doSomething() {
return new Promise((resolve, reject) => {
return resolve();
});
}
<!-- HTML code -->
<button type="button" class="a-button"
(click)="openModal()">
Open modal
</button>
Visit our Contribution Guidelines for more information on how to contribute.