How to open property pane in a SPFx webpart without going in edit mode?
-
18-01-2021 - |
Pergunta
Is there a way to open the property pane without going into edit mode?
Solução
You can do this by calling the open()
method of the Property Pane which can be accessed via the web part's context property:
this.context.propertyPane.open();
You can call it on a button click event and it will open the property pane without manually opening the page in edit mode.
Licenciado em: CC-BY-SA com atribuição
Não afiliado a sharepoint.stackexchange