CssAnimationProperties, when unset, were not setting the default native value. (#4595)

This commit is contained in:
Panayot Cankov
2017-07-26 19:16:26 +03:00
committed by SvetoslavTsenov
parent d978424f35
commit 2f6ca2524b
6 changed files with 66 additions and 21 deletions

View File

@@ -0,0 +1,3 @@
.styled > StackLayout > * {
background-color: red;
}

View File

@@ -0,0 +1,7 @@
export function set(args) {
args.object.page.className = "styled";
}
export function clear(args) {
args.object.page.className = "";
}

View File

@@ -0,0 +1,8 @@
<Page xmlns="http://schemas.nativescript.org/tns.xsd">
<StackLayout id="root">
<SearchBar />
<Progress value="50" maxValue="100" margin="22" />
<Button text="set" tap="set" margin="2" />
<Button text="clear" tap="clear" margin="2" />
</StackLayout>
</Page>

View File

@@ -24,6 +24,7 @@ export function loadExamples() {
examples.set("1657-ios", "issues/issue-1657-ios");
examples.set("tabview-with-scrollview_4022","issues/tabview-with-scrollview_4022");
examples.set("3354-ios", "issues/issue-3354");
examples.set("4450", "issues/issue-4450");
return examples;
}