我有一个要求,我必须显示一个圆圈⭕️覆盖的搜索图标。我的意思是一个圆圈里面有一个搜索图标,当我切换鼠标时,必须显示一个工具提示。
我可以使用带有svg图标的FlotingActionButton来实现这一点,但问题是我不能在上面放置工具提示。
因此,据我所知,另一种选择是使用带有svg图标的IconButton。这有一个设置工具提示的选项。所以我像下面这样集成了它
import IconButton from ‘material-ui/IconButton’;
import SearchIcon from ‘material-ui/svg-icons/action/search’;
im
我想使用material UI的带有工具提示属性的IconButton组件。但是,我的工具提示值是一个长字符串。如何将我的字符串设置为多行阅读,而不是在工具提示弹出文本中只读一行?
const longSentenceForToolTop = "this is a really long tip and I would like to set it to multiple lines so I do not have one really long line as my tip going across my view because that would be obnoxious
我有一个小行李图标,当鼠标悬停在该图标上时,会显示一个工具提示文本。我想通过在Visual Studio中编写C#代码来测试这一点。
以下是行李箱图标在html中的显示方式:
<div class="icon_png information icon_baggageyes" title="1 piece included in this fare."></div>
下面是我测试工具提示的代码:
Actions a = new Actions(driver);
IWebElement tooTipObject = driver.FindEl