MobileFrontend
Mobile optimised frontend for MediaWiki
Loading...
Searching...
No Matches
MobileUI Class Reference

Helper methods for generating parts of the UI. More...

Static Public Member Functions

static icon ( $iconName, $className='')
 Renders a icon using Codex markup styled with Codex mixins.
 
static contentElement ( $html, $className='')
 Mark some html as being content.
 

Detailed Description

Helper methods for generating parts of the UI.

Member Function Documentation

◆ contentElement()

static MobileUI::contentElement ( $html,
$className = '' )
static

Mark some html as being content.

Parameters
string$htmlHTML content
string$classNameadditional class names
Returns
string of html

◆ icon()

static MobileUI::icon ( $iconName,
$className = '' )
static

Renders a icon using Codex markup styled with Codex mixins.

Parameters
string$iconName
string$className
Returns
string

The documentation for this class was generated from the following file: