Skip to content

Commit 970bfb9

Browse files
authored
Merge pull request #137 from NativeScript/niliev/trace-example
added back navigation for trace
2 parents a597b88 + 158f23b commit 970bfb9

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

app/trace/custom-trace-writer/custom-tracewriter-example.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<GridLayout class="border-gridLayout">
1+
<GridLayout sdkExampleTitle sdkToggleNavButton class="border-gridLayout">
22
<ListView [items]="customwriter.array" class="list-group">
33
<template let-item="item" let-odd="odd" let-even="even">
44
<GridLayout rows="auto auto auto auto" columns="auto *" class="list-group-item">

app/trace/trace-examples.module.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,13 @@ export const routerConfig = [
1616
},
1717
{
1818
path: "custom-trace-writer",
19-
component: CustomTraceWriterExampleComponent
19+
component: CustomTraceWriterExampleComponent,
20+
data: { title: "Custom trace writer" }
2021
},
2122
{
2223
path: "trace-writer-categories",
23-
component: TraceSpecificCategoriesExampleComponent
24+
component: TraceSpecificCategoriesExampleComponent,
25+
data: { title: "Trace specific categories" }
2426
}
2527
];
2628

app/trace/trace-specific-categories/trace-specific-categories-example.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<StackLayout>
1+
<StackLayout sdkExampleTitle sdkToggleNavButton>
22
<Label class="h3 m-15 text-center" text="Tracing specific categories of events example." textWrap="true"></Label>
33
<Button class="btn btn-primary btn-rounded-sm btn-active" text="Enable tracing" (tap)="enableTracing()"></Button>
44
<Button class="btn btn-primary btn-rounded-sm btn-active" text="Disable tracing" (tap)="disableTracing()"></Button>

0 commit comments

Comments
 (0)