Releases: msawired/OPC
Releases · msawired/OPC
0.6.0
Select (Dropdown) added
Users can now add a UI using OPC.select.
bug: OPC.slider was missing .step variable setting
v0.4.1 bug: OPC.slider was missing .step variable setting
Object support added
Now the OPC arguments can be passed as a single object. Please see readme.md for more information.
With the object notation, additional label and description arguments can be provided.
Maintenance Fix
The argument order for Color Palette changed to OPC.palette(variableName, palleteOptions, [defaultValue])
to allow using the function without a defaultValue.
Feature Release
Added OPC.delete(variableName) function to allow deletion of existing variables.
Feature Release
- Button option added.
- buttonPressed and buttonReleased events are added.
Maintenance Update
fix: color palette option query string importing fixed.
It was taking it as a string. Now converts it to an array, as it should.
All OPC variables are made reactive through "set"
- Now it is possible to set any variable within the sketch, and the OPC UI components will reflect the updated value.
- Also, added the documentation for "expand" and "collapse functions on Readme.
New OPC Options Added
In this release, we added a few exciting new options:
Toggle
Text
Color
Color Palette
Readme.me is updated with the related documentation.