alpha39 updates

This commit is contained in:
Adam Bradley
2015-10-07 10:51:08 -05:00
parent a960069d01
commit 1befe94802
20 changed files with 55 additions and 252 deletions

View File

@ -1,17 +1,15 @@
import {View, Renderer, ElementRef, EventEmitter, Host, forwardRef, Optional} from 'angular2/angular2';
import {Component, Directive, View, Renderer, ElementRef, EventEmitter, Host, forwardRef, Optional} from 'angular2/angular2';
import {Control, NgControl, NgFormControl, ControlGroup, ControlDirective} from 'angular2/angular2';
import {Ion} from '../ion';
import {IonicConfig} from '../../config/config';
import {IonicDirective, IonicComponent} from '../../config/decorators'
import {dom} from 'ionic/util';
/**
* TODO
*/
@IonicComponent({
@Component({
selector: 'ion-segment',
appInjector: [ NgControl ],
inputs: [
'value'
],
@ -123,7 +121,7 @@ export class Segment extends Ion {
/**
* TODO
*/
@IonicDirective({
@Directive({
selector: 'ion-segment',
//inputs: ['value'],
host: {
@ -190,7 +188,7 @@ export class SegmentControlValueAccessor {
/**
* TODO
*/
@IonicDirective({
@Directive({
selector: 'ion-segment-button',
inputs: [
'value'