Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    How to change TextField display style in code?

    I hope this is simple; it seems like it should be.

    How would one change the colors and border style of a TextField, in code, directly (without editing the .css file)?

    For example, if I want a field to have #555 on #CCC with no border, sometimes.

    Please give example code, if you can. I tried several approaches, none of which worked. It could be that I tried a slight variation on what you have in mind, and the missing detail will only be clear with an example.

    Thanks!
    Last edited by siegersallee; 2 Feb 2016, 14:38. Reason: Clarifying

    #2
    We haven't created an API to do this, because there's no need - even if the CSS is fully dynamic (user chosen, specific to that one session) you can still create CSS classes dynamically in the browser.

    Comment

    Working...
    X