Add Image
This commit is contained in:
parent
c08d389efd
commit
a962e20ffd
|
@ -0,0 +1,18 @@
|
|||
using System;
|
||||
|
||||
namespace Ooui
|
||||
{
|
||||
public class Image : Element
|
||||
{
|
||||
string src = "";
|
||||
public string Source {
|
||||
get => src;
|
||||
set => SetProperty (ref src, value ?? "", "src");
|
||||
}
|
||||
|
||||
public Image ()
|
||||
: base ("img")
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue