What is the meaning of the word "yarn-dye"?

Definitions:

  1. to dye fabric before it is spun copy to clipboard verb
    • I yarddye the fabric for our company. copy to clipboard