@visa/nova-angular
Version:
Visa Product Design System Nova Angular library
54 lines (53 loc) • 2.27 kB
TypeScript
/**
* Copyright (c) 2025 Visa, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
**/
import { BooleanInput } from '@angular/cdk/coercion';
import * as i0 from "@angular/core";
export declare const BreakpointType: {
readonly XS: "xs";
readonly SM: "sm";
readonly MD: "md";
readonly LG: "lg";
readonly XL: "xl";
readonly XXL: "xxl";
readonly MOBILE: "mobile";
readonly DESKTOP: "desktop";
};
export type BreakpointType = (typeof BreakpointType)[keyof typeof BreakpointType];
export declare class BreakpointsDirective {
get hostClasses(): string;
/**
* Hides element when true.
*/
get vHide(): boolean;
set vHide(value: BooleanInput);
_vHide: boolean;
/**
* Hides element when within given _container_ breakpoint.
*/
get vContainerHide(): BreakpointType | BreakpointType[] | null;
set vContainerHide(value: BreakpointType | BreakpointType[] | null);
_vContainerHide: BreakpointType | BreakpointType[] | null;
/**
* Hides element when within given _media_ breakpoint.
*/
get vMediaHide(): BreakpointType | BreakpointType[] | null;
set vMediaHide(value: BreakpointType | BreakpointType[] | null);
_vMediaHide: BreakpointType | BreakpointType[] | null;
getClasses(type: 'container' | 'media'): string | void;
static ɵfac: i0.ɵɵFactoryDeclaration<BreakpointsDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<BreakpointsDirective, "[vContainerHide], [vMediaHide], [vHide], ", never, { "vHide": { "alias": "vHide"; "required": false; }; "vContainerHide": { "alias": "vContainerHide"; "required": false; }; "vMediaHide": { "alias": "vMediaHide"; "required": false; }; }, {}, never, never, true, never>;
}