new WidgetPartial()
Partial representing a widget instance.
- Since:
-
- 4.5.0
- Source:
Extends
Methods
-
initialize(id, options)
-
Constructor.
Parameters:
Name Type Description idstring Partial ID. optionsObject Properties
Name Type Description paramsObject - Since:
-
- 4.5.0
- Source:
-
refresh()
-
Refresh widget partial.
- Source:
Returns:
- Type
- Promise
-
renderContent(placement)
-
Send widget-updated message to parent so spinner will get removed from widget control.
Parameters:
Name Type Description placementwp.customize.selectiveRefresh.Placement - Source: