akveo / akveo/ngx-admin

console.log(<HTMLElement>document.querySelector('.context-menu')); this gives "null".

未关闭
#5,878 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
TypeScript
星标
25.7k
派生
7.9k
PR 合并指标
30 天内没有已合并 PR

描述

### Issue type

**I'm submitting a ...** (check one with "x")

* [ ] bug report
* [ ] feature request
* [ ] question about the decisions made in the repository

### Issue description

**Current behavior:**
console.log(document.querySelector('.context-menu')); this gives "null".

**Expected behavior:**
I want to do a style to nb-context-menu after clicking on user profile picture of nb-user.
what is the click function inside the ` `?
**Steps to reproduce:**

**Related code:**

```

userMenu = [
{
title: "Profile"
},
{
title: "Change Theme",
children: [
{
title: "Light",
},
{
title: "Dark",
},
{
title: "Cosmic",
},
],
},
{ title: "Log out" },
];



```

**Angular, Nebular**

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。