This is a lower-level API. Lower-level APIs are not recommended for most projects, and may not be available on all plans. See our page on recommended deployment patterns for more information.
Public Method Questions API

checkImages()

Check if images within the Question are loaded. The returned Promise resolves if all the images have successfully loaded and rejects as soon as one image fails loading.

Examples

.checkImages()
    .then(function () {
        console.log('All images are loaded');
    })
    .catch(function () {
        console.log('An image within the question failed loading');
    });

Arguments

None.

Return value

Value object

Properties

  • catch function
  • then function
Was this article helpful?