We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Docs/files/markup/en/app/SimulateTouch.js
Line 22 in 63145db
Needs to simulate down and up to trigger InTouch function and animate runs repeatedly. This simulates one touch
function OnStart() { lay = app.CreateLayout( "linear", "VCenter,FillXY" );
btn = app.AddButton( lay,"Press Me", 0.3, 0.1 ); btn.SetOnTouch( btn_OnTouch ); app.AddLayout( lay ); app.SimulateTouch( btn, 0.5, 0.5, "down" ); app.SimulateTouch( btn, 0.5, 0.5, "up" );
}
function btn_OnTouch() { app.ShowPopup( "Button touched","long"); }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Docs/files/markup/en/app/SimulateTouch.js
Line 22 in 63145db
Needs to simulate down and up to trigger InTouch function
and animate runs repeatedly. This simulates one touch
function OnStart() {
lay = app.CreateLayout( "linear", "VCenter,FillXY" );
}
function btn_OnTouch() {
app.ShowPopup( "Button touched","long");
}
The text was updated successfully, but these errors were encountered: