Source: components/SpeechSynthesizerButton/SpeechSynthesizerButton.js

import document from 'global/document';

import { speechSynthesizerButton as speechSynthesizerButtonClassName } from './style.scss';
import renderTemplate from './template.pug';

/** Botão do sintetizador de voz */
class SpeechSynthesizerButton {
  ht = null;
  elem = null;

  constructor(ht) {
    this.ht = ht;

    this.elem = document.createElement('div');
    this.elem.innerHTML = renderTemplate();
    this.elem.classList.add(speechSynthesizerButtonClassName);
  }
}
export default SpeechSynthesizerButton;