@designliquido/foles
Version:
Linguagem de folhas de estilo para documentos em geral em português
19 lines • 589 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Swash = void 0;
const metodo_css_1 = require("./metodo-css");
class Swash extends metodo_css_1.MetodoCss {
constructor(valor1) {
super();
this.valor1 = Number(valor1.lexema);
this.traducao = "swash";
}
paraTexto() {
if (this.valor1 < 1 || this.valor1 > 99) {
throw new Error('O valor da função swash() deve estar entre 1 e 99');
}
return `espirrar(${this.valor1})`;
}
}
exports.Swash = Swash;
//# sourceMappingURL=swash.js.map