You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A starter library for making whiteboard web app, based on [white-web-sdk](https://www.npmjs.com/package/white-web-sdk), [@netless/window-manager](https://www.npmjs.com/package/@netless/window-manager) and [netless-app](https://github.com/netless-io/netless-app).
6
6
@@ -120,7 +120,7 @@ Install `@netless/fastboard-react`, use the `<Fastboard />` component.
3. Split screen display Elements (little whiteboard featrue), need to combine [`@netless/app-little-white-board`](https://github.com/netless-io/app-little-white-board) (Version >=1.1.3)
- wm: WindowManager\room\player. In multi-window mode, you pass WindowManager, and in single-window mode, you pass room or player(whiteboard playback mode).
301
352
- adaptor: configures the adapter.
302
-
- options:``AppliancePluginOptions``; The cdn addresses of both workers must be configured.
353
+
- ``options: AppliancePluginOptions``; The cdn addresses of both workers must be configured.
303
354
```js
304
355
exporttypeAppliancePluginOptions= {
305
356
/** cdn Configuration item */
@@ -308,9 +359,16 @@ The following interfaces are involved:
308
359
syncOpt? : SyncOpt;
309
360
/** Canvas configuration item */
310
361
canvasOpt? : CanvasOpt;
362
+
/** stroke width range */
363
+
strokeWidth?: {
364
+
min: number,
365
+
max: number,
366
+
}
311
367
}
312
368
```
313
-
- cursorAdapter?:``CursorAdapter``; This parameter is optional. In single whiteboard mode, customize the mouse style.
369
+
- ``cursorAdapter? : CursorAdapter``; This parameter is optional. In single whiteboard mode, customize the mouse style.
370
+
- ``logger?: Logger``; This parameter is optional. Configure the log printer object. The default output is on the local console. If logs need to be uploaded to the specified server, you need to manually configure the configuration.
371
+
>If you need to upload the log to the whiteboard log server, configure the `room.logger` to this item。
314
372
315
373
### Front-end debugging introduction
316
374
During the interconnection process, if you want to understand and track the internal status of the plug-in, you can view the internal data through the following console commands.
0 commit comments