mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Added some links to ApiReference.
This commit is contained in:
@@ -280,12 +280,7 @@ export var test_cssShouldBeAppliedToAllNestedElements = function () {
|
||||
StackLayout = new stackLayoutModule.StackLayout();
|
||||
StackLayout.addChild(label);
|
||||
testPage.content = StackLayout;
|
||||
//<snippet module="ui/page" title="Page">
|
||||
//### Adding a css that affects all nested UI components.
|
||||
//``` JavaScript
|
||||
testPage.css = "stackLayout {background-color: #ffff0000;} label {background-color: #ff00ff00;}";
|
||||
//```
|
||||
//</snippet>
|
||||
return testPage;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user