Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F6027837
tinyve.ui.Surface.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
783 B
Referenced Files
None
Subscribers
None
tinyve.ui.Surface.js
View Options
/**
* TinyVE UI Surface - the top-level surface object
*
* This is a toy version of ve.ui.Surface which illustrates the main concepts
*/
/**
* Top-level surface object
*
* @class
*
* @constructor
* @param {tinyve.dm.Surface} model The surface model
* @param {Object} config Configuration for OO.ui.Element
*/
tinyve
.
ui
.
Surface
=
function
TinyVeUiSurface
(
model
,
config
=
{}
)
{
tinyve
.
ui
.
Surface
.
super
.
call
(
this
,
config
);
/**
* @property {tinyve.dm.Surface} model The surface model
*/
this
.
model
=
model
;
/**
* @property {tinyve.ce.Surface} view The surface view
*/
this
.
view
=
new
tinyve
.
ce
.
Surface
(
model
,
this
);
this
.
$element
.
addClass
(
'tinyve-ui-Surface'
)
.
append
(
this
.
view
.
$element
);
};
OO
.
inheritClass
(
tinyve
.
ui
.
Surface
,
OO
.
ui
.
Element
);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Oct 4 2026, 17:03 (5 w, 4 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
fa/3f/041bde2321c5aab2c471eb5ad891
Default Alt Text
tinyve.ui.Surface.js (783 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment