use textData() to match our other apis.