Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

borderLeftStyle.js 470B

123456789101112131415161718192021
  1. 'use strict';
  2. var isValid = require('./borderStyle').isValid;
  3. module.exports.isValid = isValid;
  4. module.exports.definition = {
  5. set: function(v) {
  6. if (isValid(v)) {
  7. if (v.toLowerCase() === 'none') {
  8. v = '';
  9. this.removeProperty('border-left-width');
  10. }
  11. this._setProperty('border-left-style', v);
  12. }
  13. },
  14. get: function() {
  15. return this.getPropertyValue('border-left-style');
  16. },
  17. enumerable: true,
  18. configurable: true,
  19. };