Comments (6)
Impressive. Most impressive. Obi-Wan has taught you well. You have controlled your fear. Now, release your anger. Only your hatred can destroy me
from angular2-signaturepad.
Hey,
We recommend using ng-cli (as is recommended by the angular team).
If you insist on using something else. you'll need to raise issues on that repo. Your problem is "I don't know how to include modules with angular quick start".
StackOverflow is the appropriate resource for these kinds of questions isn't it?
See also #12.
from angular2-signaturepad.
Don't forget that signature_pad is a dependency of this project, so you have to add that also
from angular2-signaturepad.
@technamrit : Were you able to resolve this issue? I am kinda having the same issue and I am using angular quickstart. Please reply. thanks
from angular2-signaturepad.
I was getting some exception while using "angular2-signaturepad" package. So i have tried to "angular2-signature-pad" package. its working for me.
Package.json:
"angular2-signature-pad": "1.0.2"
system.config.js
map: {
'angular2-signature-pad': 'npm:angular2-signature-pad/bundles/angular2-signature-pad.umd.min.js',
'signature_pad': 'npm:signature_pad'
},
packages: {
'angular2-signature-pad': { main: '', defaultExtension: 'js' },
'signature_pad': { main: 'dist/signature_pad', defaultExtension: 'js' }
}
app.module.ts
import { SignaturePadModule } from 'angular2-signature-pad';
@NgModule({
imports: [
SignaturePadModule]
})
test.ts:
import { SignaturePadModule } from 'angular2-signature-pad';
```
onSaveHandler(data: any) {
console.log(data);
}
onClearHandler() {
console.log('On Clear click');
}
**test.html:**
<signature-pad (onSave)="onSaveHandler($event)"
(onClear)="onClearHandler()"
[width]="500"
[height]="300"
[hideFooter]="false"
[label]="label"></signature-pad>
Reference URL: [(https://next.plnkr.co/edit/32nEL74I48dDDWermSWQ?p=preview&utm_source=legacy&utm_medium=banner&utm_campaign=next&preview)]
from angular2-signaturepad.
If anyone still using SystemJS, Following is my solution:
map: {
'angular2-signaturepad': 'npm:angular2-signaturepad/bundles/angular2-signaturepad.umd.js',
'signature_pad': 'npm:signature_pad/dist/signature_pad.js'
}
packages: {
'angular2-signaturepad': { defaultExtension: 'js', format: 'cjs' },
'signature_pad': { defaultExtension: 'js' }
}
from angular2-signaturepad.
Related Issues (20)
- [Ionic]: Signature Pad focus issue for iOS devices (issue A11y) HOT 1
- [ERROR] Build with angular/[email protected] HOT 2
- is there a regression of Fix #94 ? HOT 1
- Compilation issue, gives module has no exported member 'SignaturePadModule' HOT 3
- ERROR in src/app/components/modals/modals.module.ts(15,10): error TS2305: Module '"../../../../node_modules/angular2-signaturepad/angular2-signaturepad"' has no exported member 'SignaturePadModule'. HOT 3
- this.sigaturePad.set('canvasWidth', value) giving error HOT 4
- Signature pad issue on iOS 12 Device HOT 1
- Update to Angular 13 HOT 14
- Outdated peer dependency warnings
- Voiceover in IOS completely ignores the signature pad.
- Error: Module not found: Error: Can't resolve 'signature_pad' (v4.0.1 with Angular v13 Error) HOT 3
- Getting correct mouse offset on scale
- Memory Leaks HOT 1
- Ivy/Angular9 Compatibility (Symbol is not exported)
- OnResize window canvas height increase constantly independent of screen size HOT 4
- 'node_modules/angular2-signaturepad/index.ts' not found
- iOS/safari canvas memory leak
- `Cannot read property 'offsetWidth' of undefined` on resizeCanvas HOT 2
- Upgrade to angular 8+ HOT 5
- Signature with Text HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angular2-signaturepad.