在这个plunker中,我想在文本框的顶部保留标签。如何为文本框保留标签。
<a class="btn btn-success btn-xs" data-nodrag ng-click="toggle(this)"><span class="glyphicon" ng-class="{'glyphicon-chevron-right': collapsed, 'glyphicon-chevron-down': !collapsed}"></span></a>
<input type="text" ng-model="item.rowId"> <input type="text" ng-model="item.name">
<a class="pull-right btn btn-danger btn-xs" data-nodrag ng-click="remove(this)"><span class="glyphicon glyphicon-remove"></span></a>
<a class="pull-right btn btn-primary btn-xs" data-nodrag ng-click="newSubItem(this)" style="margin-right: 8px;"><span class="glyphicon glyphicon-plus"></span><span class="glyphicon glyphicon-plus" style='margin-left:4px'></span></a>
<a class="pull-right btn btn-primary btn-xs" data-nodrag ng-click="addParentRow(this)" style="margin-right: 8px;"><span class="glyphicon glyphicon-plus"></span></a>
答案 0 :(得分:0)
我猜您正试图阻止对private void ProcessNewFrame(object sender, NewFrameEventArgs eventArgs)
{
Bitmap frame = (Bitmap) eventArgs.Frame.Clone();
if (detector.ProcessFrame(frame) > 0.02)
{
// ring alarm or do somethng else
}
}
元素进行更改。
在这种情况下,只需将rowId
添加到该输入:
ng-disabled="true"
答案 1 :(得分:0)
我希望这会对你有所帮助
Demo
<强> CSS 强>
var data = System.Text.Encoding.UTF8.GetBytes(String.Format("{0} {1}",temp, DateTime.Now.ToString("T")));
<强> HTML 强>
label {display:block;}
textarea { display:block;}