emcp_custom_311Built with the EMCP Widget Builder and registered under the EMCP Custom category of the Elementor panel. Search the panel for: tooltip, glossary, definition, hint, popover, info.
Text appears when Mode is inline; Trigger Text appears when Mode is single; Trigger Icon appears when Mode is single.Mode = inline
Elementor pages are built from containers, which hold widgets. Wrap any words in a span with data-tip="N" to attach the Nth tooltip below.
Mode = single
Every control the widget exposes, grouped by panel section. Names in code are the setting keys used by the MCP tools (add-free-widget, update-widget).
Content
| Option | Type | Choices / range | Default | Notes |
|---|---|---|---|---|
Modemode | Dropdown | Rich text with tooltip terms, Single trigger (text or icon) | inline | |
Textbody | Rich text | Elementor pages are built from contai... | Shown when mode = inline | |
Trigger Texttrigger_text | Text | What is this? | Shown when mode = single | |
Trigger Icontrigger_icon | Icon | fas fa-info-circle | Shown when mode = single | |
Tooltipstips | Repeater | 2 items | ||
↳ Titletitle | Text | |||
↳ Texttext | Textarea | Tooltip text | ||
↳ Iconicon | Icon | |||
↳ Learn More Linklink | Link | |||
↳ Link Textlink_text | Text | Learn more | ||
Trigger Styletrigger_style | Dropdown | Dotted underline, Solid underline, Highlighted, Small info icon after the term, Badge, Plain | dotted | |
Open Onopen | Dropdown | Hover (tap on touch), Click | hover | |
Placementplacement | Dropdown | Top, Bottom, Left, Right, Auto | top | |
Themetheme | Dropdown | Dark, Light, Accent | dark | |
Arrowarrow | Toggle | on / off | yes | |
Animationanim | Dropdown | Fade, Shift, Scale | fade | |
Open Delay (ms)delay | Number | min 0, max 2000 | 100 | |
Interactive (can hover into the tooltip)interactive | Toggle | on / off | yes |
Style
| Option | Type | Choices / range | Default | Notes |
|---|---|---|---|---|
Text Typographybody_typo | Typography | |||
Text Colorbody_color | Color | #344054 | ||
Accent (trigger / accent theme)accent | Color | #6a11cb | ||
Highlight Backgroundhl_bg | Color | #f4ebff | ||
Tooltip Background Overridetip_bg | Color | |||
Tooltip Text Overridetip_color | Color | |||
Tooltip Typographytip_typo | Typography | |||
Tooltip Title Typographytitle_typo | Typography | |||
Tooltip Max Widthtip_w | Slider | min 120, max 480, px | 260 | |
Tooltip Paddingtip_pad | Dimensions | |||
Tooltip Radiustip_radius | Slider | min 0, max 30, px | 10 | |
Tooltip Shadowtip_shadow | Box shadow | |||
Tooltip Icon Sizeicon_size | Slider | min 10, max 40, px | 18 |
Any connected agent can place this widget: call add-free-widget with widget_type: "emcp_custom_311" and a settings object using the keys above. Run get-custom-widget with id 311 for the full JSON spec.