我是离子3的新手。我们正在使用签名标签我们正在解决错误:
ionic info
Cordova CLI: 6.3.0
Ionic Framework Version: 3.0.1
Ionic CLI Version: 2.2.2
Ionic App Lib Version: 2.2.1
Ionic App Scripts Version: 1.3.0
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Linux 4.4
Node Version: v6.0.0
Xcode version: Not installed
<ion-col>
<signature-pad minWidth=2 canvasWidth=400 canvasHeight=200 backgroundColor='#f6fbff'penColor= '#666a73'(onBeginEvent)="drawStart()" (onEndEvent)="drawComplete()">
</signature-pad>
</ion-col>
app.module.ts
@NgModule({
declarations: [
MyApp,
HomePage,
SignaturePading
],
imports: [
BrowserModule,
IonicModule.forRoot(MyApp),
SignaturePadModule
],
bootstrap: [IonicApp],
entryComponents: [
MyApp,
HomePage,
SignaturePading
],
providers: [
StatusBar,
SplashScreen,
{provide: ErrorHandler, useClass: IonicErrorHandler}
]
})