UNPKG

@visa/nova-angular

Version:

Visa Product Design System Nova Angular library

38 lines (37 loc) 1.71 kB
/** * 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 { MessageType } from './message.constants'; import * as i0 from "@angular/core"; export declare class MessageDirective { /** * Sets message type. * @default 'information' / MessageType.INFORMATION * @options "error" | MessageType.ERROR | <br> "information" | MessageType.INFORMATION | <br> "success" | MessageType.SUCCESS | <br> "warning" | MessageType.WARNING | <br> "close" | MessageType.CLOSE | <br> "subtle" | MessageType.SUBTLE */ get messageType(): MessageType; set messageType(value: MessageType); _messageType: MessageType; /** * Provides custom class&#40;es&#41; for custom styling. * @default .v-message.v-message-&lt;messageType&gt; */ class: string; get hostClasses(): string; constructor(); static ɵfac: i0.ɵɵFactoryDeclaration<MessageDirective, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<MessageDirective, "[v-message]", never, { "messageType": { "alias": "messageType"; "required": false; }; "class": { "alias": "class"; "required": false; }; }, {}, never, never, true, never>; }