Cześć Czy ktoś wpadł na pomysł, jak zarejestrować niestandardowy element HTML jako widget interfejsu GWT uiBinder i użyć ich bezpośrednio w miejscu używania w HTMLPanel.Jak zarejestrować Niestandardowy element HTML jako widget w GWT
Dla np. jeśli używam Google Polymer w moim projekcie mgwt używam elementu zwyczaj HTML jako
<g:HTMLPanel >
<paper-shadow class="{style.card}">
<mgwt:touch.TouchPanel ui:field="touchPanel">
<mgwt:panel.flex.FlexPanel orientation="VERTICAL" alignment="CENTER">
<g:Image url="{global.getDirection.getSafeUri.asString}" />
<g:HTMLPanel>Take me to Deal</g:HTMLPanel>
</mgwt:panel.flex.FlexPanel>
</mgwt:touch.TouchPanel>
</paper-shadow>
</g:HTMLPanel>
Chcę zarejestrować/stworzyć papierowej cień as widget tak, że mogę napisać kod tak, że jak łatwo jest Händel zdarzenia
<polymer:paper-shadow class="{style.card}">
<mgwt:touch.TouchPanel ui:field="touchPanel">
<mgwt:panel.flex.FlexPanel orientation="VERTICAL" alignment="CENTER">
<g:Image url="{global.getDirection.getSafeUri.asString}" />
<g:HTMLPanel>Take me to Deal</g:HTMLPanel>
</mgwt:panel.flex.FlexPanel>
</mgwt:touch.TouchPanel>
<polymer:paper-shadow>
thanks ludzi, ale kiedy to zadano pytanie, że ta biblioteka nie jest dostępna. –
Moja wina. Nie widzę daty tego pytania ... – vjrj