rename clickable to tappable in Span

This commit is contained in:
Eduardo Speroni
2019-05-06 20:20:03 -03:00
parent cca70cc49f
commit 8fc42ff917
6 changed files with 29 additions and 29 deletions

View File

@@ -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;
}

View File

@@ -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>