HomePageModuleExpander

Expands:

$applicationRoot.directory$/native/ionic/src/app/pages/home/home.module.ts

if:

true
property value
element type ApplicationInstance
qualified name net.democritus.expander.ionic.applicationinstance.page.HomePageModuleExpander
layer ROOT
technology COMMON
sourceType JS
phase expansion
features  

Example

Some example of the content generated by the expander:

import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { Routes, RouterModule } from '@angular/router';
import { IonicModule } from '@ionic/angular';

import { HomePage } from './home.page';

// anchor:custom-imports:start
// anchor:custom-imports:end

const routes: Routes = [
  {
    path: '',
    component: HomePage
  }
];

@NgModule({
  imports: [
    CommonModule,
    FormsModule,
    IonicModule,
    RouterModule.forChild(routes),
    // anchor:custom-modules:start
    // anchor:custom-modules:end
  ],
  declarations: [HomePage]
})
export class HomePageModule {}