Solved
Forum Discussion
JiWon
6 years agoNew Contributor II
Can you please share how did you create that checkbox UI feature for a custom snap by sharing the codes?
Thank you
ptaylor
6 years agoEmployee
Hi JiWon,
I’m not sure exactly what you’re asking. If you want to know how to define a checkbox property in a custom snap, you’d have code something like this in your defineProperties method:
propertyBuilder.describe("name", "label", "description")
.type(SnapType.BOOLEAN)
.defaultValue(true)
.add();
- JiWon6 years agoNew Contributor II
Thanks ptaylor 🙂