Search for Resources and Solutions

Element Save Lib

Element Save is a Midrub Emails Composer's Lib which allows to save the elements. This Lib is useful to save elements with the user's customizations. 

Element Save has a model with two parameters:

  • placeholder - contains a string with the placeholder displayed in the input.
  • button - contains a string with the button text.

You can add this Lib in all your elements, the code it's simply:


    'name': 'Save Element',

    'slug': 'element_image_save',

    'lib_slug': 'element_save',

    'default': {

        placeholder: 'Enter the name here ...',

        button: 'Save Element'


     'run': function(arr) {}


The run function isn't used.


Was this article helpful?