Search for Resources and Solutions

Header Lib

Header Lib is a Midrub Emails Composer Lib which was created for the header element. This Lib allows to change the tags h1, h2, h3, h4, h5 and h6 with a click.

The lib won't work as expected if will be used for other elements.

Header Lib's model has one parameter:

  • selected - which could have as content h1, h2, h3, h4, h5 or h6. Each of these will select by default the button.

The run function has as parameter the selected property and will have these value h1, h2, h3, h4, h5 or h6.



Was this article helpful?