Skip to main content

@microsoft/fast-foundation > display

display() function

Applies a CSS display property. Also adds CSS rules to not display the element when the [hidden] attribute is applied to the element.

Signature:
export declare function display(displayValue: CSSDisplayPropertyValue): string;

Parameters

ParameterTypeDescription
displayValueCSSDisplayPropertyValue
Returns:

string