@yci/alicloud-feedback
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

alicloud-feedback

Ionic wrap for cordova-plugin-alicloud-feedback

Installation

  1. Install the Cordova plugin cordova-plugin-alicloud-feedback

  2. Install the Ionic plugin

 npm i -S @yci/alicloud-feedback
  1. Add it to your app’s NgModule.
// Import your library
import { AlicloudFeedbackModule } from '@yci/alicloud-feedback';

@NgModule({

  ...

  imports: [

    ...

    // Specify your library as an import
    AlicloudFeedbackModule.forRoot()
  ],
  
  ...

})
export class AppModule { }

Usage

Once your library is imported, you can use its service in your Angular application:

import { AlicloudFeedback } from '@yci/alicloud-feedback';

async constructor(private alicloudFeedback: AlicloudFeedback) {

  const extras = {
    // ... 
  };

  try {
    await this.alicloudFeedback.open(extras);
  } catch(e) {
    console.error(e);
  }

}

Development

To generate all *.js, *.d.ts and *.metadata.json files:

$ npm run build

License

MIT © Yu Chen

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.11latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.11
1.0.01

Package Sidebar

Install

npm i @yci/alicloud-feedback

Weekly Downloads

0

Version

1.0.1

License

MIT

Last publish

Collaborators

  • kuyoonjo