chameleon-ultra.js - v0.3.29
Demos
GitHub
NPM
jsDelivr
Preparing search index...
plugin/WebserialAdapter
WebserialAdapter
Class WebserialAdapter
See
Web Serial API | MDN
Getting started with the Web Serial API | codelabs
Read from and write to a serial port | Chrome for Developers
Implements
__type
Index
Constructors
constructor
Properties
name
port
ultra?
Methods
install
Constructors
constructor
new
WebserialAdapter
()
:
WebserialAdapter
Returns
WebserialAdapter
Properties
name
name
:
string
= 'adapter'
port
port
:
null
|
SerialPort
&
EventEmitter
= null
Optional
ultra
ultra
?:
ChameleonUltra
Methods
install
install
(
context
:
{
Buffer
:
typeof
Buffer
;
ultra
:
ChameleonUltra
}
&
{
ultra
:
ChameleonUltra
&
{
$adapter
?:
any
}
;
}
,
pluginOption
:
any
,
)
:
Promise
<
{
isSupported
:
()
=>
boolean
}
>
Parameters
context
:
{
Buffer
:
typeof
Buffer
;
ultra
:
ChameleonUltra
}
&
{
ultra
:
ChameleonUltra
&
{
$adapter
?:
any
}
;
}
pluginOption
:
any
Returns
Promise
<
{
isSupported
:
()
=>
boolean
}
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
name
port
ultra
Methods
install
Demos
GitHub
NPM
jsDelivr
chameleon-ultra.js - v0.3.29
Loading...
See