OLD | NEW |
1 { | 1 { |
2 "version": { "major": "1", "minor": "1" }, | 2 "version": { "major": "1", "minor": "1" }, |
3 "domains": [{ | 3 "domains": [{ |
4 "domain": "Inspector", | 4 "domain": "Inspector", |
5 "hidden": true, | 5 "hidden": true, |
6 "types": [], | 6 "types": [], |
7 "commands": [ | 7 "commands": [ |
8 { | 8 { |
9 "name": "enable", | 9 "name": "enable", |
10 "description": "Enables inspector domain notifications." | 10 "description": "Enables inspector domain notifications." |
(...skipping 4393 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4404 ], | 4404 ], |
4405 "events": [ | 4405 "events": [ |
4406 { | 4406 { |
4407 "name": "dataAvailable", | 4407 "name": "dataAvailable", |
4408 "parameters": [ | 4408 "parameters": [ |
4409 {"name": "value", "type": "array", "items": { "$ref": "Power
Event" }, "description": "List of power events." } | 4409 {"name": "value", "type": "array", "items": { "$ref": "Power
Event" }, "description": "List of power events." } |
4410 ], | 4410 ], |
4411 "handlers": ["browser", "frontend"] | 4411 "handlers": ["browser", "frontend"] |
4412 } | 4412 } |
4413 ] | 4413 ] |
| 4414 }, |
| 4415 { |
| 4416 "domain": "Animation", |
| 4417 "hidden": true, |
| 4418 "types": [ |
| 4419 { |
| 4420 "id": "AnimationPlayer", |
| 4421 "type": "object", |
| 4422 "hidden": true, |
| 4423 "properties": [ |
| 4424 { "name": "id", "type": "string", "description": "<code>Anim
ationPlayer</code>'s id." }, |
| 4425 { "name": "pausedState", "type": "boolean", "hidden": "true"
, "description": "<code>AnimationPlayer</code>'s internal paused state." }, |
| 4426 { "name": "playState", "type": "string", "description": "<co
de>AnimationPlayer</code>'s play state." }, |
| 4427 { "name": "playbackRate", "type": "number", "description": "
<code>AnimationPlayer</code>'s playback rate." }, |
| 4428 { "name": "startTime", "type": "number", "description": "<co
de>AnimationPlayer</code>'s start time." }, |
| 4429 { "name": "currentTime", "type": "number", "description": "<
code>AnimationPlayer</code>'s current time." }, |
| 4430 { "name": "source", "$ref": "AnimationNode", "description":
"<code>AnimationPlayer</code>'s source animation node." } |
| 4431 ], |
| 4432 "description": "AnimationPlayer instance." |
| 4433 }, |
| 4434 { |
| 4435 "id": "AnimationNode", |
| 4436 "type": "object", |
| 4437 "hidden": true, |
| 4438 "properties": [ |
| 4439 { "name": "startDelay", "type": "number", "description": "<c
ode>AnimationNode</code>'s start delay." }, |
| 4440 { "name": "playbackRate", "type": "number", "description": "
<code>AnimationNode</code>'s playbackRate." }, |
| 4441 { "name": "iterationStart", "type": "number", "description":
"<code>AnimationNode</code>'s iteration start." }, |
| 4442 { "name": "iterationCount", "type": "number", "description":
"<code>AnimationNode</code>'s iteration count." }, |
| 4443 { "name": "duration", "type": "number", "description": "<cod
e>AnimationNode</code>'s iteration duration." }, |
| 4444 { "name": "direction", "type": "number", "description": "<co
de>AnimationNode</code>'s playback direction." }, |
| 4445 { "name": "fillMode", "type": "number", "description": "<cod
e>AnimationNode</code>'s fill mode." }, |
| 4446 { "name": "timeFraction", "type": "number", "description": "
<code>AnimationNode</code>'s time fraction." }, |
| 4447 { "name": "name", "type": "string", "description": "<code>An
imationNode</code> name."} |
| 4448 ], |
| 4449 "description": "AnimationNode instance" |
| 4450 } |
| 4451 ], |
| 4452 "commands": [ |
| 4453 { |
| 4454 "name": "getAnimationPlayersForNode", |
| 4455 "parameters": [ |
| 4456 { "name": "nodeId", "$ref": "DOM.NodeId", "description": "Id
of the node to get animation players for." } |
| 4457 ], |
| 4458 "returns": [ |
| 4459 { "name": "animationPlayers", "type": "array", "items": { "$
ref": "AnimationPlayer" }, "description": "Array of animation players." } |
| 4460 ], |
| 4461 "description": "Returns animation players relevant to the node."
, |
| 4462 "hidden": true |
| 4463 }, |
| 4464 { |
| 4465 "name": "pauseAnimationPlayer", |
| 4466 "parameters": [ |
| 4467 { "name": "id", "type": "string", "description": "Id of the
animation player." } |
| 4468 ], |
| 4469 "returns": [ |
| 4470 { "name": "animationPlayer", "$ref": "AnimationPlayer", "des
cription": "Animation Player with current time set." } |
| 4471 ], |
| 4472 "description": "Pauses animations relevant to the node.", |
| 4473 "hidden": true |
| 4474 }, |
| 4475 { |
| 4476 "name": "playAnimationPlayer", |
| 4477 "parameters": [ |
| 4478 { "name": "id", "type": "string", "description": "Id of the
animation player." } |
| 4479 ], |
| 4480 "returns": [ |
| 4481 { "name": "animationPlayer", "$ref": "AnimationPlayer", "des
cription": "Animation Player with current time set." } |
| 4482 ], |
| 4483 "description": "Plays animations relevant to the node.", |
| 4484 "hidden": true |
| 4485 }, |
| 4486 { |
| 4487 "name": "setAnimationPlayerCurrentTime", |
| 4488 "parameters": [ |
| 4489 { "name": "id", "type": "string", "description": "Id of the
animation player." }, |
| 4490 { "name": "currentTime", "type": "number", "description": "C
urrent time to set animation to"} |
| 4491 ], |
| 4492 "returns": [ |
| 4493 { "name": "animationPlayer", "$ref": "AnimationPlayer", "des
cription": "Animation Player with current time set." } |
| 4494 ], |
| 4495 "description": "Sets the current time on given AnimationPlayer."
, |
| 4496 "hidden": true |
| 4497 }, |
| 4498 { |
| 4499 "name": "getAnimationPlayerState", |
| 4500 "parameters": [ |
| 4501 { "name": "id", "type": "string", "description": "Id of the
animation player." } |
| 4502 ], |
| 4503 "returns": [ |
| 4504 { "name": "currentTime", "type": "number", "description": "C
urrent time of the animation player." }, |
| 4505 { "name": "isRunning", "type": "boolean", "description": "If
the animation player is still running." } |
| 4506 ], |
| 4507 "description": "Gets the state of an AnimationPlayer.", |
| 4508 "hidden": true |
| 4509 } |
| 4510 ], |
| 4511 "events": [ |
| 4512 ] |
4414 }] | 4513 }] |
4415 } | 4514 } |
OLD | NEW |