Checkbox and basic html support in inspector

308 views
Skip to first unread message

yoz

unread,
Mar 12, 2015, 7:37:31 PM3/12/15
to joi...@googlegroups.com
Are there any plans to add a checkbox to the list of input types inside the inspector?  Until then, how would you suggest adding a checkbox or any other html programmatically depending on what object is selected on the paper?

David Durman

unread,
Mar 13, 2015, 2:55:10 PM3/13/15
to joi...@googlegroups.com
ui.Inspector already has a type 'toggle' which creates a checkbox (http://jointjs.com/rappid/docs/ui/inspector#configuration).

ui.Inspector in Rappid v1.5.1 that is coming very soon contains renderFieldContent() and getFieldValue() optional functions for making it easy to add new arbitrary HTML fields. The version will be released in weeks time. Moreover, all clients will soon get access to our new service at: https://my.client.io (currently in testing). This site will offer new Rappid versions much more quickly (on a per-feature basis). We will send out email as soon as the service is ready.

---

David Durman
client IO

On Fri, Mar 13, 2015 at 12:37 AM, yoz <gothet...@gmail.com> wrote:
Are there any plans to add a checkbox to the list of input types inside the inspector?  Until then, how would you suggest adding a checkbox or any other html programmatically depending on what object is selected on the paper?

--

---
You received this message because you are subscribed to the Google Groups "JointJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jointjs+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

yoz

unread,
Mar 13, 2015, 3:05:29 PM3/13/15
to joi...@googlegroups.com
I should've noticed the toggle option in the docs!  Really looking forward to the renderFieldContent() method, not to mention the new services.  Huge help, Dave.

Regarding the docs, I remember there being an example where inspector attrs can be shown and hidden related to changing another attr inside the same group.  Can you link me with that, or provide that code block again?  I can't seem to find it.
Reply all
Reply to author
Forward
0 new messages