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.

borderTopStyle.js 467B

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-top-width');
  10. }
  11. this._setProperty('border-top-style', v);
  12. }
  13. },
  14. get: function() {
  15. return this.getPropertyValue('border-top-style');
  16. },
  17. enumerable: true,
  18. configurable: true,
  19. };