From 4800ce5b9f76bf57031d9a542c802775b0ed5542 Mon Sep 17 00:00:00 2001 From: chenshenhai Date: Sun, 24 Mar 2024 12:04:56 +0800 Subject: [PATCH] docs: update docs for disable/enable --- src/en-US/api/enable-disable.md | 3 ++- src/zh-CN/api/enable-disable.md | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/en-US/api/enable-disable.md b/src/en-US/api/enable-disable.md index 2bf79bc..2f8f9fc 100644 --- a/src/en-US/api/enable-disable.md +++ b/src/en-US/api/enable-disable.md @@ -11,10 +11,11 @@ - `'ruler'`: Ruler feature - `'scroll'`: Scroll feature - `'scale'`: Scale feature + - `'info'`: Display information, eg. element size - `-` Other features are to be developed... ```ts -type IDrawFeature = 'ruler' | 'scroll' | 'scale'; // TODO other feature +type IDrawFeature = 'ruler' | 'scroll' | 'scale' | 'info'; // TODO other feature ``` ## Returns diff --git a/src/zh-CN/api/enable-disable.md b/src/zh-CN/api/enable-disable.md index 83b4e91..6803891 100644 --- a/src/zh-CN/api/enable-disable.md +++ b/src/zh-CN/api/enable-disable.md @@ -11,10 +11,11 @@ - `'ruler'`: 标尺功能 - `'scroll'`: 滚动条功能 - `'scale'`: 缩放功能 + - `'info'`: 信息显示功能,例如显示坐标信息 - `-` 其它功能待开发 ... ```ts -type IDrawFeature = 'ruler' | 'scroll' | 'scale'; // TODO other feature +type IDrawFeature = 'ruler' | 'scroll' | 'scale' | 'info'; // TODO other feature ``` ## 返回值