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
First of all - amazing card, thank you very much for your efforts!
So far I have used decluttering-cards and with that I have set up a bunch of nested templates, which is not possible by using the UI.
For example, I have UI item for users to select a scene (technically calling a script), which is present on every page, with different scenes per page.
The entire card is set up and styled using a decluttering card (padding, rounded corners, size, scrolling behavior etc.) and then on each page, the scenes to be shown are set as variables.
But each item within that card is also a template, which again sets icon sizes, colors, padding, etc.
That way I can have a standardized container and then select a different number of standardized items/scenes (depending on the current page) and am not locked into a fixed amount of scenes.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
First of all - amazing card, thank you very much for your efforts!
So far I have used decluttering-cards and with that I have set up a bunch of nested templates, which is not possible by using the UI.
For example, I have UI item for users to select a scene (technically calling a script), which is present on every page, with different scenes per page.
![image](https://private-user-images.githubusercontent.com/56512098/379264186-702aa8c0-2fbc-477c-8ed2-a40093bf41b7.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1ODIyNDQsIm5iZiI6MTczOTU4MTk0NCwicGF0aCI6Ii81NjUxMjA5OC8zNzkyNjQxODYtNzAyYWE4YzAtMmZiYy00NzdjLThlZDItYTQwMDkzYmY0MWI3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE1VDAxMTIyNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTE4ZWZjZGUxM2E5OGFjOGUzZWQxYmJkYTY0YzA4MTI3MjAwMGRkMmE5Y2ZhNWM5MWMzZTk5ZjJiNTlhN2IwNDgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.9YdfAxRvVfHCRK2MUCIx_H2nQZcmyTyuFf8ZccuGKSM)
![image](https://private-user-images.githubusercontent.com/56512098/379264349-e7f11001-67a3-4dd4-9394-d1d6e6c627c3.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1ODIyNDQsIm5iZiI6MTczOTU4MTk0NCwicGF0aCI6Ii81NjUxMjA5OC8zNzkyNjQzNDktZTdmMTEwMDEtNjdhMy00ZGQ0LTkzOTQtZDFkNmU2YzYyN2MzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE1VDAxMTIyNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTczNDg5MmE3N2U1NzJkODk3YTBmNDYzMWNjZTc3NmJiMGVjMDkzNGU0ZGQ4NmUxZjk1MDEzMDhiMjNhMmZmMTQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.i-w7rqr1_SF1YElCRVIMtCv41awuPFDExkkUrAizAgw)
The entire card is set up and styled using a decluttering card (padding, rounded corners, size, scrolling behavior etc.) and then on each page, the scenes to be shown are set as variables.
But each item within that card is also a template, which again sets icon sizes, colors, padding, etc.
That way I can have a standardized container and then select a different number of standardized items/scenes (depending on the current page) and am not locked into a fixed amount of scenes.
So basic setup (styles removed):
and then this is how I use it:
This is not possible via the UI of the streamline-card as it does not allow object or array variables.
Beta Was this translation helpful? Give feedback.
All reactions