prependTo method

void prependTo (
  1. dynamic target
)

Insert every element in this collection to the beginning of the target.

  • If target refers to multiple elements, the inserted content will be
  • cloned. In such cases, the fragment inserted to the last element in target
  • will be the original content.
    • target can be a selector String, an html String, an Element, or an
  • ElementQuery.

Implementation

void prependTo(target);