What is the best method to trigger a window resize event in Magento 2? I need to trigger this method inside a widget function. /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ define([ 'jquery', 'jquery-ui-modules/widget' ], function ($) { 'use strict'; $.widget('mage.sticky', […]