setData

fun setData(format: String, data: String)(source)

Adds the specified data.

MDN Reference