From e2c708259f805e373c13cde73ce3732295cee991 Mon Sep 17 00:00:00 2001 From: Yunus Emre Kalkan Date: Tue, 3 Jul 2018 13:41:00 +0300 Subject: [PATCH] button tag helper demo improvements --- .../Pages/Components/Buttons.cshtml | 49 +++++++++++++++++-- 1 file changed, 45 insertions(+), 4 deletions(-) diff --git a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Buttons.cshtml b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Buttons.cshtml index 11464b53cc..7c87bca7fc 100644 --- a/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Buttons.cshtml +++ b/framework/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/Buttons.cshtml @@ -12,7 +12,7 @@
- Default + Primary Secondary Success @@ -25,7 +25,7 @@
-<abp-button>Default</abp-button>
+<abp-button text="Default"/>
 <abp-button button-type="Primary">Primary</abp-button>
 <abp-button button-type="Secondary">Secondary</abp-button>
 <abp-button button-type="Success">Success</abp-button>
@@ -44,7 +44,7 @@
 
Link - Button + @@ -52,10 +52,51 @@
 <a abp-button="Primary" href="#">Link</a>
-<abp-button button-type="Primary" type="submit">Button</abp-button>
+<abp-button button-type="Primary" type="submit" text="Button"/>
 <input abp-button="Primary" value="Input" />
 <input abp-button="Primary" type="submit" value="Submit" />
 <input abp-button="Primary" type="reset" value="Reset" />
+
+
+
+ +

# Example

+ +
+
+ + +
+
+
+<abp-button size="Large" text="Large"/>
+<abp-button size="Small" text="Small"/>
+
+
+
+ +

# Example

+ +
+
+ +
+
+
+<abp-button icon-type="FontAwesome" icon="info" text="With Icon"/>
+
+
+
+ +

# Example

+ +
+
+ +
+
+
+<abp-button text="Busy" busy-text="Saving..."/>
 
\ No newline at end of file