Skip to content

Commit

Permalink
Cant find module #3
Browse files Browse the repository at this point in the history
  • Loading branch information
EddyVerbruggen committed Jun 7, 2017
1 parent 5240e14 commit d51cad9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
20 changes: 10 additions & 10 deletions demo/app/main-page.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,20 @@
<Image margin="12" src="~/res/taptic-engine.jpg" />
<Label text="Official API, supported from iPhone 7" class="message" textWrap="true"/>
<GridLayout columns="*, 106, 94" rows="auto">
<Button col="0" text="notification: success" tap="{{ doNotificationSuccess }}" cssClass="button button-notification-success" />
<Button col="1" text="warn" tap="{{ doNotificationWarning }}" cssClass="button button-notification-warning" />
<Button col="2" text="error" tap="{{ doNotificationError }}" cssClass="button button-notification-error" />
<Button col="0" text="notification: success" tap="{{ doNotificationSuccess }}" class="button button-notification-success" />
<Button col="1" text="warn" tap="{{ doNotificationWarning }}" class="button button-notification-warning" />
<Button col="2" text="error" tap="{{ doNotificationError }}" class="button button-notification-error" />
</GridLayout>
<GridLayout columns="*, 106, 94" rows="auto">
<Button col="0" text="impact: light" tap="{{ doImpactLight }}" cssClass="button button-impact-light" />
<Button col="1" text="medium" tap="{{ doImpactMedium }}" cssClass="button button-impact-medium" />
<Button col="2" text="heavy" tap="{{ doImpactHeavy }}" cssClass="button button-impact-heavy" />
<Button col="0" text="impact: light" tap="{{ doImpactLight }}" class="button button-impact-light" />
<Button col="1" text="medium" tap="{{ doImpactMedium }}" class="button button-impact-medium" />
<Button col="2" text="heavy" tap="{{ doImpactHeavy }}" class="button button-impact-heavy" />
</GridLayout>
<Button text="selection" tap="{{ doSelection }}" cssClass="button button-selection" />
<Button text="selection" tap="{{ doSelection }}" class="button button-selection" />

<Label text="Unofficial API, supported from iPhone 6s" class="message" textWrap="true"/>
<Button text="weak boom (peek)" tap="{{ doWeakBoom }}" cssClass="button button-weakboom" />
<Button text="strong boom (pop)" tap="{{ doStrongBoom }}" cssClass="button button-strongboom" />
<Button text="burst (nope!)" tap="{{ doBurst }}" cssClass="button button-burst" />
<Button text="weak boom (peek)" tap="{{ doWeakBoom }}" class="button button-weakboom" />
<Button text="strong boom (pop)" tap="{{ doStrongBoom }}" class="button button-strongboom" />
<Button text="burst (nope!)" tap="{{ doBurst }}" class="button button-burst" />
</StackLayout>
</Page>
2 changes: 1 addition & 1 deletion demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
}
},
"dependencies": {
"nativescript-taptic-engine": "file:///Users/eddyverbruggen/sandboxes/nativescript-taptic-engine",
"nativescript-taptic-engine": "file:..",
"tns-core-modules": "^3.0.0"
},
"devDependencies": {
Expand Down

0 comments on commit d51cad9

Please sign in to comment.