Menu

1 / 2

Skeleton Support in WebForms Core 2.3

DEV Community: html·Elanat Framework·6 days ago
#IAjCpSpB
#devto2#devto#dev#placeholder#addskeleton
Long article (570 words) — no AI summary yet.
Reading 0:00
15s threshold

WebForms Core 2.3, which is coming soon, introduces a Skeleton structure that allows developers to add loading placeholders to web pages through simple server-side methods.

Skeletons are useful when content takes time to load. Instead of leaving an empty area on the page, developers can display placeholder shapes that represent the expected content layout.

Adding Skeleton Shapes

The server-side AddSkeleton method provides a straightforward way to add Skeleton shapes:

public void AddSkeleton ( string inputPlace , string shape , string width = "100" ) => Add ( "Sk" + inputPlace , shape + ( ! string . IsNullOrEmpty ( width ) ? GS + width : "" ) ) ;

public void AddSkeleton ( string inputPlace , string shape , int width ) => Add ( "Sk" + inputPlace , shape + GS + width .…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.