mirror of
https://github.com/niklasvh/html2canvas.git
synced 2023-08-10 21:13:10 +03:00
build dist
This commit is contained in:
24
dist/lib/css/property-descriptors/list-style-position.js
vendored
Normal file
24
dist/lib/css/property-descriptors/list-style-position.js
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
"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
|
||||
Reference in New Issue
Block a user