0.0.83 • Published 2 years ago

capacitor-webnativeview v0.0.83

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

capacitor-webnativeview

Allow to embeb android native view like MapView as a canvas inside webview

Install

npm install capacitor-webnativeview
npx cap sync

API

invoke(...)

invoke(options: { viewId: number; methodId: number; params: string[]; }) => Promise<any>
ParamType
options{ viewId: number; methodId: number; params: string[]; }

Returns: Promise<any>


invokeObject(...)

invokeObject(options: { viewId: number; methodId: number; params: string[]; }) => Promise<any>
ParamType
options{ viewId: number; methodId: number; params: string[]; }

Returns: Promise<any>


setSize(...)

setSize(options: { viewId: number; width: number; height: number; }) => Promise<any>
ParamType
options{ viewId: number; width: number; height: number; }

Returns: Promise<any>


dispose(...)

dispose(options: { viewId: number; }) => Promise<any>
ParamType
options{ viewId: number; }

Returns: Promise<any>


update(...)

update(options: { viewId: number; }) => Promise<any>
ParamType
options{ viewId: number; }

Returns: Promise<any>


getViewData(...)

getViewData(options: { viewId: number; }) => Promise<any>
ParamType
options{ viewId: number; }

Returns: Promise<any>


createView(...)

createView(options: { name: string; }) => Promise<any>
ParamType
options{ name: string; }

Returns: Promise<any>


createObject(...)

createObject(options: { name: string; }) => Promise<any>
ParamType
options{ name: string; }

Returns: Promise<any>


lock(...)

lock(options: { viewId: number; left: number; top: number; width: number; height: number; }) => Promise<any>
ParamType
options{ viewId: number; left: number; top: number; width: number; height: number; }

Returns: Promise<any>


unlock(...)

unlock(options: {}) => Promise<any>
ParamType
options{}

Returns: Promise<any>


addListener('invalidate', ...)

addListener(eventName: 'invalidate', listenerFunc: (info: any) => void) => Promise<PluginListenerHandle> & PluginListenerHandle
ParamType
eventName'invalidate'
listenerFunc(info: any) => void

Returns: Promise<PluginListenerHandle> & PluginListenerHandle


createHandler(...)

createHandler(options: { name: string; targetMethod: string; eventName: string; }) => Promise<any>
ParamType
options{ name: string; targetMethod: string; eventName: string; }

Returns: Promise<any>


awaitEvent(...)

awaitEvent(options: { viewId: number; methodId: number; }) => Promise<any>
ParamType
options{ viewId: number; methodId: number; }

Returns: Promise<any>


bindEventToMethod(...)

bindEventToMethod(options: { objId: number; methodId: number; eventName: string; }) => Promise<any>
ParamType
options{ objId: number; methodId: number; eventName: string; }

Returns: Promise<any>


Interfaces

PluginListenerHandle

PropType
remove() => Promise<void>
0.0.80

2 years ago

0.0.81

2 years ago

0.0.82

2 years ago

0.0.83

2 years ago

0.0.73

2 years ago

0.0.75

2 years ago

0.0.76

2 years ago

0.0.77

2 years ago

0.0.78

2 years ago

0.0.79

2 years ago

0.0.70

2 years ago

0.0.72

2 years ago

0.0.62

2 years ago

0.0.63

2 years ago

0.0.64

2 years ago

0.0.65

2 years ago

0.0.66

2 years ago

0.0.67

2 years ago

0.0.68

2 years ago

0.0.60

2 years ago

0.0.61

2 years ago

0.0.51

2 years ago

0.0.50

2 years ago

0.0.47

2 years ago

0.0.45

2 years ago

0.0.41

2 years ago

0.0.40

2 years ago

0.0.36

2 years ago

0.0.35

2 years ago

0.0.31

2 years ago

0.0.30

2 years ago

0.0.28

2 years ago

0.0.27

2 years ago

0.0.26

2 years ago

0.0.25

2 years ago

0.0.24

2 years ago

0.0.23

2 years ago

0.0.22

2 years ago

0.0.21

2 years ago

0.0.20

2 years ago

0.0.19

2 years ago

0.0.18

2 years ago

0.0.17

2 years ago

0.0.16

2 years ago

0.0.15

2 years ago

0.0.13

3 years ago

0.0.12

3 years ago

0.0.11

3 years ago

0.0.10

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago