The custom gallery shell only. The image retrieval is provided by the same plugin as the official gallery
fun lottery
nevermind, I found a way to get them
Thanks to dev, and also to you for periodically notifying us about new updates
so far, this is the best clicker game I've tried in Perchance
Are you sure these are built-in functions of plugin? I tried using handleFilter(this.value) and handleSort(this.value), but I got an error saying that there are no such functions. Without the actual code for these functions, it won't work
I meant in words. For example, show only posts that include "Drawn Anime" in the SaveDescription or something like this
Good idea
or.. idk, maybe someone more knowledgeable can correct me
well... It's possible, but it's more complicated than it seems.
The problem is that the select elements are static, and in order to change them, you either need to manually interact with the each element or recreate the select by simulating its "update" and giving its options, but since the checkbox has changed, the elements will also change.
I almost got it to work by taking the script for creating these selects from the framework and slightly modifying it to use it to the html of the select element. However, due to issues with Perchance, it reads [ ] as text instead of executing the contents.
Here is the link if you want to see
If you really need it, you can give the codes in the html code panel that I added in to AI chat bot and tell it to evaluate this key that has [brackets] before adding a new option
if you don't want to bother, just split these categories into different Selects (drop down lists)
https://perchance.org/doc-t2i-framework-plugin-v2
You can use the visible()=> property of components to control their display using conditions. If you set the same display conditions for multiple components, you can group them so that they only appear together.
If you want to access a component through the html code panel, for example, select this persona, then you can use:
document.querySelector('select[data-name="persona "]')
or completely ctn of this component:
document.querySelector('select[data-name="persona "]').closest('.input-ctn')
example of use, hide this component:
const tm = document.querySelector('select[data-name="persona "]').closest('.input-ctn');
tm.style.display = 'none';

