UI

setPluginSize

Sets the size of the extension plugin

moises.ui.setPluginSize

Parameters

ParameterTypeDescription
widthnumberThe width of the plugin in pixels
heightnumberThe 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.