mirror of
https://github.com/niklasvh/html2canvas.git
synced 2023-08-10 21:13:10 +03:00
24 lines
928 B
JavaScript
24 lines
928 B
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
var IPropertyDescriptor_1 = require("../IPropertyDescriptor");
|
|
var LIST_STYLE_POSITION;
|
|
(function (LIST_STYLE_POSITION) {
|
|
LIST_STYLE_POSITION[LIST_STYLE_POSITION["INSIDE"] = 0] = "INSIDE";
|
|
LIST_STYLE_POSITION[LIST_STYLE_POSITION["OUTSIDE"] = 1] = "OUTSIDE";
|
|
})(LIST_STYLE_POSITION = exports.LIST_STYLE_POSITION || (exports.LIST_STYLE_POSITION = {}));
|
|
exports.listStylePosition = {
|
|
name: 'list-style-position',
|
|
initialValue: 'outside',
|
|
prefix: false,
|
|
type: IPropertyDescriptor_1.PropertyDescriptorParsingType.IDENT_VALUE,
|
|
parse: function (position) {
|
|
switch (position) {
|
|
case 'inside':
|
|
return LIST_STYLE_POSITION.INSIDE;
|
|
case 'outside':
|
|
default:
|
|
return LIST_STYLE_POSITION.OUTSIDE;
|
|
}
|
|
}
|
|
};
|
|
//# sourceMappingURL=list-style-position.js.map
|