|
|
|
@ -6,7 +6,7 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Dropdown |
|
|
|
{ |
|
|
|
public class AbpDropdownTagHelperService : AbpTagHelperService<AbpDropdownTagHelper> |
|
|
|
{ |
|
|
|
public override async Task ProcessAsync(TagHelperContext context, TagHelperOutput output) |
|
|
|
public override void Process(TagHelperContext context, TagHelperOutput output) |
|
|
|
{ |
|
|
|
output.TagName = "div"; |
|
|
|
output.Attributes.AddClass("btn-group"); |
|
|
|
@ -16,11 +16,6 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Dropdown |
|
|
|
output.TagMode = TagMode.StartTagAndEndTag; |
|
|
|
} |
|
|
|
|
|
|
|
protected virtual string GetButtonsAsHtml(TagHelperContext context, TagHelperOutput output) |
|
|
|
{ |
|
|
|
return context.Items[DropdownButtonsAsHtml] as string; |
|
|
|
} |
|
|
|
|
|
|
|
protected virtual void SetDirection(TagHelperContext context, TagHelperOutput output) |
|
|
|
{ |
|
|
|
switch (TagHelper.Direction) |
|
|
|
|