Skip to content

Commit 6ce08a7

Browse files
1010807: Resolved CI issues
1 parent 5a582bf commit 6ce08a7

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Document-Processing/PDF/PDF-Viewer/react/context-menu/custom-context-menu.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ The PDF Viewer supports extensive customization of the context menu, including r
1414

1515
## Add Custom Context Menu Items
1616

17-
You can add custom options to the context menu using the [addCustomMenu()](https://ej2.syncfusion.com/react/documentation/api/pdfviewer/#addcustommenu) method. This is typically implemented during the `documentLoad` event.
17+
You can add custom options to the context menu using the [addCustomMenu()](https://ej2.syncfusion.com/react/documentation/api/pdfviewer#addcustommenu) method. This is typically implemented during the `documentLoad` event.
1818

1919
### Implementation Guide
2020

@@ -81,7 +81,7 @@ root.render(<App />);
8181

8282
## Handle Click Events for Custom Menu Items
8383

84-
The [customContextMenuSelect()](https://ej2.syncfusion.com/react/documentation/api/pdfviewer/#customcontextMenuselect) method defines actions for custom menu items.
84+
The [customContextMenuSelect()](https://ej2.syncfusion.com/react/documentation/api/pdfviewer#customcontextMenuselect) method defines actions for custom menu items.
8585

8686
```jsx
8787
export function App() {
@@ -221,7 +221,7 @@ root.render(<App />);
221221

222222
## Dynamic Context Menu Customization
223223

224-
The [customContextMenuBeforeOpen()](https://ej2.syncfusion.com/react/documentation/api/pdfviewer/#customcontextMenubeforeopen) event allows for dynamic showing or hiding of items based on selection or document state.
224+
The [customContextMenuBeforeOpen()](https://ej2.syncfusion.com/react/documentation/api/pdfviewer#customcontextMenubeforeopen) event allows for dynamic showing or hiding of items based on selection or document state.
225225

226226
```jsx
227227
export function App() {
@@ -338,7 +338,7 @@ The following is the output of the custom context menu with customization.
338338
{% endhighlight %}
339339
{% endtabs %}
340340

341-
N> To set up the **server-backed PDF Viewer**, add the following `serviceUrl` within the <div> element in either the `index.tsx` or `index.jsx` file:
341+
N> To set up the **server-backed PDF Viewer**, add the following `serviceUrl` within the <div> element in either the `index.TSX` or `index.JSX` file:
342342
**serviceUrl="https://document.syncfusion.com/web-services/pdf-viewer/api/pdfviewer"**.
343343

344344
{% previewsample "Document-Processing/code-snippet/pdfviewer/react/custom-context-menu/index.html" %}

0 commit comments

Comments
 (0)