A guide for button ...
 
Notifications
Clear all

A guide for button programming?

2 Posts
2 Users
0 Reactions
5,002 Views
(@kirby)
New Member
Joined: 4 years ago
Posts: 2
Topic starter  

I want to change dashboard item transparency by using a button.

Simple things like reading property for a visual item are clear but how to make interaction I don't know.

So, it must be very simple code: write value - read value, or something like this.

I got common questions:

1. How to create/use a custom property?

2. How to make "if" for the toggle mode for a button?

3. JavaScript example?

4. How to change an object property? (E.g. change opacity of an item)

5. Is there a programming manual where I can find answers for these questions?


   
Quote
Topic Tags
(@admin5435)
Prominent Member Admin
Joined: 7 years ago
Posts: 732
 

Hi ! Currently buttons only allows to act as inputs (like emulating keyboard) or to trigger simhub's plugins actions. There is no direct interactions with the dash itself possible yet.


   
ReplyQuote
Share: