From 757d0961b92098b199c14978c9cfc801f1f7b4d4 Mon Sep 17 00:00:00 2001 From: AndreasGassmann Date: Mon, 24 Oct 2016 22:12:01 +0200 Subject: [PATCH] fix(3dtouch): add missing property (#739) --- src/plugins/3dtouch.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/plugins/3dtouch.ts b/src/plugins/3dtouch.ts index 16af3bbc1..53301124d 100644 --- a/src/plugins/3dtouch.ts +++ b/src/plugins/3dtouch.ts @@ -54,7 +54,7 @@ declare var window: any; * ]; * ThreeDeeTouch.configureQuickActions(actions); * - * ThreeDeeTouchForceTouch.onHomeIconPressed().subscribe( + * ThreeDeeTouch.onHomeIconPressed().subscribe( * (payload) => { * // returns an object that is the button you presed * console.log('Pressed the ${payload.title} button') @@ -95,6 +95,7 @@ export class ThreeDeeTouch { * @param {string} title Title for your action * @param {string} subtitle (optional) A short description for your action * @param {string} iconType (optional) Choose between Prohibit, Contact, Home, MarkLocation, Favorite, Love, Cloud, Invitation, Confirmation, Mail, Message, Date, Time, CapturePhoto, CaptureVideo, Task, TaskCompleted, Alarm, Bookmark, Shuffle, Audio, Update + * @param {string} iconTemplate (optional) Can be used to provide your own icon */ @Cordova({ sync: true @@ -140,6 +141,7 @@ export interface ThreeDeeTouchQuickAction { title: string; subtitle?: string; iconType?: string; + iconTemplate?: string; } export interface ThreeDeeTouchForceTouch {