0.0.4 • Published 6 years ago
@gmsca/ngdivolte v0.0.4
Add Divolte to your project
- setup environment to angular 8 project.
all divolta related source code will be added.ng add @gmsca/ngdivolte - modify the
divolte.jsposition inenvironment.tsfile.export const environment = { divolteUrl: '<your divolte.js location>/divolte.js', ... }; Try it
find a html file for testing, like
app.component.html. create a button element withappInputTrackerdirective.<button appInputTracker>any button</button>also, add a
eventName<button appInputTracker eventName="next">any button</button>
if the divolte backend is running, click the button, then receive a json data.