Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5970301
tinyve.ce.Document.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
804 B
Referenced Files
None
Subscribers
None
tinyve.ce.Document.js
View Options
/**
* TinyVE CE Document - ContentEditable representation of the document content
*
* This is a toy version of ve.ce.Document which illustrates the main concepts
*/
/**
* ContentEditable representation of the document content
*
* @class
*
* @constructor
* @param {tinyve.dm.Document} model Model for which this object is a view
* @param {tinyve.ce.Surface} surface Surface the document is part of
*/
tinyve
.
ce
.
Document
=
function
TinyVeCeDocument
(
model
,
surface
)
{
/**
* @property {tinyve.dm.Document} model Model for which this object is a view
*/
this
.
model
=
model
;
/**
* @property {tinyve.ce.Node} documentNode Tree of CE nodes that own DOM elements
*/
this
.
documentNode
=
surface
.
buildNode
(
model
.
documentNode
);
};
/* Inheritance */
OO
.
initClass
(
tinyve
.
ce
.
Document
);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Oct 3, 14:23 (6 h, 9 m ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
2e/c4/db0aaa8be04c378d191b936788be
Default Alt Text
tinyve.ce.Document.js (804 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment