mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-26 08:13:34 +08:00
@ -8,7 +8,6 @@ export * from 'ionic/components/checkbox/checkbox'
|
||||
export * from 'ionic/components/content/content'
|
||||
export * from 'ionic/components/icon/icon'
|
||||
export * from 'ionic/components/item/item'
|
||||
export * from 'ionic/components/item/item-group'
|
||||
export * from 'ionic/components/item/item-sliding'
|
||||
export * from 'ionic/components/menu/menu'
|
||||
export * from 'ionic/components/menu/menu-types'
|
||||
|
@ -1,50 +0,0 @@
|
||||
import {Directive, ElementRef, Host, Optional, NgZone} from 'angular2/angular2';
|
||||
import {Content} from '../content/content';
|
||||
import {throttle} from '../../util/util';
|
||||
import {position, offset, CSS, raf} from '../../util/dom';
|
||||
import {Config} from '../../config/config';
|
||||
|
||||
/**
|
||||
* TODO
|
||||
*/
|
||||
@Directive({
|
||||
selector: 'ion-item-group',
|
||||
host: {
|
||||
'class': 'item-group'
|
||||
}
|
||||
})
|
||||
export class ItemGroup {
|
||||
/**
|
||||
* TODO
|
||||
* @param {ElementRef} elementRef TODO
|
||||
*/
|
||||
constructor(elementRef: ElementRef) {
|
||||
this.ele = elementRef.nativeElement;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* TODO
|
||||
*/
|
||||
@Directive({
|
||||
selector: 'ion-item-group-title',
|
||||
host: {
|
||||
'class': 'item-group-title',
|
||||
'[class.sticky]': 'isSticky'
|
||||
}
|
||||
})
|
||||
export class ItemGroupTitle {
|
||||
/**
|
||||
* TODO
|
||||
* @param {ElementRef} elementRef TODO
|
||||
*/
|
||||
constructor(
|
||||
private elementRef: ElementRef,
|
||||
private zone: NgZone,
|
||||
config: Config,
|
||||
private content: Content
|
||||
) {
|
||||
// make sure the sticky class gets set on the title
|
||||
this.isSticky = true;
|
||||
}
|
||||
}
|
@ -14,7 +14,6 @@ import {Tabs} from '../components/tabs/tabs';
|
||||
import {Tab} from '../components/tabs/tab';
|
||||
import {List, ListHeader} from '../components/list/list';
|
||||
import {Item} from '../components/item/item';
|
||||
import {ItemGroup, ItemGroupTitle} from '../components/item/item-group';
|
||||
import {ItemSliding} from '../components/item/item-sliding';
|
||||
import {Toolbar, ToolbarTitle, ToolbarItem} from '../components/toolbar/toolbar';
|
||||
import {Icon} from '../components/icon/icon';
|
||||
@ -57,8 +56,6 @@ export const IONIC_DIRECTIVES = [
|
||||
List,
|
||||
ListHeader,
|
||||
Item,
|
||||
ItemGroup,
|
||||
ItemGroupTitle,
|
||||
ItemSliding,
|
||||
|
||||
// Slides
|
||||
|
Reference in New Issue
Block a user