#alan95-react-loader

1 messages · Page 1 of 1 (latest)

viscid turret
crimson wyvern
#

thanks is there an example of this implemeted on react ?\

viscid turret
crimson wyvern
#

is there anything for the useElements hook ?

viscid turret
#

I'm not sure I follow what you mean. Bear with me I barely understand React but what's blocking you?

crimson wyvern
#

i mean this is pretty much all the documentation about the ready event

#

onReady

optional (element: Element) => void

Triggered when the Element is fully rendered and can accept imperative element.focus() calls. Called with a reference to the underlying Element instance.

#

it doest say anything of how to use it

viscid turret
#

gotcha, give me a few minutes

crimson wyvern
#

actually i just found a way , is not in the docs, but you can see the event in the react-stripe.d.ts file checking the interfaces of the Elements componnents

#

Thanks a lot, have a nice day

viscid turret
#

ah sorry I never posted my message

#
  console.log("aaaa");
}}```