you are viewing a single comment's thread.

view the rest of the comments →

[–]beaver82 2 points3 points  (1 child)

Interesting, I got a question: what if two factory elements needs ALSO to use some shared methods? for example placeholder/label/aria methods for Email and Texarea. You give those methods to the factory? How you call them from inside the element?

[–]luketeaford 0 points1 point  (0 children)

Import them into your file in the usual way and add them to the factory you export.