How to use the @fluentui/react-component-ref.handleRef function in @fluentui/react-component-ref

To help you get started, we’ve selected a few @fluentui/react-component-ref examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github microsoft / fluent-ui-react / packages / react / src / components / Input / Input.tsx View on Github external
innerRef={(inputElement: HTMLElement) => {
                handleRef(this.inputRef, inputElement)
                handleRef(inputRef, inputElement)
              }}
            >
github microsoft / fluent-ui-react / packages / react / src / components / Slider / Slider.tsx View on Github external
innerRef={(inputElement: HTMLElement) => {
              handleRef(this.inputRef, inputElement)
              handleRef(inputRef, inputElement)
            }}
          >
github microsoft / fluent-ui-react / packages / react / src / components / Slider / Slider.tsx View on Github external
innerRef={(inputElement: HTMLElement) => {
              handleRef(this.inputRef, inputElement)
              handleRef(inputRef, inputElement)
            }}
          >
github microsoft / fluent-ui-react / packages / react / src / components / Input / Input.tsx View on Github external
innerRef={(inputElement: HTMLElement) => {
                handleRef(this.inputRef, inputElement)
                handleRef(inputRef, inputElement)
              }}
            >
github microsoft / fluent-ui-react / packages / react / src / components / Dropdown / Dropdown.tsx View on Github external
innerRef={(listElement: HTMLElement) => {
          handleRef(this.listRef, listElement)
          handleRef(innerRef, listElement)
        }}
      >
github microsoft / fluent-ui-react / packages / react / src / components / Dropdown / Dropdown.tsx View on Github external
innerRef={(listElement: HTMLElement) => {
          handleRef(this.listRef, listElement)
          handleRef(innerRef, listElement)
        }}
      >
github microsoft / fluent-ui-react / packages / react / src / components / Popup / Popup.tsx View on Github external
innerRef={domElement => {
                this.popupDomElement = domElement
                handleRef(contentRef, domElement)
                nestingRef.current = domElement
              }}
            >

@fluentui/react-component-ref

A set of components and utils to deal with React refs.

MIT
Latest version published 2 years ago

Package Health Score

77 / 100
Full package analysis