mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 19:57:22 +08:00
docs(tabs): add more docs
This commit is contained in:
@ -82,7 +82,8 @@ export class TabButton implements ComponentInterface {
|
||||
|
||||
componentWillLoad() {
|
||||
if (this.tab === undefined) {
|
||||
console.warn('ion-tab-button needs a tab, so it can be selected');
|
||||
console.warn(`ion-tab-button needs a tab name, so it can be selected.
|
||||
<ion-tab-button tab="TAB_NAME">`);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user