@visa/nova-angular
Version:
Visa Product Design System Nova Angular library
75 lines (74 loc) • 3.43 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 { NumberInput } from '@angular/cdk/coercion';
import { SpacingProperties } from '../nova-lib.constants';
import * as i0 from "@angular/core";
export declare class MarginDirective {
get hostClasses(): string;
private convertToString;
/**
* Sets margin-block-start property. <br>
* Accepts: 0 - 48 or <code>SpacingProperties</code>.
*/
get vMT(): number | SpacingProperties | NumberInput;
set vMT(value: number | SpacingProperties | NumberInput);
_vMT: number | SpacingProperties | NumberInput;
/**
* Sets margin-inline-end property. <br>
* Accepts: 0 - 48 or <code>SpacingProperties</code>.
*/
get vMR(): number | SpacingProperties | NumberInput;
set vMR(value: number | SpacingProperties | NumberInput);
_vMR: number | SpacingProperties | NumberInput;
/**
* Sets margin-block-end property. <br>
* Accepts: 0 - 48 or <code>SpacingProperties</code>.
*/
get vMB(): number | SpacingProperties | NumberInput;
set vMB(value: number | SpacingProperties | NumberInput);
_vMB: number | SpacingProperties | NumberInput;
/**
* Sets margin-inline-start property. <br>
* Accepts: 0 - 48 or <code>SpacingProperties</code>.
*/
get vML(): number | SpacingProperties | NumberInput;
set vML(value: number | SpacingProperties | NumberInput);
_vML: number | SpacingProperties | NumberInput;
/**
* Sets margin-inline property. <br>
* Accepts: 0 - 48 or <code>SpacingProperties</code>.
*/
get vMX(): number | SpacingProperties | NumberInput;
set vMX(value: number | SpacingProperties | NumberInput);
_vMX: number | SpacingProperties | NumberInput;
/**
* Sets margin-block property. <br>
* Accepts: 0 - 48 or <code>SpacingProperties</code>.
*/
get vMY(): number | SpacingProperties | NumberInput;
set vMY(value: number | SpacingProperties | NumberInput);
_vMY: number | SpacingProperties | NumberInput;
/**
* Sets margin property. <br>
* Accepts: 0 - 48 or <code>SpacingProperties</code>.
*/
get vM(): number | SpacingProperties | NumberInput;
set vM(value: number | SpacingProperties | NumberInput);
_vM: number | SpacingProperties | NumberInput;
static ɵfac: i0.ɵɵFactoryDeclaration<MarginDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<MarginDirective, "[vMT], [vMR], [vMB], [vML], [vMX], [vMY], [vM], ", never, { "vMT": { "alias": "vMT"; "required": false; }; "vMR": { "alias": "vMR"; "required": false; }; "vMB": { "alias": "vMB"; "required": false; }; "vML": { "alias": "vML"; "required": false; }; "vMX": { "alias": "vMX"; "required": false; }; "vMY": { "alias": "vMY"; "required": false; }; "vM": { "alias": "vM"; "required": false; }; }, {}, never, never, true, never>;
}