mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
docs()
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user