ng2-responsive
Version:
Superset of RESPONSIVE DIRECTIVES to show or hide items according to the size of the device screen and another features in Angular 2
13 lines (12 loc) • 680 B
TypeScript
import { TemplateRef, ViewContainerRef, ChangeDetectorRef } from '@angular/core';
import { ResponsiveState, RESPONSIVE_BASE } from '../config/index';
export declare class ShowItSizes extends RESPONSIVE_BASE<any> {
protected _showWhenTrue: boolean;
constructor(templateRef: TemplateRef<any>, viewContainer: ViewContainerRef, _responsiveState: ResponsiveState, cd: ChangeDetectorRef);
showItSizes: any;
}
export declare class HideItSizes extends RESPONSIVE_BASE<any> {
protected _showWhenTrue: boolean;
constructor(templateRef: TemplateRef<any>, viewContainer: ViewContainerRef, _responsiveState: ResponsiveState, cd: ChangeDetectorRef);
hideItSizes: any;
}