Independent sigpro vs sigpro-ui
All checks were successful
Deploy Docs to Synology / deploy (push) Successful in 3s
All checks were successful
Deploy Docs to Synology / deploy (push) Successful in 3s
This commit is contained in:
@@ -326,6 +326,9 @@ Typically contains `DropdownButton` and `DropdownContent`.
|
||||
|
||||
## Editor (Rich Text)
|
||||
`Editor(props)`
|
||||
> In ESM tree shaking, editor must be loaded `import { Editor } from "sigpro\editor"`
|
||||
|
||||
> In IIFE / UMD, Editor is included.
|
||||
|
||||
| Prop | Type | Default | Description |
|
||||
|------------|-------------------|---------|------------------------------------------------------------|
|
||||
@@ -789,6 +792,6 @@ Displays an 8×8 grid of preset colours.
|
||||
|
||||
## Utility Functions
|
||||
|
||||
- **`Locale(lang)`** – Signal to read/set the current language (`"en"` or `"es"`).
|
||||
- **`setLocale(lang)`** – Signal to read/set the current language (`"en"`, `"es"` ...).
|
||||
- **`t(key)`** – Returns a reactive translation string from the built‑in dictionary based on current locale.
|
||||
```
|
||||
Reference in New Issue
Block a user