Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download
81145 views
1
'use strict';
2
3
var isValid = require('./borderStyle').isValid;
4
module.exports.isValid = isValid;
5
6
module.exports.definition = {
7
set: function (v) {
8
if (isValid(v)) {
9
if (v.toLowerCase() === 'none') {
10
v = '';
11
this.removeProperty('border-bottom-width');
12
}
13
this._setProperty('border-bottom-style', v);
14
}
15
},
16
get: function () {
17
return this.getPropertyValue('border-bottom-style');
18
},
19
enumerable: true,
20
configurable: true
21
};
22
23