This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<dependency> | |
<groupId>com.arcbees.gss</groupId> | |
<artifactId>gsss</artifactId> | |
<version>1.0</version> | |
<scope>provided</scope> | |
</dependency> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<inherits name="com.arcbees.gsss.animation.Animation"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.projectname.project.client.resources; | |
import com.arcbees.gsss.animation.client.AnimationResources; | |
import com.google.gwt.resources.client.ClientBundle; | |
public interface AnimationsResources extends ClientBundle { | |
interface Style extends AnimationResources.Animation { | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder' | |
xmlns:g='urn:import:com.google.gwt.user.client.ui'> | |
<ui:with field=“anim” type="com.projectname.project.client.resources.AnimationsResources"/> | |
<g:HTMLPanel> | |
</g:HTMLPanel> | |
</ui:UiBinder> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<g:HTMLPanel> | |
<div class="{anim.style.myAnimation}"> | |
</div> | |
</g:HTMLPanel> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.myAnimation { | |
background-color: red; | |
width: 50px; | |
height: 50px; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.projectname.project.client.resources; | |
import com.arcbees.gsss.animation.client.AnimationResources; | |
import com.google.gwt.resources.client.ClientBundle; | |
public interface AnimationsResources extends ClientBundle { | |
interface Style extends AnimationResources.Animation { | |
String myAnimation(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<g:HTMLPanel> | |
<div class="{anim.style.myAnimation} {anim.style.animation}"> | |
</div> | |
</g:HTMLPanel> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<g:HTMLPanel> | |
<div class="{anim.style.myAnimation} {anim.style.animation} {anim.style.pulse}"> | |
</div> | |
</g:HTMLPanel> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@keyframes pulse { | |
0%, 100% { | |
opacity: 0.7; | |
transform: scale(1); | |
} | |
50% { | |
opacity: 1; | |
transform: scale(1.1); | |
} |
OlderNewer