Skip to content

Commit

Permalink
fix(split-pane): it is a directive
Browse files Browse the repository at this point in the history
  • Loading branch information
manucorporat committed Mar 3, 2017
1 parent becc4a7 commit f112711
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/components/split-pane/split-pane.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ContentChildren, Component, ElementRef, EventEmitter, forwardRef, Input, Optional, Output, QueryList, NgZone, Renderer } from '@angular/core';
import { ContentChildren, Directive, ElementRef, EventEmitter, forwardRef, Input, Optional, Output, QueryList, NgZone, Renderer } from '@angular/core';
import { Ion } from '../ion';
import { assert } from '../../util/util';
import { Config } from '../../config/config';
Expand All @@ -25,9 +25,8 @@ export abstract class RootNode {
/**
* @name SplitPane
*/
@Component({
@Directive({
selector: 'ion-split-pane',
template: '<ng-content></ng-content>',
providers: [{provide: RootNode, useExisting: forwardRef(() => SplitPane) }]
})
export class SplitPane extends Ion implements RootNode {
Expand Down

0 comments on commit f112711

Please sign in to comment.