You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// custom tenoxui configuration for different layers
41
41
base: {},
42
42
theme: {},
43
-
components: {},
44
-
utilities: {}
43
+
components: {}
45
44
})
46
45
```
47
46
@@ -55,7 +54,65 @@ const ui = new AnyFrame({
55
54
56
55
Note: You can checkout [TenoxUI Static Repository](https://github.com/tenoxui/tenoxui/tree/main/packages/%40tenoxui-static) for `property``values`, `classes`, `breakpoints`, `aliases`, `reserveClass`, and `apply` options.
57
56
58
-
## Example
57
+
## API
58
+
59
+
### `addLayer`, `removeLayer`, `setLayerOrder`
60
+
61
+
```typescript
62
+
addLayer(layer: string) {}
63
+
removeLayer(layer: string) {}
64
+
setLayerOrder(layers: string[]) {}
65
+
```
66
+
67
+
As its name, you can add, remove layer, and set new layer order. Example :
0 commit comments