Ignore:
Timestamp:
10/16/21 18:10:51 (3 years ago)
Author:
Ema <ema_spirova@…>
Branches:
master
Children:
eed0bf8
Parents:
6a3a178
Message:

adding new components

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trip-planner-front/node_modules/@angular/material/badge/badge.d.ts.__ivy_ngcc_bak

    r6a3a178 rfa375fe  
    88import { AriaDescriber } from '@angular/cdk/a11y';
    99import { BooleanInput } from '@angular/cdk/coercion';
    10 import { ElementRef, NgZone, OnDestroy, OnInit, Renderer2 } from '@angular/core';
     10import { ElementRef, NgZone, OnChanges, OnDestroy, Renderer2, SimpleChanges } from '@angular/core';
    1111import { CanDisable, ThemePalette } from '@angular/material/core';
    1212/** @docs-private */
     
    1919export declare type MatBadgeSize = 'small' | 'medium' | 'large';
    2020/** Directive to display a text badge. */
    21 export declare class MatBadge extends _MatBadgeBase implements OnInit, OnDestroy, CanDisable {
     21export declare class MatBadge extends _MatBadgeBase implements OnDestroy, OnChanges, CanDisable {
    2222    private _ngZone;
    2323    private _elementRef;
     
    2525    private _renderer;
    2626    private _animationMode?;
     27    /** Whether the badge has any content. */
     28    _hasContent: boolean;
    2729    /** The color of the badge. Can be `primary`, `accent`, or `warn`. */
    2830    get color(): ThemePalette;
     
    3941    position: MatBadgePosition;
    4042    /** The content for the badge */
    41     get content(): string | number | undefined | null;
    42     set content(newContent: string | number | undefined | null);
    43     private _content;
     43    content: string | number | undefined | null;
    4444    /** Message used to describe the decorated element via aria-describedby */
    4545    get description(): string;
     
    5454    /** Unique id for the badge */
    5555    _id: number;
    56     /** Visible badge element. */
    5756    private _badgeElement;
    58     /** Whether the OnInit lifecycle hook has run yet */
    59     private _isInitialized;
    6057    constructor(_ngZone: NgZone, _elementRef: ElementRef<HTMLElement>, _ariaDescriber: AriaDescriber, _renderer: Renderer2, _animationMode?: string | undefined);
    6158    /** Whether the badge is above the host or not */
     
    6360    /** Whether the badge is after the host or not */
    6461    isAfter(): boolean;
     62    ngOnChanges(changes: SimpleChanges): void;
     63    ngOnDestroy(): void;
    6564    /**
    66      * Gets the element into which the badge's content is being rendered. Undefined if the element
    67      * hasn't been created (e.g. if the badge doesn't have content).
     65     * Gets the element into which the badge's content is being rendered.
     66     * Undefined if the element hasn't been created (e.g. if the badge doesn't have content).
    6867     */
    6968    getBadgeElement(): HTMLElement | undefined;
    70     ngOnInit(): void;
    71     ngOnDestroy(): void;
     69    /** Injects a span element into the DOM with the content. */
     70    private _updateTextContent;
    7271    /** Creates the badge element */
    7372    private _createBadgeElement;
    74     /** Update the text content of the badge element in the DOM, creating the element if necessary. */
    75     private _updateRenderedContent;
    76     /** Updates the host element's aria description via AriaDescriber. */
     73    /** Sets the aria-label property on the element */
    7774    private _updateHostAriaDescription;
    7875    /** Adds css theme class given the color to the component host */
     
    8077    /** Clears any existing badges that might be left over from server-side rendering. */
    8178    private _clearExistingBadges;
     79    /** Gets the string representation of the badge content. */
     80    private _stringifyContent;
    8281    static ngAcceptInputType_disabled: BooleanInput;
    8382    static ngAcceptInputType_hidden: BooleanInput;
Note: See TracChangeset for help on using the changeset viewer.