connection, e.g. button, range controller, scrollable area, list, etc. ! UI Elements have simplified markup, that is parsed by XF to make them look and feel in the proper way.
callback) { var res = _oldshow.apply(this, arguments); if ($(this).find('[data-component]').length) XF.trigger('xf:loadChildComponents', this); return res; }; — Hooks that trigger loading of components when some area become visible, e.g.:
or constructed // events will wait until it will be ! XF.trigger('component:componentID:eventName'); ! XF.trigger('component:componentClass:eventName');