Skip to content

Commit

Permalink
fix(plugins): public variables
Browse files Browse the repository at this point in the history
  • Loading branch information
JonnyBGod committed Jan 5, 2017
1 parent 1d7f6a0 commit 24238e8
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 16 deletions.
8 changes: 4 additions & 4 deletions src/plugin/affix.directive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@ export class ScrollSpyAffixDirective implements AfterViewInit, OnDestroy {
public affixTop: boolean = false;
public affixBottom: boolean = false;

private defaultOptions: ScrollSpyAffixOptions = {
public defaultOptions: ScrollSpyAffixOptions = {
topMargin: 0,
bottomMargin: 0
};

private scrollStream$: any;
public scrollStream$: any;

private el: HTMLElement;
private parentEl: any;
public el: HTMLElement;
public parentEl: any;

constructor(
private ref: ChangeDetectorRef,
Expand Down
10 changes: 5 additions & 5 deletions src/plugin/index.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,17 +42,17 @@ export class ScrollSpyIndexRenderComponent implements OnInit, AfterViewInit, OnD
public itemsToHighlight: Array<string> = [];

@ViewChild('container', { read: ViewContainerRef })
private viewContainerRef: ViewContainerRef;
public viewContainerRef: ViewContainerRef;

private defaultOptions: ScrollSpyIndexComponentOptions = {
public defaultOptions: ScrollSpyIndexComponentOptions = {
spyId: 'window',
topMargin: 0
};

private changeStream$: any;
private scrollStream$: any;
public changeStream$: any;
public scrollStream$: any;

private el: HTMLElement;
public el: HTMLElement;

constructor(
private compiler: Compiler,
Expand Down
4 changes: 2 additions & 2 deletions src/plugin/index.directive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ export interface ScrollSpyIndexOptions {
export class ScrollSpyIndexDirective implements OnInit, AfterViewInit, OnDestroy {
@Input('scrollSpyIndex') public options: ScrollSpyIndexOptions;

private defaultOptions: ScrollSpyIndexOptions = {
public defaultOptions: ScrollSpyIndexOptions = {
selector: 'anchor'
};

private el: HTMLElement;
public el: HTMLElement;

constructor(
private elRef: ElementRef,
Expand Down
4 changes: 2 additions & 2 deletions src/plugin/infinite.directive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ export class ScrollSpyInfiniteDirective implements OnInit, AfterViewInit, OnDest

@Output() public scrollSpyInfiniteEvent: EventEmitter<any> = new EventEmitter();

private defaultOptions: ScrollSpyInfiniteOptions = {
public defaultOptions: ScrollSpyInfiniteOptions = {
spyId: 'window',
distanceRatio: 1
};

private scrollStream$: any;
public scrollStream$: any;

constructor(
private scrollSpy: ScrollSpyService
Expand Down
6 changes: 3 additions & 3 deletions src/plugin/parallax.directive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export class ScrollSpyParallaxDirective implements OnInit, AfterViewInit, OnDest
public cssValue: string;
public isSpecialVal: boolean = false;

private defaultOptions: ScrollSpyParallaxOptions = {
public defaultOptions: ScrollSpyParallaxOptions = {
spyId: 'window',
horizontal: false,
cssKey: 'backgroundPosition',
Expand All @@ -68,9 +68,9 @@ export class ScrollSpyParallaxDirective implements OnInit, AfterViewInit, OnDest
axis: 'Y'
};

private scrollStream$: any;
public scrollStream$: any;

private el: HTMLElement;
public el: HTMLElement;

constructor(
private renderer: Renderer,
Expand Down

0 comments on commit 24238e8

Please sign in to comment.