0.3.15 • Published 5 years ago

ngx-do v0.3.15

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

NGX-DO

An application library containing the DO framework

Using the ui components

To DoComponent is the engine of the application. Just embed the <ngx-do></ngx-do> tag in you index.html of you app

and your main.ts should look like below

import 'hammerjs';
import { NgModule } from '@angular/core';
import { enableProdMode } from '@angular/core';
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
import { environment } from './environments/environment';
import { AppModule } from './app/app.module';

// If we are production enable prodmode
if (environment.production) {
  enableProdMode();
}

// Bootstrap the Main Module and provide the Environment to the Do components
platformBrowserDynamic([{ provide: 'Environment', useValue: environment }])
  .bootstrapModule(AppModule)
  .catch(err => console.log(err));

You app.module.ts should look like something like this

import { NgModule } from '@angular/core';
import { CoreModule,
        DoModule,
        UiModule,
        DoComponent,
       } from 'ngx-do';
import { AppComponent } from './app.component';

@NgModule({
    imports: [
        ....
        DoModule,
        UiModule,
        CoreModule,
    ],
    declarations: [AppComponent],
   bootstrap: [
    DoComponent
   ]
})
export class AppModule { }
0.3.15

5 years ago

0.3.14

5 years ago

0.3.12

5 years ago

0.3.11

5 years ago

0.3.10

5 years ago

0.3.9

5 years ago

0.3.8

5 years ago

0.3.7

5 years ago

0.3.6

5 years ago

0.3.5

5 years ago

0.3.4

5 years ago

0.3.3

5 years ago

0.3.2

5 years ago

0.3.1

5 years ago