We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 59ce8e1 commit c36d171Copy full SHA for c36d171
1 file changed
docs/global-apis/acode.md
@@ -177,4 +177,18 @@ Later you can use the icon by adding to class name my-icon to an element.
177
178
### `toInternalUrl(url: string): Promise<string>`
179
180
-When making Ajax or fetch requests, you need to convert file:// URLs to internal URLs. This method do it for you.
+When making Ajax or fetch requests, you need to convert file:// URLs to internal URLs. This method do it for you.
181
+
182
+### `installPlugin(pluginId: string, installerPluginName: string): Promise<void>`
183
184
+Installs an Acode plugin from registry with its id by the consent of user.
185
186
+**Example:**
187
188
+```js
189
+await acode.installPlugin("com.example.pluginid", "mypluin.id");
190
+```
191
192
+:::note
193
+This api is added in `v1.10.6` , versionCode: `954`
194
+:::
0 commit comments