Overview
Composables
module is a collection of composable functions
based on Vue
's Composition API
, which aims to improve development efficiency by providing a series of basic common functions. Therefore, this module will not provide some complex functions, but will decompose complex problems and provide some basic functions, so that developers can combine these functions to achieve their own goals.
TIP
Since there are already ready-made Vue
's composables library, plus the limited energy of developers, this module only encapsulates @lark-base-open/js-sdk
, and only provides Base
related functions. If you need more rich composable functions
, it is recommended to use Vueuse
, which provides rich functions.
Function List
useBitableUrl
- Reactive Bitable UrluseData
- Reactive Bitable datauseEnv
- Get current environmentuseFileReader
- Use FileReaderusePersonalBaseToken
- Get personalBase tokenuseSelectHistory
- Reactive Bitable selection historyuseSelection
- Reactive bitable selectionuseTable
- Reactive tableuseTenantKey
- Get current TenantIDuseTheme
- Reactive Bitable theme modeuseUserId
- Get current user IDuseView
- Reactive view