source: frontend/node_modules/cssstyle/lib/properties/clear.js

Last change on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 12 days ago

Fix frontend appearance

  • Property mode set to 100644
File size: 373 bytes
Line 
1'use strict';
2
3var parseKeyword = require('../parsers').parseKeyword;
4
5var clear_keywords = ['none', 'left', 'right', 'both', 'inherit'];
6
7module.exports.definition = {
8 set: function(v) {
9 this._setProperty('clear', parseKeyword(v, clear_keywords));
10 },
11 get: function() {
12 return this.getPropertyValue('clear');
13 },
14 enumerable: true,
15 configurable: true,
16};
Note: See TracBrowser for help on using the repository browser.