Page MenuHomeWickedGov Phorge

ve.ce.SmallAnnotation.js
No OneTemporary

Size
902 B
Referenced Files
None
Subscribers
None

ve.ce.SmallAnnotation.js

/*!
* VisualEditor ContentEditable SmallAnnotation class.
*
* @copyright See AUTHORS.txt
*/
/**
* ContentEditable small annotation.
*
* @class
* @extends ve.ce.TextStyleAnnotation
* @constructor
* @param {ve.dm.SmallAnnotation} model Model to observe
* @param {ve.ce.ContentBranchNode} [parentNode] Node rendering this annotation
* @param {Object} [config] Configuration options
*/
ve.ce.SmallAnnotation = function VeCeSmallAnnotation() {
// Parent constructor
ve.ce.SmallAnnotation.super.apply( this, arguments );
// DOM changes
this.$element.addClass( 've-ce-smallAnnotation' );
};
/* Inheritance */
OO.inheritClass( ve.ce.SmallAnnotation, ve.ce.TextStyleAnnotation );
/* Static Properties */
ve.ce.SmallAnnotation.static.name = 'textStyle/small';
ve.ce.SmallAnnotation.static.tagName = 'small';
/* Registration */
ve.ce.annotationFactory.register( ve.ce.SmallAnnotation );

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 22, 04:35 (1 d, 5 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
e0/c8/ef40d033aea35745a81f067f7ad6
Default Alt Text
ve.ce.SmallAnnotation.js (902 B)

Event Timeline