mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
rename clickable to tappable in Span
This commit is contained in:
@@ -44,6 +44,6 @@ export function loadExamples() {
|
||||
examples.set("background-shorthand", "css/background-shorthand");
|
||||
examples.set("background-image-linear-gradient", "css/background-image-linear-gradient");
|
||||
examples.set("background-image", "css/background-image");
|
||||
examples.set("clickable-span", "css/clickable-span");
|
||||
examples.set("tappable-span", "css/tappable-span");
|
||||
return examples;
|
||||
}
|
||||
@@ -5,9 +5,9 @@
|
||||
<FormattedString>
|
||||
<FormattedString.spans>
|
||||
<Span text="The quick brown " style="font-weight: bold; color: green;" />
|
||||
<Span text="fox" style="font-weight: italic; color: green;" linkClick="foxTap"/>
|
||||
<Span text="fox" style="font-weight: italic; color: green;" linkTap="foxTap"/>
|
||||
<Span text=" jumps over the lazy " style="font-weight: bold; color: red;" />
|
||||
<Span text="dog" style="font-weight: bold; color: blue;" linkClick="dogTap"/>
|
||||
<Span text="dog" style="font-weight: bold; color: blue;" linkTap="dogTap"/>
|
||||
<Span text="." style="font-weight: bold; color: green;" />
|
||||
</FormattedString.spans>
|
||||
</FormattedString>
|
||||
Reference in New Issue
Block a user