@@ -24,7 +24,7 @@ See also the [Change Log](https://github.com/mar10/jquery-ui-contextmenu/blob/ma
24
24
## Demo
25
25
26
26
[ Live demo page] ( http://wwwendt.de/tech/demo/jquery-contextmenu/demo/ ) :
27
- [ ![ sample] ( doc /teaser.png?raw=true) ] ( http://wwwendt.de/tech/demo/jquery-contextmenu/demo/ " Live demo ")
27
+ [ ![ sample] ( demo /teaser.png?raw=true) ] ( http://wwwendt.de/tech/demo/jquery-contextmenu/demo/ " Live demo ")
28
28
29
29
30
30
## Example
@@ -407,27 +407,27 @@ Follwing a list of available menu definition properties:
407
407
</dd>
408
408
<dt>addClass</dt>
409
409
<dd>
410
- Type: <code>String</code>, default: "" <br>
411
- Additional class to be added to the entries html element. Separate multiple
412
- classes with space.<br>
410
+ Type: <code>String</code>, default: <code>""</code> <br>
411
+ Additional class name(s) to be added to the entries <li> element.
412
+ Separate multiple class names with a space.<br>
413
413
Custom CSS may be applied like <code>.ui-menu .my-class { color: red; }</code>.
414
414
</dd>
415
415
<dt>cmd</dt>
416
416
<dd>
417
- Type: <code>String</code>, default: "" <br>
417
+ Type: <code>String</code>, default: <code>""</code> <br>
418
418
Optional identifier associated with the menu entry.
419
- It can later be accessed in the * select* event by <code>ui.cmd</code>.
419
+ It can later be accessed in the <i> select</i> event by <code>ui.cmd</code>.
420
420
</dd>
421
421
<dt>data</dt>
422
422
<dd>
423
- Type: <code>Object</code>, default: {} <br>
424
- Optional hash of additional properties that will be added to the entries *data*
425
- attribute.<br>
426
- It can later be accessed in the * select* event by <code>ui.item.data()</code>.
423
+ Type: <code>Object</code>, default: <code>{}</code> <br>
424
+ Optional hash of additional properties that will be added to the entry's
425
+ <i>data</i> attribute.<br>
426
+ It can later be accessed in the <i> select</i> event as <code>ui.item.data()</code>.
427
427
</dd>
428
428
<dt>disabled</dt>
429
429
<dd>
430
- Type: <code>Boolean</code>, default: false<br>
430
+ Type: <code>Boolean</code>, default: <code> false</code> <br>
431
431
Pass <i>true</i> to disable the entry.
432
432
</dd>
433
433
<dt>title</dt>
@@ -442,7 +442,7 @@ Follwing a list of available menu definition properties:
442
442
If defined, an icon is added to the menu entry. For example passing
443
443
<code>"ui-icon-copy"</code> will generate this element:
444
444
<code><span class='ui-icon ui-icon-copy' /></code>.<br>
445
- See also [Icon Overview]( http://api.jqueryui.com/theming/icons/) .
445
+ See also <<a href=" http://api.jqueryui.com/theming/icons/">Icon Overview</a> .
446
446
</dd>
447
447
448
448
</dl>
0 commit comments