mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-11-29 17:51:46 +00:00
Add missing styles to cytoscape css.Node
This commit is contained in:
@@ -20,8 +20,8 @@ const parentCSS = {
|
||||
'padding-left': '10px',
|
||||
'padding-bottom': '10px',
|
||||
'padding-right': '10px',
|
||||
'text-valign': 'top',
|
||||
'text-halign': 'center',
|
||||
'text-valign': 'top' as 'top',
|
||||
'text-halign': 'center' as 'center',
|
||||
'background-color': '#CCC',
|
||||
'font-size': 40,
|
||||
'min-zoomed-font-size': 15
|
||||
|
||||
Vendored
+5
-1
@@ -3466,8 +3466,12 @@ declare namespace cytoscape {
|
||||
/**
|
||||
* http://js.cytoscape.org/#style/node-body
|
||||
*/
|
||||
interface Node extends Partial<Overlay>, PaddingNode {
|
||||
interface Node extends Partial<Overlay>, PaddingNode, Partial<Labels> {
|
||||
"label"?: string;
|
||||
/**
|
||||
* The CSS content field
|
||||
*/
|
||||
"content"?: string;
|
||||
/**
|
||||
* The width of the node’s body.
|
||||
* This property can take on the special value label
|
||||
|
||||
Reference in New Issue
Block a user