Improved docs.
This commit is contained in:
@@ -1465,7 +1465,7 @@
|
||||
|
||||
|
||||
<div class="tag-source">
|
||||
<a href="pixi_scrollview.js.html#line37">scrollview.js:37</a>
|
||||
<a href="pixi_scrollview.js.html#line38">scrollview.js:38</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -1508,9 +1508,7 @@
|
||||
<dt class="tag-see">See:</dt>
|
||||
<dd class="tag-see">
|
||||
<ul>
|
||||
<li><a target="_blank" href="https://davidfig.github.io/pixi-scrollbox/jsdoc/Scrollbox.html">Scrollbox</a></li>
|
||||
|
||||
<li><a target="_blank" href="https://davidfig.github.io/pixi-viewport/jsdoc/Viewport.html">Viewport</a></li>
|
||||
<li><a target="_blank" href="https://davidfig.github.io/pixi-scrollbox/jsdoc/Scrollbox.html">https://davidfig.github.io/pixi-scrollbox/jsdoc/Scrollbox.html</a></li>
|
||||
</ul>
|
||||
</dd>
|
||||
|
||||
@@ -1537,8 +1535,8 @@
|
||||
<pre class="prettyprint"><code>// Create the app
|
||||
const app = new PIXIApp({
|
||||
view: canvas,
|
||||
width: 900,
|
||||
height: 250
|
||||
width: 600,
|
||||
height: 400
|
||||
}).setup().run()
|
||||
|
||||
// Create the Scrollview
|
||||
@@ -1546,7 +1544,7 @@ app.loader
|
||||
.add('elephant', './assets/elephant-1.jpg')
|
||||
.load((loader, resources) => {
|
||||
const sprite = new PIXI.Sprite(resources.elephant.texture)
|
||||
const scrollview = new Scrollview({boxWidth: 400, boxHeight: 180})
|
||||
const scrollview = new Scrollview({boxWidth: 400, boxHeight: 300})
|
||||
scrollview.content.addChild(sprite)
|
||||
app.scene.addChild(scrollview)</code></pre>
|
||||
|
||||
@@ -1596,7 +1594,7 @@ app.loader
|
||||
|
||||
|
||||
<div class="tag-source">
|
||||
<a href="pixi_scrollview.js.html#line68">scrollview.js:68</a>
|
||||
<a href="pixi_scrollview.js.html#line69">scrollview.js:69</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -1703,7 +1701,7 @@ app.loader
|
||||
|
||||
<footer class="content-size">
|
||||
<div class="footer">
|
||||
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.2</a> on Tue May 14 2019 14:02:59 GMT+0200 (Mitteleuropäische Sommerzeit)
|
||||
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.2</a> on Tue May 14 2019 14:29:52 GMT+0200 (Mitteleuropäische Sommerzeit)
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user