add-class.js 247 B

123456789101112
  1. /**
  2. * Copyright © Magento, Inc. All rights reserved.
  3. * See COPYING.txt for license details.
  4. */
  5. define(['jquery'], function ($) {
  6. 'use strict';
  7. return function (config, element) {
  8. $(element).addClass(config.class);
  9. };
  10. });