Idea React
    Preparing search index...

    Class TextTruncate

    Hierarchy

    Index
    contentRef: RefObject<HTMLParagraphElement> = ...
    displayName: string = 'TextTruncate'
    expanded: boolean
    overflowed: boolean
    • Called immediately after a component is mounted. Setting state here will trigger re-rendering.

      Returns void

    • Called immediately after updating occurs. Not called for the initial render.

      The snapshot is only present if getSnapshotBeforeUpdate is present and returns non-null.

      Parameters

      Returns void

    • Called immediately before a component is destroyed. Perform any necessary cleanup in this method, such as cancelled network requests, or cleaning up any DOM elements created in componentDidMount.

      Returns void