Tag

Vanilla JS

0 views collected around this technical thread.

政采云技术
政采云技术
Jul 19, 2020 · Frontend Development

Developing Cross‑Framework UI Components with Native JavaScript and Iframe Containers

This article explains how to design and implement reusable UI components that work across jQuery, React, and Vue by using a native‑JS container, iframe isolation, and communication techniques such as domain sharing, postMessage alternatives, and Nginx proxying, while providing code examples and practical tips.

Vanilla JSWeb Developmentcomponent
0 likes · 12 min read
Developing Cross‑Framework UI Components with Native JavaScript and Iframe Containers
政采云技术
政采云技术
Nov 24, 2019 · Frontend Development

Implementing Draggable and Resizable Floating Widgets with Pure JavaScript: Common Pitfalls and Solutions

This article explores the practical challenges of building a draggable and resizable floating UI component using vanilla JavaScript, detailing effective solutions for separating click and drag events, enforcing viewport boundary constraints, and preserving element positioning during dynamic size changes.

DOM ManipulationDrag and DropEvent Handling
0 likes · 10 min read
Implementing Draggable and Resizable Floating Widgets with Pure JavaScript: Common Pitfalls and Solutions