mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-03-04 00:13:06 +08:00
docs(smartlook): extended usage sample (#3278)
* docs(smartlook): expanded usage sample * docs(smartlook) fixed lint error * Update index.ts Co-authored-by: Daniel Sogl <daniel@sogls.de>
This commit is contained in:
parent
41895c165c
commit
7baeab9fee
@ -64,20 +64,23 @@ export class SmartlookGlobalEventPropertyKey {
|
|||||||
/**
|
/**
|
||||||
* @name Smartlook
|
* @name Smartlook
|
||||||
* @description
|
* @description
|
||||||
* Official Smartlook SDK plugin. For more information visit (www.smartlook.com).
|
* Official Smartlook SDK plugin.
|
||||||
|
* Full documentation can be found here: https://smartlook.github.io/docs/sdk/ionic/
|
||||||
*
|
*
|
||||||
* @usage
|
* @usage
|
||||||
* ```typescript
|
* ```typescript
|
||||||
* import { Smartlook } from '@ionic-native/smartlook/ngx';
|
* import { Smartlook, SmartlookSetupConfig } from '@ionic-native/smartlook/ngx';
|
||||||
*
|
|
||||||
*
|
|
||||||
* constructor(private smartlook: Smartlook) { }
|
|
||||||
*
|
*
|
||||||
* ...
|
* ...
|
||||||
*
|
*
|
||||||
*
|
* @Component( ... )
|
||||||
* this.smartlook.setupAndStartRecording(new SmartlookSetupConfig("key"));
|
* export class AppComponent {
|
||||||
*
|
* constructor(private smartlook: Smartlook) {
|
||||||
|
* this.platform.ready().then(() => {
|
||||||
|
* this.smartlook.setupAndStartRecording(new SmartlookSetupConfig("YOUR API KEY"));
|
||||||
|
* }
|
||||||
|
* }
|
||||||
|
* }
|
||||||
* ```
|
* ```
|
||||||
* @classes
|
* @classes
|
||||||
* SmartlookSetupConfig
|
* SmartlookSetupConfig
|
||||||
|
Loading…
Reference in New Issue
Block a user