Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add openCard Function to Script Editor #1349

Conversation

mauroalexandre
Copy link
Contributor

Description

This pull request introduces the openCard function to the script editor. This new functionality allows scripts to programmatically open cards within the user interface, enhancing flexibility in controlling the visual behavior of operations.

Syntax:

The openCard function takes two parameters: ViewName and an optional options object specifying the position with properties left and top. Here’s how you can use it:

openCard('ViewName', { 'left': ?, 'top': ? }); // The 'options' parameter is optional

Demonstration

Below is a demonstration video showcasing the use of openCard.

Peek.2024-09-02.23-49.mp4

I hope this contributes to our project. Thank you for considering this addition.

@unocelli unocelli changed the base branch from master to feat/pr1349 September 4, 2024 20:35
@unocelli unocelli deleted the branch frangoteam:feat/pr1349 September 4, 2024 21:38
@unocelli unocelli closed this Sep 4, 2024
@unocelli
Copy link
Member

unocelli commented Sep 4, 2024

@mauroalexandre Sorry I make a mistake and removed the branch where I merged the PR (to review it). I don't know how to retrieve it. can you please reopen it. Thanks

@mauroalexandre
Copy link
Contributor Author

mauroalexandre commented Sep 4, 2024

@unocelli
Copy link
Member

unocelli commented Sep 4, 2024

Yes please, sorry my mistake

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants