cell.blur() in KeyTable
cell.blur() in KeyTable
sliekens
Posts: 97Questions: 17Answers: 2
The KeyTable plugin attaches a blur()
function to the cell
function object. This makes it a confusing API and it is difficult (or impossible?) to represent this in Typescript.
DataTables.Api.cell()
DataTables.Api.cell.blur()
https://datatables.net/reference/api/cell()
https://datatables.net/reference/api/cell.blur()
Please change this API.
I think you should attach the blur()
method to the DataTables.Api.keys
type.
DataTables.Api.keys.blur()
This discussion has been closed.
Answers
It should be quite possible to represent that in TypeScript since it is perfectly valid Javascript. Had a look at this SO thread for some discussion on that topic.
I'm afraid I won't change the DataTables API just for TypeScript .
Allan