사용자:Hsl0/연구소/4
/** * @requires oojs-ui-widgets * @requires ext.gadget.Tasker **/ registerRenderer(function createPopupButton() { $('.popuplink').each(function() { var $header = $(this).find('.popuplink-header'); var widget = new OO.ui.PopupButtonWidget({ label: $(this).find('.popuplink-label'), framed: false, popup: { head: $header.length || !('autoclose' in this.dataset), padded: true, autoClose: 'autoclose' in this.dataset, label: $header, $content: $(this).find('.popuplink-content') } }); $(this).html(widget.$element); }); });{{{라벨}}}
{{{내용}}}