When writing code for a control or a card you will have access to the file contolelements.js. This file contains useful classes for you when creating your code.
Content of the file "contolelements.js":