import Renderables from '../Renderables';
import node from "../../support/node";
import { Specification } from "../../support/Specification";
/**
 * Implementation of the 'bold' markup element. A
 * b HTML element is created and the lto-bold class
 * is added to allow CSS modifications.
 *
 * @see {@link IRenderable}
 */
var Bold = /** @class */ (function () {
    function Bold(message) {
        this.spec = message;
    }
    /**
     * @inheritDoc
     */
    Bold.prototype.render = function (renderer, isNested) {
        var bold = node("b");
        new Specification(this.spec).initNode(bold, "lto-bold");
        bold.setAriaLabel(this.spec.ariaLabel);
        return bold.unwrap();
    };
    return Bold;
}());
export { Bold };
Renderables.register("bold", Bold);
//# sourceMappingURL=index.js.map