GitHubJupyter
  • Preparing search index...
  • The search index is not available
@jupyterlab
  • @jupyterlab
  • ui-components
  • Styling
  • styleNodeByTag

Function styleNodeByTag

  • styleNodeByTag(node: HTMLElement, tagName: string, className?: string): void
  • Style a node and its elements that have a given tag name.

    Parameters

    • node: HTMLElement

      The base node.

    • tagName: string

      The html tag name to style.

    • className: string = ''

      The optional CSS class to add to styled nodes.

    Returns void

    • Defined in packages/ui-components/src/components/styling.ts:33

Settings

Member Visibility
GitHubJupyter
@jupyterlab
  • Loading...

Generated using TypeDoc