0.0.83 • Published 1 year ago

capacitor-webnativeview v0.0.83

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year 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

1 year ago

0.0.81

1 year ago

0.0.82

1 year ago

0.0.83

1 year ago

0.0.73

1 year ago

0.0.75

1 year ago

0.0.76

1 year ago

0.0.77

1 year ago

0.0.78

1 year ago

0.0.79

1 year ago

0.0.70

1 year ago

0.0.72

1 year ago

0.0.62

1 year ago

0.0.63

1 year ago

0.0.64

1 year ago

0.0.65

1 year ago

0.0.66

1 year ago

0.0.67

1 year ago

0.0.68

1 year ago

0.0.60

1 year ago

0.0.61

1 year ago

0.0.51

1 year ago

0.0.50

1 year ago

0.0.47

1 year ago

0.0.45

1 year ago

0.0.41

1 year ago

0.0.40

1 year ago

0.0.36

1 year ago

0.0.35

1 year ago

0.0.31

1 year ago

0.0.30

1 year ago

0.0.28

1 year ago

0.0.27

1 year ago

0.0.26

1 year ago

0.0.25

1 year ago

0.0.24

1 year ago

0.0.23

1 year ago

0.0.22

1 year ago

0.0.21

1 year ago

0.0.20

1 year ago

0.0.19

1 year ago

0.0.18

1 year ago

0.0.17

1 year ago

0.0.16

1 year ago

0.0.15

1 year ago

0.0.13

1 year ago

0.0.12

1 year ago

0.0.11

1 year ago

0.0.10

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago