Hello, I really enjoy using your webuilder and am currently working
on Javascript es6.
Do you plan a support in the next release. I mean, for example, folding etc for template literals.
Stay healthy
Moderator: kfury77
class PopUpInfo extends HTMLElement { // Create a class for the element
constructor() { super(); // Always call super first in constructor
var shadow = this.attachShadow( { mode: 'open' } ); // Create a shadow root
var style = document.createElement('style'); // Create some CSS to apply to the shadow dom
// I would like to fold this block, and in this block I would like support for completion, highlighting, etc.
// ----------------------------------------------------------------------------------------------------------
style.textContent = `.wrapper { position: relative; }
.info { background: white; border: 1px solid black;
display: inline-block; font-size: 0.8rem;
opacity: 0; padding: 10px; position: absolute; left: 10px;
transition: 0.6s all; width: 200px; z-index: 3; }
img { width: 1.2rem }
.icon:hover + .info, .icon:focus + .info { opacity: 1; }`;
// ----------------------------------------------------------------------------------------------------------
<my-popupinfo id = "a12" style = "font-size: ....."> </my-popupinfo>
Return to HTMLPad / Rapid CSS / Rapid PHP / WeBuilder Feature Requests
Users browsing this forum: No registered users and 1 guest