_configureOptions (options) {
    if (options) {
      if (options.templates) {
        if (!this._isValidTemplatesConfiguration(options.templates)) {
          throw new Error('Invalid templates configuration object provided');
        }

        this.templates = options.templates
      } else {
        this.templates = null;
      }

      if (options.themes) {
        if (!this._isValidThemesConfiguration(options.themes)) {
          throw new Error('Invalid themes configuration object provided');
        }

        this.themes = options.themes
      } else {
        this.themes = null;
      }

      if (options.layouts) {
        if (!this._isValidLayoutsConfiguration(options.layouts)) {
          throw new Error('Invalid layouts configuration object provided');
        }

        this.layouts = options.layouts
      } else {
        this.layouts = null;
      }
    }
  }
/**
   * Configures the supplied options on this instance of CardKit
   *
   * @param {object} options - The options to configure
   */
Configures the supplied options on this instance of CardKit
@param {object} options - The options to configure
Configures the supplied options on this instance of CardKit @param { object } options - The options to configure
_configureOptions (options) {
    if (options) {
      if (options.templates) {
        if (!this._isValidTemplatesConfiguration(options.templates)) {
          throw new Error('Invalid templates configuration object provided');
        }
        this.templates = options.templates
      } else {
        this.templates = null;
      }
      if (options.themes) {
        if (!this._isValidThemesConfiguration(options.themes)) {
          throw new Error('Invalid themes configuration object provided');
        }
        this.themes = options.themes
      } else {
        this.themes = null;
      }
      if (options.layouts) {
        if (!this._isValidLayoutsConfiguration(options.layouts)) {
          throw new Error('Invalid layouts configuration object provided');
        }
        this.layouts = options.layouts
      } else {
        this.layouts = null;
      }
    }
  }
_configureOptions ( options ) { if ( options ) { if ( options . templates ) { if ( ! this . _isValidTemplatesConfiguration ( options . templates ) ) { throw new Error ( 'Invalid templates configuration object provided' ) ; } this . templates = options . templates } else { this . templates = null ; } if ( options . themes ) { if ( ! this . _isValidThemesConfiguration ( options . themes ) ) { throw new Error ( 'Invalid themes configuration object provided' ) ; } this . themes = options . themes } else { this . themes = null ; } if ( options . layouts ) { if ( ! this . _isValidLayoutsConfiguration ( options . layouts ) ) { throw new Error ( 'Invalid layouts configuration object provided' ) ; } this . layouts = options . layouts } else { this . layouts = null ; } } }
Configures the supplied options on this instance of CardKit
 @param {object} options - The options to configure
Configures the supplied options on this instance of CardKit @param { object } options - The options to configure