TwitterBootstrapMvc icon indicating copy to clipboard operation
TwitterBootstrapMvc copied to clipboard

Add interfaces for HtmlAttributes() and Data()

Open naviy opened this issue 12 years ago • 4 comments

Просьба добавить в хелперы контролов, содержащих методы HtmlAttributes() и Data(), соответствующий интерфейс. А то, если писать свои методы расширний (типа @Html.Bootstrap().TextBox().ngModel("name")), то приходится их делать для каждого вида контролов.

naviy avatar Mar 15 '14 07:03 naviy

I've created extension methods that give you strong typing for html5 input types, I'm happy to upload them if someone can help me integrate them with the main source

jonathanmcnamee avatar May 01 '14 15:05 jonathanmcnamee

@naviy, я не уверен, что я смогу добавить интерфейс, о котором вы просите. Это значительно усложнит существующий код.

@jonathanmcnamee please go ahead and upload them. I'll look into the possibility of integrating them.

DmitryEfimenko avatar May 01 '14 16:05 DmitryEfimenko

@DmitryEfimenko I just want to upload 2 files, is there any way I can email them to you directly as I can't fork the code from this machine

jonathanmcnamee avatar May 02 '14 13:05 jonathanmcnamee

sure, use the email address found at the end of this page

DmitryEfimenko avatar May 02 '14 16:05 DmitryEfimenko