Skip to content

Files

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Latest commit

e67bb6d · Dec 20, 2024

History

History
18 lines (17 loc) · 385 Bytes
·

example_component_ts.md

File metadata and controls

18 lines (17 loc) · 385 Bytes
·
import { Component } from '@angular/core';
import { IonButton, IonToast } from '@ionic/angular/standalone';

@Component({
  selector: 'app-example',
  templateUrl: 'example.component.html',
  styleUrls: ['example.component.css'],
  imports: [IonButton, IonToast],
})
export class ExampleComponent {
  toastButtons = [
    {
      text: 'Action With Long Text',
    },
  ];
}