Page MenuHomeWickedGov Phorge

ve.ce.UserInputAnnotation.js
No OneTemporary

Size
949 B
Referenced Files
None
Subscribers
None

ve.ce.UserInputAnnotation.js

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

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 22, 05:04 (1 d, 7 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
09/db/b40f15e26ada22bd8a7617cacb57
Default Alt Text
ve.ce.UserInputAnnotation.js (949 B)

Event Timeline