@@ -16,8 +16,9 @@ Liquid Web is a modern JavaScript library for easy creation of Apple liquid glas
1616
1717Simply plug it into your project and get a modern liquid glass effect.
1818
19- ![ Liquid Glass Card] ( https://raw.githubusercontent.com/koirodev/liquid-web/refs/heads/main/images/card.png )
20- ![ Liquid Glass Button] ( https://raw.githubusercontent.com/koirodev/liquid-web/refs/heads/main/images/button.png )
19+ [ Go to the website] ( https://koirodev.github.io/liquid-web/ ) see it in action and customize your Liquid Glass effect!
20+
21+ [ ![ Liquid Glass Gif] ( https://raw.githubusercontent.com/koirodev/liquid-web/refs/heads/main/images/preview.gif )] ( https://liquid.prismify.in )
2122
2223## Table of Contents
2324
@@ -105,18 +106,18 @@ export default () => {
105106
106107## Options
107108
108- | Option | Type | Default | Description |
109- | ------------- | ------------------------------------------------ | -------- | ------------------------------------------------- |
110- | ` el? ` | ` string \| HTMLElement ` | - | Element selector to apply liquid effect. |
111- | ` init? ` | ` boolean ` | ` true ` | Whether to initialize the effect on load. |
112- | ` scale? ` | ` number ` | ` 22 ` | Changes the intensity of the displacement effect. |
113- | ` blur? ` | ` number \| string ` | ` 2 ` | Changes the intensity of the blur effect. |
114- | ` saturation? ` | ` number \| string ` | ` 170 ` | Changes the intensity of the saturation effect. |
115- | ` aberration? ` | ` number ` | ` 50 ` | Changes the intensity of the aberration effect. |
116- | ` mode? ` | 'standard' \| 'polar' \| 'prominent' \| 'shader' | ` shader ` | Toggles the glass effect. |
117- | ` on? ` | ` LiquidWebEventListeners ` | - | Event listeners for the liquid effect. |
118- | ` events? ` | ` LiquidWebEventListeners ` | - | Event listeners for the liquid effect. |
119- | ` onAny? ` | ` LiquidWebEventCallback ` | - | Callback for any event. |
109+ | Option | Type | Default | Description |
110+ | ------------- | ------------------------------------------------ | ---------- | ------------------------------------------------- |
111+ | ` el? ` | ` string \| HTMLElement ` | - | Element selector to apply liquid effect. |
112+ | ` init? ` | ` boolean ` | ` true ` | Whether to initialize the effect on load. |
113+ | ` scale? ` | ` number ` | ` 22 ` | Changes the intensity of the displacement effect. |
114+ | ` blur? ` | ` number \| string ` | ` 2 ` | Changes the intensity of the blur effect. |
115+ | ` saturation? ` | ` number \| string ` | ` 170 ` | Changes the intensity of the saturation effect. |
116+ | ` aberration? ` | ` number ` | ` 50 ` | Changes the intensity of the aberration effect. |
117+ | ` mode? ` | 'standard' \| 'polar' \| 'prominent' \| 'shader' | ` standard ` | Toggles the glass effect. |
118+ | ` on? ` | ` LiquidWebEventListeners ` | - | Event listeners for the liquid effect. |
119+ | ` events? ` | ` LiquidWebEventListeners ` | - | Event listeners for the liquid effect. |
120+ | ` onAny? ` | ` LiquidWebEventCallback ` | - | Callback for any event. |
120121
121122## Events
122123
0 commit comments