Skip to content

Documentation for wat-timeditem-inspector #94

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions wat-bezier/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and

limitations under the License.
See the License for the specific language governing permissions and limitations
under the License.
-->

<!DOCTYPE html>
Expand Down
5 changes: 2 additions & 3 deletions wat-bezier/wat-bezier.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and

limitations under the License.
See the License for the specific language governing permissions and limitations
under the License.
-->

<!DOCTYPE html>
Expand Down
16 changes: 16 additions & 0 deletions wat-bezier/wat-bezier.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
/*
* Copyright 2013 Google Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

Polymer('wat-bezier', {
controlPoints: [0, 0, 1, 1], // [P1x, P1y, P2x, P2y]
preset: 'linear',
Expand Down
5 changes: 2 additions & 3 deletions wat-player-controls/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and

limitations under the License.
See the License for the specific language governing permissions and limitations
under the License.
-->

<!DOCTYPE html>
Expand Down
11 changes: 5 additions & 6 deletions wat-player-controls/wat-player-controls.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,26 +10,25 @@
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and

limitations under the License.
See the License for the specific language governing permissions and limitations
under the License.
-->

<!--
/**
* @module Web Animations Tools
*/
/**
* wat-player-controls can be used to control a Player.
* `wat-player-controls` can be used to control a Player.
*
* Example:
*
* <wat-player-controls></wat-player-controls>
* <script>
* document.querySelector('wat-player-controls').player =
* document.querySelector('wat-player-controls').player =
* document.timeline.play(new Animation(...));
* </script>
*
*
* @class wat-player-controls
*/
-->
Expand Down
5 changes: 2 additions & 3 deletions wat-step/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and

limitations under the License.
See the License for the specific language governing permissions and limitations
under the License.
-->

<!DOCTYPE html>
Expand Down
5 changes: 2 additions & 3 deletions wat-step/wat-step.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and

limitations under the License.
See the License for the specific language governing permissions and limitations
under the License.
-->

<!DOCTYPE html>
Expand Down
16 changes: 16 additions & 0 deletions wat-step/wat-step.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
/*
* Copyright 2013 Google Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

Polymer('wat-step', {
steps: 1,
position: 'end',
Expand Down
5 changes: 2 additions & 3 deletions wat-timeditem-inspector/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and

limitations under the License.
See the License for the specific language governing permissions and limitations
under the License.
-->

<!DOCTYPE html>
Expand Down
25 changes: 22 additions & 3 deletions wat-timeditem-inspector/wat-timeditem-inspector.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,28 @@
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
See the License for the specific language governing permissions and limitations
under the License.
-->

limitations under the License.
<!--
/**
* @module Web Animations Tools
*/
/**
* `wat-timeditem-inspector` can be used to inspect and modify the timing
* properties of a `TimedItem`.
*
* Example:
*
* <wat-timeditem-inspector></wat-timeditem-inspector>
* <script>
* document.querySelector('wat-timeditem-inspector').timedItem =
* new Animation(...);
* </script>
*
* @class wat-timeditem-inspector
*/
-->

<meta charset="utf-8">
Expand Down Expand Up @@ -107,4 +126,4 @@
</template>

<script src="wat-timeditem-inspector.js"></script>
</polymer-element>
</polymer-element>
3 changes: 1 addition & 2 deletions wat-timeditem-inspector/wat-timeditem-inspector.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ Polymer('wat-timeditem-inspector', {
}
},


timedItemEasingChanged: function() {
if (!this.timedItem) {
return;
Expand Down Expand Up @@ -97,4 +96,4 @@ Polymer('wat-timeditem-inspector', {
this.$['easing-editor-container'].className = 'hidden';
this.$['property-container'].className = '';
}
});
});