Looking for How to create extensions blocks

Then they aren’t visible anywhere when tze app starts.

But practically, they are visible components.
PS: They are just not visible on the previewer.

1 Like

Extensions can not be a visible component

The sentence means.
Extension can create/modify or remove views and interact with UI . But it can’t have mock in the designer section.

6 Likes

hello everyone i am learning extension development can someone tell what does this do?

It is property category

what else can we put there instead of BEHAVIOR

but flipshare extension is visible button and material fonts

@shanji76242143 , it is not a visible extension. It just create the visible button in UI, It is same like a dynamic button or etc . as @Souvik_Bera already said, a mockup file is needed for components appearance and mockup can only be implemented in a builder as a component. You can’t make visible extension.

How and what do I do to make an event of a “return” ?

ok i will explain first if you want to make a event with parameter -

@SimpleEvent(description = "My Event")
public void MyEvent(String name, String city) {
EventDispatcher.dispatchEvent(this, "MyEvent", name, city);
} 

and now calling it inside a function -

@SimpleFunction(description = "My Event calling function")
public void MyFunction(String name, String city) {
MyEvent(name, city);
}

Hope you got it :smiley:

9 Likes