source: imaps-frontend/node_modules/html2canvas/dist/lib/css/property-descriptors/overflow.js

main
Last change on this file was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 5 days ago

F4 Finalna Verzija

  • Property mode set to 100644
File size: 880 bytes
Line 
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3exports.overflow = void 0;
4var parser_1 = require("../syntax/parser");
5exports.overflow = {
6 name: 'overflow',
7 initialValue: 'visible',
8 prefix: false,
9 type: 1 /* LIST */,
10 parse: function (_context, tokens) {
11 return tokens.filter(parser_1.isIdentToken).map(function (overflow) {
12 switch (overflow.value) {
13 case 'hidden':
14 return 1 /* HIDDEN */;
15 case 'scroll':
16 return 2 /* SCROLL */;
17 case 'clip':
18 return 3 /* CLIP */;
19 case 'auto':
20 return 4 /* AUTO */;
21 case 'visible':
22 default:
23 return 0 /* VISIBLE */;
24 }
25 });
26 }
27};
28//# sourceMappingURL=overflow.js.map
Note: See TracBrowser for help on using the repository browser.