private Task Container_OnClicked(FSW.Controls.Html.HtmlControlBase control) { Container.BackgroundColor = System.Drawing.Color.Red; Container.Children.Add(new FSW.Controls.Html.TextBox(this) { Text = "eheh" }); Container.Children.Add(new FSW.Controls.Html.TextBox() { Text = "eheh2" }); return(Task.CompletedTask); }
private void BT_test_OnClicked(FSW.Controls.Html.HtmlControlBase control) { BT_test.Text = "You clicked me !"; }
public static void Transition(this FSW.Controls.Html.HtmlControlBase control, Transition.Animation animation) { control.Extensions.Get <Transition>().DoTransition(animation); }
public static void Hide(this FSW.Controls.Html.HtmlControlBase control) { control.Extensions.Get <Modal>().Hide(); }