mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-29 09:47:50 +08:00
jcef.md: link upsource links not working in headings
This commit is contained in:
parent
4de35357b8
commit
46c9c35e34
@ -55,7 +55,9 @@ Or in order to just open it in a separate window:
|
||||
|
||||
## API
|
||||
|
||||
### [`JBCefApp`](upsource:///platform/platform-api/src/com/intellij/ui/jcef/JBCefApp.java)
|
||||
### JBCefApp
|
||||
[`JBCefApp`](upsource:///platform/platform-api/src/com/intellij/ui/jcef/JBCefApp.java)
|
||||
|
||||
Performs JCEF auto-initialization, manages its lifecycle, and provides `JBCefClient` instances.
|
||||
|
||||
Before using JCEF, `JBCefApp.isSupported()` check must be called:
|
||||
@ -75,14 +77,18 @@ JCEF can be unsupported when:
|
||||
|
||||
To avoid the above problems, the IDE should be run with the bundled JBR.
|
||||
|
||||
### [`JBCefClient`](upsource:///platform/platform-api/src/com/intellij/ui/jcef/JBCefClient.java)
|
||||
### JBCefClient
|
||||
[`JBCefClient`](upsource:///platform/platform-api/src/com/intellij/ui/jcef/JBCefClient.java)
|
||||
|
||||
Is tied to every browser component explicitly or implicitly.
|
||||
Used for adding handlers to the associated browser.
|
||||
The same instance can be shared among multiple browsers.
|
||||
It is up to the developer to use a shared or per-browser instance, depending on the handlers' logic.
|
||||
If a client was created explicitly, it should be [disposed](disposers.md) by the developer; otherwise, it is disposed automatically following the associated browser instance disposal.
|
||||
|
||||
### [`JBCefBrowser`](upsource:///platform/platform-api/src/com/intellij/ui/jcef/JBCefBrowser.java)
|
||||
### JBCefBrowser
|
||||
[`JBCefBrowser`](upsource:///platform/platform-api/src/com/intellij/ui/jcef/JBCefBrowser.java)
|
||||
|
||||
Provides the browser UI component:
|
||||
|
||||
```java
|
||||
@ -118,7 +124,8 @@ The simplest way to add a browser component to your UI:
|
||||
myPanel.add(new JBCefBrowser("https://www.jetbrains.com").getComponent());
|
||||
```
|
||||
|
||||
### [`JBCefJSQuery`](upsource:///platform/platform-api/src/com/intellij/ui/jcef/JBCefJSQuery.java)
|
||||
### JBCefJSQuery
|
||||
[`JBCefJSQuery`](upsource:///platform/platform-api/src/com/intellij/ui/jcef/JBCefJSQuery.java)
|
||||
|
||||
Provides JS query callback mechanism.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user