Code Monkey home page Code Monkey logo

angular2-json-schema-form-ionic's Introduction

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 ©

angular2-json-schema-form-ionic's People

Contributors

jessehon avatar ramm24 avatar

Watchers

Aldracor avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.