Alert not showing [Needs clarification]


Good news
I am trying to print a “hello world” message on an alert for android devices and I am selling blank and try initializing a variable etc that should have the project for alert work.

thanks you


Could you post a code snippet of what your code is?



import { Component } from "@angular/core";
import { Page } from "@angular/core"; 

  selector: "my-app",
  templateUrl: "pages/login/login.html",
  styleUrls: ["pages/login/login-common.css", "pages/login/login.css"]

export class AppComponent {

  constructor(private page:Page) {}
  submit() {
    alert("Hola Mundo");


`<Button text="tap" (tap)="submit()"></Button>`