roosterjs-editor-types
Advanced tools
Comparing version 6.3.0 to 6.3.1
@@ -0,6 +1,24 @@ | ||
/** | ||
* The position. Mostly used for content insertion and traversing | ||
* On insertion, we will need to specify where we want the content to be placed (begin, end, selection or outside) | ||
* On content traversing, we will need to specify the start position of traversing | ||
*/ | ||
declare const enum ContentPosition { | ||
/** | ||
* Begin of the container | ||
*/ | ||
Begin = 0, | ||
/** | ||
* End of the container | ||
*/ | ||
End = 1, | ||
/** | ||
* Selection start | ||
*/ | ||
SelectionStart = 2, | ||
/** | ||
* Outside of editor | ||
*/ | ||
Outside = 3, | ||
} | ||
export default ContentPosition; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
// The position. Mostly used for content insertion and traversing | ||
// On insertion, we will need to specify where we want the content to be placed (begin, end or selection) | ||
// On content traversing, we will need to specify the start position of traversing | ||
/** | ||
* The position. Mostly used for content insertion and traversing | ||
* On insertion, we will need to specify where we want the content to be placed (begin, end, selection or outside) | ||
* On content traversing, we will need to specify the start position of traversing | ||
*/ | ||
var ContentPosition; | ||
(function (ContentPosition) { | ||
// Begin of the container | ||
/** | ||
* Begin of the container | ||
*/ | ||
ContentPosition[ContentPosition["Begin"] = 0] = "Begin"; | ||
// End of the container | ||
/** | ||
* End of the container | ||
*/ | ||
ContentPosition[ContentPosition["End"] = 1] = "End"; | ||
// Selection start | ||
/** | ||
* Selection start | ||
*/ | ||
ContentPosition[ContentPosition["SelectionStart"] = 2] = "SelectionStart"; | ||
/** | ||
* Outside of editor | ||
*/ | ||
ContentPosition[ContentPosition["Outside"] = 3] = "Outside"; | ||
})(ContentPosition || (ContentPosition = {})); | ||
exports.default = ContentPosition; | ||
//# sourceMappingURL=ContentPosition.js.map |
@@ -6,3 +6,3 @@ { | ||
"main": "./lib/index.js", | ||
"version": "6.3.0", | ||
"version": "6.3.1", | ||
"typings": "./lib/index.d.ts", | ||
@@ -9,0 +9,0 @@ "license": "MIT", |
Sorry, the diff of this file is not supported yet
28617
497