Hi,
I have been playing around with pebbles and trying to create my own extensions - the problem I have run into is that I want to be able to set a kwargs that would define the default behaviour, however I haven't been able to find a way to configure the actionable on initial load.
The situation: I want to create a type similar to open-close, however the content is already on the page and I want to be able to configure by default if it is shown or hidden on page load - to do this I need to be able to tap into the init of the actionable and read the args in order to be able to set the default visibility. I think adding this functionality would dramatically improve the number of scenarios that pebbles could be used for.
I'm keen to hear your thoughts? I'm more than happy to assist with development if you think this could be of use to pebbles.
Thanks,
Glenn
Hi,
I have been playing around with pebbles and trying to create my own extensions - the problem I have run into is that I want to be able to set a kwargs that would define the default behaviour, however I haven't been able to find a way to configure the actionable on initial load.
The situation: I want to create a type similar to open-close, however the content is already on the page and I want to be able to configure by default if it is shown or hidden on page load - to do this I need to be able to tap into the init of the actionable and read the args in order to be able to set the default visibility. I think adding this functionality would dramatically improve the number of scenarios that pebbles could be used for.
I'm keen to hear your thoughts? I'm more than happy to assist with development if you think this could be of use to pebbles.
Thanks,
Glenn