Note: This feature is only available to Wix Studio users.
Use the AI Code Assistant to write custom code behavior for elements on a site.
To write an event handler with the AI Code Assistant:
Start a chat with the AI Code Assistant:
On the canvas: Right-click the element you want to customize and select Add Custom Behavior with AI.
Through the Code panel: Access the Code panel on the left side of the editor and select AI Code Assistant.
Select one of the assistant's suggestions or describe what you want to customize.
The AI Code Assistant generates the code.
Select one of the following options: