Skip to content

Commit

Permalink
Add description about function as contents (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
urin committed Apr 30, 2017
1 parent 77f221b commit cc123b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ <h4>offsetX, offsetY</h4>
</style>
<div class="sample-explanation">
<h4>contents</h4>
<p>Option <var>contents</var> is the plain text or HTML content of the balloon and can be a string or jQuery object. Set the <var>html</var> option to true if <var>contents</var> is a jQuery object or a string containing markup. If an img element has both title and alt property, use title.</p>
<p>Option <var>contents</var> is the plain text, HTML text, jQuery object or function. Set the <var>html</var> option to true if <var>contents</var> is a jQuery object or a string containing markup. Pass function which returns contents to update contents dynamically.</p>
<code class="sample-script">
$('.sample4-1').balloon({<br>
&nbsp;&nbsp;html: true,<br>
Expand Down

0 comments on commit cc123b8

Please sign in to comment.