Skip to content

Commit

Permalink
update javascript usage
Browse files Browse the repository at this point in the history
  • Loading branch information
Goran Martinjak committed May 21, 2019
1 parent d73e9a7 commit 77cfa4a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cookbook/javascript_usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ To initialize Content Browser and use it in javascript on custom events you can

Import and initialize the plugin:

.. code-block:: jinja
.. code-block:: javascript
import { Browser } from '@netgen/content-browser-ui';
// create new Content Browser instance
Expand All @@ -35,7 +36,8 @@ Import and initialize the plugin:
Plugin accepts javascript object as options for that instance.
For example:

.. code-block:: jinja
.. code-block:: javascript
import { Browser } from '@netgen/content-browser-ui';
// create new Content Browser instance
Expand Down

0 comments on commit 77cfa4a

Please sign in to comment.