code: function hostOnResized() {
                      if (_isSleeping)
                          return;
  
                      var changed;
                      var hostSize = {
                          w: _sizeObserverElementNative[LEXICON.sW],
                          h: _sizeObserverElementNative[LEXICON.sH]
                      };
  
                      if (_initialized) {
                          changed = checkCacheDouble(hostSize, _hostElementSizeChangeDetectedCache);
                          _hostElementSizeChangeDetectedCache = hostSize;
                          if (changed)
                              update(true, false);
                      }
                      else {
                          _hostElementSizeChangeDetectedCache = hostSize;
                      }
                  }
docs: ==== Events of elements ====// 
  This method gets called every time the host element gets resized. IMPORTANT: Padding changes are detected too!!
  It refreshes the hostResizedEventArgs and the hostSizeResizeCache.
  If there are any size changes, the update method gets called.