mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 11:17:19 +08:00
docs(): fix various documentation issues
This commit is contained in:
@ -16,7 +16,7 @@ export class PageOne {
|
|||||||
|
|
||||||
filterItems(ev: any) {
|
filterItems(ev: any) {
|
||||||
this.setItems();
|
this.setItems();
|
||||||
let val = ev.value;
|
let val = ev.target.value;
|
||||||
|
|
||||||
if (val && val.trim() !== '') {
|
if (val && val.trim() !== '') {
|
||||||
this.items = this.items.filter(function(item) {
|
this.items = this.items.filter(function(item) {
|
||||||
|
@ -47,6 +47,8 @@ import { LoadingOptions } from './loading-options';
|
|||||||
*
|
*
|
||||||
* @usage
|
* @usage
|
||||||
* ```ts
|
* ```ts
|
||||||
|
* import { LoadingController } from 'ionic-angular';
|
||||||
|
*
|
||||||
* constructor(public loadingCtrl: LoadingController) {
|
* constructor(public loadingCtrl: LoadingController) {
|
||||||
*
|
*
|
||||||
* }
|
* }
|
||||||
|
@ -8,7 +8,7 @@ import { ViewController } from '../../navigation/view-controller';
|
|||||||
* @name MenuToggle
|
* @name MenuToggle
|
||||||
* @description
|
* @description
|
||||||
* The `menuToggle` directive can be placed on any button to toggle a menu open or closed.
|
* The `menuToggle` directive can be placed on any button to toggle a menu open or closed.
|
||||||
* If it is added to the [NavBar](../../navbar/NavBar) of a page, the button will only appear
|
* If it is added to the [NavBar](../../toolbar/Navbar) of a page, the button will only appear
|
||||||
* when the page it's in is currently a root page. See the [Menu Navigation Bar Behavior](../Menu#navigation-bar-behavior)
|
* when the page it's in is currently a root page. See the [Menu Navigation Bar Behavior](../Menu#navigation-bar-behavior)
|
||||||
* docs for more information.
|
* docs for more information.
|
||||||
*
|
*
|
||||||
|
@ -88,7 +88,7 @@ import { VirtualHeader } from './virtual-header';
|
|||||||
* ### Approximate Widths and Heights
|
* ### Approximate Widths and Heights
|
||||||
*
|
*
|
||||||
* If the height of items in the virtual scroll are not close to the
|
* If the height of items in the virtual scroll are not close to the
|
||||||
* default size of 40px, it is extremely important to provide an value for
|
* default size of 40px, it is extremely important to provide a value for
|
||||||
* approxItemHeight height. An exact pixel-perfect size is not necessary,
|
* approxItemHeight height. An exact pixel-perfect size is not necessary,
|
||||||
* but without an estimate the virtual scroll will not render correctly.
|
* but without an estimate the virtual scroll will not render correctly.
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user