prepend(_:)

Elements.swift:309
@discardableResult func prepend(_ html: String) throws -> Elements
  • Add the supplied HTML to the start of each matched element’s inner HTML.

  • @param html HTML to add inside each element, before the existing HTML

  • @return this, for chaining

  • @see Element#prepend(String)