0.12.1 • Published 6 years ago

angular2-json-schema-form-ionic v0.12.1

Weekly downloads
4
License
MIT
Repository
github
Last release
6 years ago

angular2-json-schema-form-ionic

Ionic framework library for the Angular 2 JSON Schema Form

Installation

Ensure you have already installed and configured Ionic and Angular 2 JSON Schema Form.

To install this library, run:

$ npm install angular2-json-schema-form-ionic --save

and then from your Angular AppModule:

// Import the library
...
import { IonicFrameworkModule } from 'angular2-json-schema-form-ionic';

@NgModule({
  imports: [
    ...

    // Specify the library as an import
    IonicFrameworkModule,

    // Configure angular2-json-schema-form to load the IonicFrameworkModule
    JsonSchemaFormModule.forRoot(IonicFrameworkModule),
  ],
  ...
})
export class AppModule { }

Once the library is imported, you can use angular2-json-schema-form as normal and components should be replaced with their Ionic counterparts:

<!-- You can now use the library component in a template -->
<ionic-content>
  <json-schema-form [form]="schema" [model]="model">
  </json-schema-form>
</ionic-content>

Development

To generate the library for distribution

$ npm run build

To lint all *.ts files:

$ npm run lint

License

MIT ©

0.12.1

6 years ago

0.12.0

6 years ago

0.11.1

6 years ago

0.11.0

6 years ago

0.10.0

6 years ago

0.9.0

6 years ago

0.8.0

6 years ago

0.7.0

6 years ago

0.6.1

6 years ago

0.6.0

6 years ago

0.5.0

6 years ago

0.4.1

6 years ago

0.4.0

6 years ago

0.3.1

6 years ago

0.2.0

6 years ago

0.1.0

6 years ago