W3cubDocs

/Angular

TextOptions

Options that affect the text returned by TestElement.text.

API

interface TextOptions {
  exclude?: string | undefined;
}

exclude

string | undefined

Optional selector for elements whose content should be excluded from the text string.

Super-powered by Google ©2010–2025.
Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0.
https://angular.dev/api/cdk/testing/TextOptions