Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
/**
* This is more or less an IconWidget that can be flagged
* @class
* @extends OO.ui.IconWidget
* @mixins OO.ui.FlaggedElement
* @constructor
* @param {Object} [config] Configuration options
*/
OO.ui.IconDemoWidget = function OoUiIconDemoWidget( config ) {
config = config || {};
OO.ui.IconDemoWidget.super.call( this, config );
OO.ui.FlaggedElement.call( this, config );
}
OO.inheritClass( OO.ui.IconDemoWidget, OO.ui.IconWidget );
OO.mixinClass( OO.ui.IconDemoWidget, OO.ui.FlaggedElement );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.