This commit is contained in:
mhartington
2015-12-11 15:38:00 -05:00
parent 4e4a3651a9
commit 216374f932
3 changed files with 71 additions and 5 deletions

View File

@@ -48,10 +48,10 @@ import {raf, ready, CSS} from '../../util/dom';
* }
* ```
*
* @property {string} [pulling-icon] - the icon you want to display when you begin to pull down
* @property {string} [pulling-text] - the text you want to display when you begin to pull down
* @property {string} [refreshing-icon] - the icon you want to display when performing a refresh
* @property {string} [refreshing-text] - the text you want to display when performing a refresh
* @property {string} [pullingIcon] - the icon you want to display when you begin to pull down
* @property {string} [pullingText] - the text you want to display when you begin to pull down
* @property {string} [refreshingIcon] - the icon you want to display when performing a refresh
* @property {string} [refreshingText] - the text you want to display when performing a refresh
*
* @property {any} (refresh) - the methond on your class you want to perform when you refreshing
* @property {any} (starting) - the methond on your class you want to perform when you start pulling down

View File

@@ -10,7 +10,7 @@ import {IONIC_DIRECTIVES} from '../directives';
* The Page decorator indicates that the decorated class is an Ionic
* navigation component, meaning it can be navigated to using a NavController.
*
* Pages have all IONIC_DIRECTIVES, which include all Ionic components and directives,
* Pages have all `IONIC_DIRECTIVES`, which include all Ionic components and directives,
* as well as Angular's [CORE_DIRECTIVES](https://angular.io/docs/js/latest/api/core/CORE_DIRECTIVES-const.html)
* and [FORM_DIRECTIVES](https://angular.io/docs/js/latest/api/core/FORM_DIRECTIVES-const.html),
* already provided to them, so you only need to supply custom components and directives to your pages:

View File

@@ -33,8 +33,74 @@ import {IdRef} from '../components/app/id';
import {ShowWhen, HideWhen} from '../components/show-hide-when/show-hide-when';
/**
* @name IONIC_DIRECTIVES
* @description
* The core Ionic directives as well as Angular's CORE_DIRECTIVES and
* FORM_DIRECTIVES. Automatically available in every [@Page](../Page/) template.
*
* **Angular**
* - CORE_DIRECTIVES
* - FORM_DIRECTIVES
*
* **Content**
* - OverlayNav
* - Menu
* - MenuToggle
* - MenuClose
*
* - Button
* - Blur
* - Content
* - Scroll
* - Refresher
*
* **Lists**
* - List
* - ListHeader
* - Item
* - ItemSliding
*
* **Slides**
* - Slides
* - Slide
* - SlideLazy
*
* **Tabs**
* - Tabs
* - Tab
*
* **Toolbar**
* - Toolbar
* - ToolbarTitle
* - ToolbarItem
*
* **Media**
* - Icon
*
* **Forms**
* - Searchbar
* - Segment
* - SegmentButton
* - Checkbox
* - RadioGroup
* - RadioButton
* - Toggle
* - TextInput
* - TextInputElement
* - Label
*
* **Nav**
* - Nav
* - NavbarTemplate
* - Navbar
* - NavPush
* - NavPop
* - NavRouter
* - IdRef
*
* - ShowWhen
* - HideWhen
*/
export const IONIC_DIRECTIVES = [
// Angular