.shopmailtypeUiPlaceholderdialog()
Categories: UI
de_epages.shopmailtypeUiPlaceholderdialog(options)
Subclass: de_epages
Inherit: (Subclass: de_epages) .widget()
Plugin: de_epages.shopmailtype.ui.placeholderdialog
Description: Attach placeholderdialog with table of placeholder TLEs to be entered inside the associated input to the selected set of elements.
-
de_epages.shopmailtypeUiPlaceholderdialog(options)
version added: 6.15.0options A map of additional options pass to the method.
The de_epages.shopmailtypeUiPlaceholderdialog()
attaches placeholderdialog with table of placeholder TLEs to be entered inside the associated input to the selected set of elements.
-
Attach shopmailtypeUiPlaceholderdialog to span.
HTML:
<span id="ep-insertPlaceHolder" class="PseudoLink CursorPointer" data-de_epages-shopmailtype-ui-placeholderdialog='{"name" : "Subject","data" : {"placeholder" : [{"code":"#Code0","description":"Description0"},{"code":"#Code1","description":"Description1"},{"code":"#Code2","description":"Description2"}]}, "wording" : {"infoText" : "PlaceholderInfoText", "placeholder" : "Placeholder"}}'><span class="ep-sprite ico_s_paragraph"></span>InsertPlaceholder</span> <input type="text" value="My subject is so pretty" name="Subject"/>
Code:
de_epages('#ep-insertPlaceHolder').shopmailtypeUiPlaceholderdialog();