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