ionicとfirebaseでチャットアプリ
差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン前のリビジョン次のリビジョン | 前のリビジョン次のリビジョン両方とも次のリビジョン | ||
ionicとfirebaseでチャットアプリ [2018/09/18] – [ソースコード1] adash333 | ionicとfirebaseでチャットアプリ [2018/09/20] – [自動で下にスクロール] adash333 | ||
---|---|---|---|
行 81: | 行 81: | ||
import { Component, ViewChild } from ' | import { Component, ViewChild } from ' | ||
import { Content } from ' | import { Content } from ' | ||
+ | // Ionic4の場合は、import { Content } from ' | ||
export class HomePage { | export class HomePage { | ||
行 88: | 行 89: | ||
{ | { | ||
setTimeout(() => { | setTimeout(() => { | ||
- | this.contents.scrollToBottom(300); | + | this.content.scrollToBottom(300); |
}, 1000); | }, 1000); | ||
} | } |
ionicとfirebaseでチャットアプリ.txt · 最終更新: 2018/10/07 by 127.0.0.1