我在nativescript-angular中的组件html文件中尝试了“hr”标记。但它没有在模拟器中显示水平线。 (使用ios模拟器测试)
<StackLayout> hr> <Label horizontalAlignment="left" textWrap="true" text="Description" class="description-text"></Label> </StackLayout>
hr不应该像StackLayout一样上课吗?
hr
StackLayout
像<StackLayout class="hr-light">...
<StackLayout class="hr-light">...
Reference