Skip to content

saulmonci/custom-capacitor-plugin

Repository files navigation

my-custom-plugin

plugin for demo

Install

npm install my-custom-plugin
npx cap sync

API

echo(...)

echo(options: { value: string; }) => Promise<{ value: string; }>
Param Type
options { value: string; }

Returns: Promise<{ value: string; }>


showAlert(...)

showAlert(options: { msg: string; }) => Promise<any>
Param Type
options { msg: string; }

Returns: Promise<any>


print(...)

print(options: { host: string; shareName: string; domain: string; username: string; password: string; dataToPrint: any; }) => Promise<any>
Param Type
options { host: string; shareName: string; domain: string; username: string; password: string; dataToPrint: any; }

Returns: Promise<any>


printTcp(...)

printTcp(options: { host: string; dataToPrint: any; }) => Promise<any>
Param Type
options { host: string; dataToPrint: any; }

Returns: Promise<any>