Improved docs.

This commit is contained in:
2019-05-14 14:30:12 +02:00
parent 919c8733a0
commit 679ab49047
68 changed files with 82 additions and 81 deletions
+7 -4
View File
@@ -1447,8 +1447,8 @@
* // Create the app
* const app = new PIXIApp({
* view: canvas,
* width: 900,
* height: 250
* width: 600,
* height: 400
* }).setup().run()
*
* // Create the Scrollview
@@ -1456,7 +1456,7 @@
* .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)
*
@@ -1471,6 +1471,7 @@ export default class Scrollview extends Scrollbox {
* Creates an instance of a Scrollview.
*
* @constructor
* @see https://davidfig.github.io/pixi-scrollbox/jsdoc/Scrollbox.html
*/
constructor(opts = {}) {
@@ -1505,6 +1506,8 @@ export default class Scrollview extends Scrollbox {
*/
layout() {
this.update()
return this
}
}
@@ -1521,7 +1524,7 @@ export default class Scrollview extends Scrollbox {
<footer class="content-size">
<div class="footer">
Documentation generated by <a 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 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>