These are chat archives for angular/angular-2-ionic-2

Aug 2018
Michael Watson
Aug 09 2018 01:30

Probably a common question, but I am new to Angular 2 and Ionic.

I generated an application with ionic, then ran

ionic generate component loginForm

added a few fields to the form html, but when running the app I am getting the error message of

‘login-form’ is not a know element?

Ionic generated the loginForm folder and added a components.module.ts so I imported it into the loginPage like so

import { NgModule } from '@angular/core';
import { IonicPageModule } from 'ionic-angular';
import { LoginPage } from './login';
import { ComponentsModule } from '../../components/components.module';

  declarations: [
  imports: [
export class LoginPageModule {}

but I am still getting the error. Surely someone else has ran across this :)

Michael Watson
Aug 09 2018 01:36
I am attempting to use “<login-form>” from within my LoginPage html btw
Hemang Kumar
Aug 09 2018 07:11
Hey guys, my angular 4 app is not detecting (mouseenter) events on phone, is there a (touchdown) event ?
google search isn't helping
most result are directed towards native js implementation of touch detection
Nikola Stekovic
Aug 09 2018 09:56
@hemangsk mouseenter dosen't exist on phone cause there is not mouse for phones obviously... i guess you could use (tap)
Hemang Kumar
Aug 09 2018 10:24
Thank you for the help @RigaNik
Nikola Stekovic
Aug 09 2018 10:49