Frontend Development 4 min read

Layui UI Library Update Log and New Features

The article introduces Layui, a native HTML/CSS/JavaScript UI component library that simplifies complex web interfaces for non‑frontend developers, and provides a detailed update log highlighting new toolbar features, table optimizations, treeTable fixes, laydate enhancements, and other component improvements.

Laravel Tech Community
Laravel Tech Community
Laravel Tech Community
Layui UI Library Update Log and New Features

Layui is one of the few web UI component libraries that insists on using native HTML/CSS/JavaScript development mode. Over the years, its distinctive internal and external style has led to widespread adoption. It greatly lowers the threshold for non‑frontend developers to build complex web page interfaces; developers only need to target the browser, without dealing with build tools, to create the required views and interactions.

Update Log

layer Added photos toolbar attribute to enable image rotation, zoom, and restore tools in the header toolbar #1339. Adjusted the attribute name of photos from hideFooter to footer , controlling whether the bottom bar is displayed.

table Optimized style rendering during initialization and the content structure in multi‑row mode. Optimized the expanded state when size is set to sm or lg . Improved export and print prompts when there is no data #1337. Fixed selection state for disabled data items #1328. Resolved redundant sorting execution in table.renderData() method #1358.

treeTable Fixed loss of selection state for radio column after certain operations #1358. Fixed node structure disorder after sorting in data mode #1358/I7TXXL. Enhanced data.cascade attribute with a new none option, allowing nodes to be operated without any cascading effect #1358. Optimized the state of the select‑all checkbox when data items are disabled #1329. Optimized the expanded state when asynchronously loading child nodes that are empty #1326.

laydate Optimized the assignment property of shortcuts.value to support function types #1324.

rate Optimized code formatting #1343.

code Fixed an error that occurred when using a custom toolbar #1342. Optimized the copy function to be compatible with non‑secure domains where copying previously failed #1356. Optimized the preview area to display scrollbars correctly #1359.

frontendWeb Developmentui-componentsChangelogLayUI
Laravel Tech Community
Written by

Laravel Tech Community

Specializing in Laravel development, we continuously publish fresh content and grow alongside the elegant, stable Laravel framework.

0 followers
Reader feedback

How this landed with the community

login Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.