- Description:
AI Modal for Tiny.
- Source:
- Copyright:
- 2024 Matt Porritt
- 2024 Matt Porritt
- License:
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
AI Modal for Tiny.
Methods
truncateAltText(altText) → {string}
- Description:
Truncate the alt text if it is longer than the maximum length.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
altText |
String | The alt text |
Returns:
The truncated alt text
- Type
- string