Event observations

Event observations

wyattbikerwyattbiker Posts: 25Questions: 14Answers: 0

https://datatables.net/reference/event/button-action

1) Why did you choose to have the .dt namespace as a suffix? I guess it is little counterintuitive.
2) Some of the examples do not include .dt namespace

Thanks

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,839Questions: 1Answers: 10,518 Site admin
    Answer ✓

    1) Why did you choose to have the .dt namespace as a suffix?

    Its shorter and easier to type than datatables.

    2) Some of the examples do not include .dt namespace

    No - if you use the DataTables API methods such as on() the name space is automatically added for you since you would only use the DataTables API to listen for DataTables events. The documentation for those methods mentions this.

    Allan

This discussion has been closed.