remove ion- component prefixes for now

Closes #239.
This commit is contained in:
Tim Lancina
2015-10-05 16:15:32 -05:00
parent a4327c6bab
commit 5c17f82e7f
11 changed files with 9 additions and 29 deletions

View File

@ -12,8 +12,6 @@ import {IonicConfig} from '../../config/config';
import {IonicComponent, IonicView} from '../../config/decorators';
/**
* @name ionCheckbox
* @description
* The checkbox is no different than the HTML checkbox input, except it's styled differently
*
* See the [Angular 2 Docs](https://angular.io/docs/js/latest/api/core/Form-interface.html) for more info on forms and input.

View File

@ -10,13 +10,11 @@ import {ScrollTo} from '../../animations/scroll-to';
/**
* @name ionContent
* @description
* The ionContent component provides an easy to use content area that can be configured to use Ionic's custom Scroll View, or the built in overflow scrolling of the browser.
* The Content component provides an easy to use content area that can be configured to use Ionic's custom Scroll View, or the built in overflow scrolling of the browser.
*
* While we recommend using the custom Scroll features in Ionic in most cases, sometimes (for performance reasons) only the browser's native overflow scrolling will suffice, and so we've made it easy to toggle between the Ionic scroll implementation and overflow scrolling.
*
* You can implement pull-to-refresh with the ionRefresher component.
* You can implement pull-to-refresh with the [Refresher](../../scroll/Refresher) component.
*
* @usage
* ```html

View File

@ -11,10 +11,8 @@ let activeInput = null;
let lastInput = null;
/**
* @name ionInput
* @description
* The ionInput component is used to focus text input elements.
*
* The Input component is used to focus text input elements.
*
* The `focusNext()` and `focusPrevious()` methods make it easy to focus input elements across all devices.
*
* @usage

View File

@ -4,8 +4,6 @@ import {dom} from 'ionic/util';
/**
* @name ionItem
* @description
* Creates a list-item that can easily be swiped,
* deleted, reordered, edited, and more.
*

View File

@ -7,15 +7,13 @@ import {ListVirtualScroll} from './virtual';
import * as util from 'ionic/util';
/**
* @name ionList
* @description
* The List is a widely used interface element in almost any mobile app, and can include
* content ranging from basic text all the way to buttons, toggles, icons, and thumbnails.
*
* Both the list, which contains items, and the list items themselves can be any HTML
* element.
*
* Using the ionList and ionItem components make it easy to support various
* Using the List and Item components make it easy to support various
* interaction modes such as swipe to edit, drag to reorder, and removing items.
*
*/

View File

@ -7,8 +7,6 @@ import {makeComponent} from '../../config/decorators';
import * as util from 'ionic/util';
/**
* @name ionModal
* @description
* The Modal is a content pane that can go over the user's main view temporarily. Usually used for making a choice or editing an item.
*
* @usage

View File

@ -9,8 +9,6 @@ import * as util from 'ionic/util';
/**
* @name Popup
* @description
* The Ionic Popup service allows the creation of popup windows that require the user to respond in order to continue.
*
* The popup service has support for more flexible versions of the built in `alert()`, `prompt()`, and `confirm()` functions that users are used to, in addition to allowing popups with completely custom content and look.

View File

@ -7,8 +7,6 @@ import {ListHeader} from '../list/list';
/**
* @name ionRadioGroup
* @description
* A radio group is a group of radio components.
*
* Selecting a radio button in the group unselects all others in the group.

View File

@ -6,11 +6,9 @@ import * as util from 'ionic/util';
import {raf, ready, CSS} from 'ionic/util/dom';
/**
* @name ionRefresher
* @description
* Allows you to add pull-to-refresh to an ionContent component.
* Allows you to add pull-to-refresh to an Content component.
*
* Place it as the first child of your ionContent or ionScroll element.
* Place it as the first child of your Content or Scroll element.
*
* When refreshing is complete, call `refresher.complete()` from your controller.
*

View File

@ -10,8 +10,8 @@ import {Animation} from '../../animations/animation';
import * as util from 'ionic/util';
/**
* ion-scroll is a non-flexboxed scroll area that can
* scroll horizontally or vertically.
* Scroll is a non-flexboxed scroll area that can scroll horizontally or
* vertically.
*/
@IonicComponent({
selector: 'ion-scroll',

View File

@ -45,8 +45,6 @@ class MediaSwitch {
/**
* @name ionSwitch
* @description
* A switch technically is the same thing as an HTML checkbox input, except it looks different and is easier to use on a touch device. Ionic prefers to wrap the checkbox input with the <label> in order to make the entire toggle easy to tap or drag.
*
* Toggles can also have colors assigned to them, by adding the `toggle-assertive` attribute to assign the assertive color.