mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
committed by
Sébastien Ros
parent
b8bd587a9f
commit
99b0fd6ca7
@@ -42,6 +42,15 @@ namespace Orchard.UI.Resources {
|
|||||||
set { SetAttribute("href", value); }
|
set { SetAttribute("href", value); }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public string Sizes {
|
||||||
|
get {
|
||||||
|
string value;
|
||||||
|
_builder.Attributes.TryGetValue("sizes", out value);
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
set { SetAttribute("sizes", value); }
|
||||||
|
}
|
||||||
|
|
||||||
public string GetTag() {
|
public string GetTag() {
|
||||||
string tag = _builder.ToString(TagRenderMode.SelfClosing);
|
string tag = _builder.ToString(TagRenderMode.SelfClosing);
|
||||||
if (!string.IsNullOrEmpty(Condition)) {
|
if (!string.IsNullOrEmpty(Condition)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user