From abb2f48ae8c4ff73d556fbd82fc64eae3d4818f5 Mon Sep 17 00:00:00 2001 From: Matthew Hartstonge Date: Fri, 15 Nov 2024 15:45:43 +1300 Subject: [PATCH] docs(addon/components/paper-grid): documents didInsertNode. --- addon/components/paper-grid-list.js | 4 ++++ addon/components/paper-grid-tile.js | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/addon/components/paper-grid-list.js b/addon/components/paper-grid-list.js index 52751a9f7..50e224b7b 100644 --- a/addon/components/paper-grid-list.js +++ b/addon/components/paper-grid-list.js @@ -98,6 +98,10 @@ export default class PaperGridList extends Component { this.childrenNotifyUpdate = new Set(); } + /** + * Performs any required DOM setup. + * @param {HTMLElement} element + */ @action didInsertNode(element) { this.element = element; this._installMediaListener(); diff --git a/addon/components/paper-grid-tile.js b/addon/components/paper-grid-tile.js index 4a847fe8a..0f1d2739f 100644 --- a/addon/components/paper-grid-tile.js +++ b/addon/components/paper-grid-tile.js @@ -81,6 +81,10 @@ export default class PaperGridTile extends Component { this.gridList = this.args.parent; } + /** + * Performs any required DOM setup. + * @param {HTMLElement} element + */ @action didInsertNode(element) { this.element = element;