Hi,
you just need to set the attribute on the Content Element:
var tf = new qx.ui.form.TextField();
tf.getContentElement().setAttribute("x-webkit-speech", true);
Or you can do the same in a derived class:
qx.Class.define("mltest.TextField", {
extend : qx.ui.form.TextField,
members :
{
_createContentElement : function()
{
var el = this.base(arguments);
el.setAttribute("x-webkit-speech", true);
return el;
}
}
});
Regards,
Daniel
On 09/10/2012 06:21 PM, Daniel Salvadori wrote:
> Hey,
>
> I'm using qooxdoo Desktop and I want to add the "x-webkit-speech" input
> attribute to a text field.
> How can I do that?
>
> --
> Daniel Salvadori
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>
>
>
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel