From 5db9407ab183bcad82a028bf0ece37b1adeed6b4 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Mon, 8 Jun 2020 06:21:19 -0700 Subject: [PATCH] panel_custom docs update (#13674) --- source/_integrations/panel_custom.markdown | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/source/_integrations/panel_custom.markdown b/source/_integrations/panel_custom.markdown index 590c13851cc..a0626c0ba1c 100644 --- a/source/_integrations/panel_custom.markdown +++ b/source/_integrations/panel_custom.markdown @@ -21,7 +21,7 @@ panel_custom: sidebar_title: TodoMVC sidebar_icon: mdi:work url_path: my-todomvc - js_url: /local/my-panel.js + module_url: /local/my-panel.js config: who: world ``` @@ -51,12 +51,12 @@ url_path: required: false type: string js_url: - description: The URL that contains the JavaScript of your panel. This is exclusive to `module_url` and `webcomponent_path`. - required: exclusive + description: The URL that contains the JavaScript of your panel. If used together with `module_url`, will only be served to users that use the ES5 build of the frontend. + required: false type: string module_url: - description: The URL that contains the JavaScript module of your panel. Loaded as a JavaScript module instead of a script. This is exclusive to `js_url` and `webcomponent_path`. - required: exclusive + description: The URL that contains the JavaScript module of your panel. Loaded as a JavaScript module instead of a script. If used together with `module_url`, will only be served to users that use the "latest" build of the frontend. + required: false type: string config: description: Configuration to be passed into your web component when being instantiated. @@ -78,7 +78,7 @@ trust_external_script: default: false type: boolean webcomponent_path: - description: "*DEPRECATED* The HTML path to your component. If omitted will default to `/panels/.html` This is exclusive to `js_url` and `module_url`." - required: exclusive + description: "*DEPRECATED* The HTML path to your component. If omitted will default to `/panels/.html` This cannot be used in combination with either `js_url` and `module_url`." + required: false type: string {% endconfiguration %}