@visa/nova-angular
Version:
Visa Product Design System Nova Angular library
67 lines (66 loc) • 2.71 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 { AfterContentInit, Signal } from '@angular/core';
import { UUIDService } from '../_utilities/services/uuid.service';
import { ListboxDirective } from '../listbox/listbox.directive';
import * as i0 from "@angular/core";
export declare class ListboxContainerDirective implements AfterContentInit {
private uuidService;
listbox: ListboxDirective;
_disabled: boolean;
_invalid: boolean;
_isRoleListboxVariant: Signal<boolean | null>;
/**
* Provides custom class(es) for custom styling.
* @default .v-listbox-container
*/
get class(): string;
set class(value: string);
_class: string;
get hostClass(): string;
/**
* Sets custom role.
* @default 'listbox' if no child list item contains a child radio or checkbox.
* @default not present if child list item contains a child radio or checkbox.
* @builtin true
*/
role: string;
get hostRole(): string;
_multiselect: boolean;
get hostAriaMultiselectable(): string | void;
get hostAriaInvalid(): string | null;
_required: boolean;
get hostAriaRequired(): string | null;
_inCombobox: boolean;
/**
* Aria attribute relaying what active element the listbox container refers to.
* @builtin true
*/
ariaActiveDescendant: Signal<string | null>;
get hostAriaActiveDescendant(): string | null | void;
/**
* Sets custom id.
* @default uuidService.getUUID('v-listbox-container-')
* @builtin true
*/
id: string;
get hostId(): string;
constructor(uuidService: UUIDService);
ngAfterContentInit(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<ListboxContainerDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<ListboxContainerDirective, "[v-listbox-container] ", never, { "class": { "alias": "class"; "required": false; }; "role": { "alias": "role"; "required": false; }; "ariaActiveDescendant": { "alias": "aria-activedescendant"; "required": false; }; "id": { "alias": "id"; "required": false; }; }, {}, ["listbox"], never, true, never>;
}