UI
setPluginSize
Sets the size of the extension plugin
moises.ui.setPluginSizeParameters
| Parameter | Type | Description |
|---|---|---|
width | number | The width of the plugin in pixels |
height | number | The height of the plugin in pixels |
Returns:
void - Does not return a value
Usage Example
import { initMoisesExtension } from '@moises.ai/extension'
const useMoisesExtension = initMoisesExtension({
id: 'id',
name: 'name',
description: 'description',
icon: 'icon',
version: 'version',
author: 'author'
})
const { moises } = useMoisesExtension()
moises.ui.setPluginSize({ width: 800, height: 600 })This file is automatically generated. Do not edit manually.