Skip to content

Good practices for describing a plugin to host in terms of preferred size, etc. + how a host should wrap a wam plugin #98

Description

@micbuffa

It seems that there is no good practices for a WAM developer to give hints about the preferred size of a plugin. Some plugins from the wam-example repo expose gui.properties.dataWidth.value and gui.properties.dataHeight.value for example (this is the case of the BigMuff WAM + others). Some developer add directly to the main div container a width and a height attribute etc.

On the other hand, are there good practices for a host in order to display correctly a WAM. Should the host wrap the WAM container in a div in order to give it a size (i.e the host decides in this case), or should the wam provide a div with a preferred size (in that case the WAM decides) ?

Michel

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions