在我更新我的Chrome后,我无法Evaluate on console在Chrome开发者工具中看到,这是截图
铬版是 Version 65.0.3325.162 (Official Build) (64-bit)
发生了什么?谢谢你的帮助.
我想在Angular2中使用d3js,但是当我想在元素更改时添加过渡时,会出现错误:
Property 'transition' does not exist on type 'Selection<BaseType, {}, null, undefined>'
我使用Angular-cli生成项目,Angular的版本是4.0.0,d3js是4.8.0
这是我的typings.d.ts:
declare module 'd3' {
export * from 'd3-array';
export * from 'd3-axis';
export * from 'd3-brush';
export * from 'd3-chord';
export * from 'd3-collection';
export * from 'd3-color';
export * from 'd3-dispatch';
export * from 'd3-drag';
export * from 'd3-dsv';
export * from 'd3-ease';
export * from 'd3-force';
export * from 'd3-format';
export * from 'd3-geo';
export * from 'd3-hierarchy';
export * from 'd3-interpolate'; …Run Code Online (Sandbox Code Playgroud) 我想将滚动条的宽度更改为更宽,因此当用户将鼠标悬停在其上时,它看起来很清晰。
所以我写道:
::-webkit-scrollbar {
width: 7px;
height: 7px;
background-color: #ddd;
}
::-webkit-scrollbar:hover {
width: 10px;
height: 10px;
background-color: red;
}
Run Code Online (Sandbox Code Playgroud)
背景颜色更改为红色,但宽度未更改,是否有解决方法?这是plnkr