sp webpart base.propertypaneslider - microsoft/Viva-Connections-Extensibility-Beta GitHub Wiki

Home > @microsoft/sp-webpart-base > PropertyPaneSlider

PropertyPaneSlider() function

Warning: This API is now obsolete.

This is obsolete now. This function has been moved to @microsoft/sp-property-pane. Please consume it from there.

Helper method to create a Slider on the PropertyPane.

Signature:

export declare function PropertyPaneSlider(targetProperty: string, properties: IPropertyPaneSliderProps): IPropertyPaneField<IPropertyPaneSliderProps>;

Parameters

Parameter Type Description
targetProperty string Target property the slider is associated to.
properties IPropertyPaneSliderProps Strongly typed Slider properties.

Returns:

IPropertyPaneField<IPropertyPaneSliderProps>

⚠️ **GitHub.com Fallback** ⚠️