我使用离子2加载小部件来显示微调器,但自定义样式没有任何影响。显示“加载”窗口小部件的代码为:
.myStyleSpinner {
width: 128px;
height: 128px;
font-size:128px;
stroke: red;
fill: red;
margin-left:100px;
}
我尝试过如下样式:
custom-spinner-container
我也尝试将相同的样式应用于custom-spinner-box
和ion-spinner svg
以及 private void Document_MouseDown(object sender, HtmlElementEventArgs e)
{
if (e.MouseButtonsPressed == MouseButtons.Right)
{
HtmlElement element = wb.Document.GetElementFromPoint(PointToClient(MousePosition));
if (element.Children.Count > 0)
{
foreach (HtmlElement child in element.Children)
{
if (child.TagName == "A")
Debug.WriteLine("Get link location, open in new tab.");
}
}
else
{
//I assume I need to check if this element has child elements that contain a TagName "A"
if (element.TagName == "A")
Debug.WriteLine("Get link location, open in new tab.");
else
Debug.WriteLine(element.TagName);
}
}
}
,但仍然没有快乐。
我正在使用离子β6。