Skip to content

Commit

Permalink
Fix in docs for function as icon option
Browse files Browse the repository at this point in the history
  • Loading branch information
bbrala committed Sep 20, 2015
1 parent ddcab79 commit 7a1fb05
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs.html
Expand Up @@ -225,10 +225,10 @@ <h3 id="items">options.items</h3>
<p>Specifies additional classNames to add to the item element</p>
</dd>

<dt id="items-icon"><em>(string)</em> icon</dt>
<dt id="items-icon"><em>(function|string)</em> icon</dt>
<dd>
<p>Specifies the icon class to set for the item.</p>
<p>Icons must be defined in CSS with selectors like <code>.context-menu-item.icon-<em>edit</em></code>, where <em>edit</em> is the icon class.</p>
<p>Specifies the icon class or function to set for the item.</p>
<p>Icons must be defined in CSS with selectors like <code>.context-menu-item.icon-<em>edit</em></code>, where <em>edit</em> is the icon class. Also possible to use a function that will be called on runtime to determine the icon class.</p>
</dd>

<dt id="items-disabled"><em>(function|boolean)</em> disabled</dt>
Expand Down

0 comments on commit 7a1fb05

Please sign in to comment.