How to use the ngx-onsenui.Component function in ngx-onsenui

To help you get started, we’ve selected a few ngx-onsenui examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github OnsenUI / OnsenUI / bindings / angular2 / umd-template / app.ts View on Github external
import {
  Component,
  OnsenModule,
  NgModule,
  CUSTOM_ELEMENTS_SCHEMA
} from 'ngx-onsenui';
import {platformBrowserDynamic} from '@angular/platform-browser-dynamic';

@Component({
  selector: 'app',
  template: `
  
    
      <div class="center">Example</div>
    
    <div class="content">
      <div style="text-align: center; margin: 10px">
        <p>Hello World!</p>
      </div>
    </div>
  
  `
})
export class AppComponent {
}

ngx-onsenui

Official Angular directives for Onsen UI.

Apache-2.0
Latest version published 3 years ago

Package Health Score

54 / 100
Full package analysis