Function: definePreset()
definePreset(
name
,components
):Definer
<object
>
Static method to create an instance of the preset component's metadata builder class.
Parameters
• name: string
the preset name.
• components: ComponentStore
[]
the components of the preset.
Returns
Definer
<object
>
the instance of the Definer class.