我有一个div,我在其中添加了元素.I,每当元素添加到div中,我都想滚动到div的底部。我知道如何在jquery .But中操作,我不知道如何使用angular js滚动,我知道使用jquery 。
testCaseContainer是div的id。
var elem = document.getElementById('testCaseContainer'); // just to
// scroll down
我正在尝试将我的控件的焦点绑定到视图模型上的属性,如下所示:
public class Focus
{
public static readonly DependencyProperty HasFocusProperty = DependencyProperty.RegisterAttached("HasFocus",
typeof(bool),