Skip to content

Commit

Permalink
docs(addon/components/paper-grid): documents didInsertNode.
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewhartstonge committed Nov 15, 2024
1 parent e0801e7 commit 8dea1ea
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions addon/components/paper-grid-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
4 changes: 4 additions & 0 deletions addon/components/paper-grid-tile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 8dea1ea

Please sign in to comment.