有没有办法隐藏 iFrame 中的垂直滚动条,但仍启用滚动?
对我来说,在 HTML5 中隐藏滚动条的唯一方法是设置scrolling="no",但这会锁定滚动条。我想做的就是隐藏它们。
<iframe width="100%" scrolling="no" src=""></iframe>
Run Code Online (Sandbox Code Playgroud) 我在 net core 中使用 swashbuckle 创建一个 swagger 记录的 API。
我的函数使用查询参数。我想在输入参数值的文本框旁边为每个查询参数添加简短描述。我通过使用 XML 注释实现了这一点:
/// <param name="propertyId">The integration property ID. Events related to presentations related to this ID will be returned</param>
public ActionResult GetEvents([BindRequired] string propertyId){}
Run Code Online (Sandbox Code Playgroud)
我发现如果生成的 JSON 具有查询参数的“示例”值,则可以更改占位符。如何添加示例值,或者如何使用 XML 注释或类似内容更改占位符?
asp.net-core ×1
css ×1
html ×1
iframe ×1
parameters ×1
scroll ×1
swagger ×1
swashbuckle ×1
xml ×1