This is an automated email from the ASF dual-hosted git repository.
carlosrovira pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/royale-docs.git
The following commit(s) were added to refs/heads/master by this push:
new f6c1b2e strand-beads: responsive images
f6c1b2e is described below
commit f6c1b2e523ee02dfeabb47795d0816c0274b18c6
Author: Carlos Rovira <[email protected]>
AuthorDate: Thu Aug 29 18:48:29 2019 +0200
strand-beads: responsive images
---
features/strands-and-beads.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/features/strands-and-beads.md b/features/strands-and-beads.md
index 7af4e8b..66896cf 100644
--- a/features/strands-and-beads.md
+++ b/features/strands-and-beads.md
@@ -26,14 +26,14 @@ Adding functionality to a component through composition
Strands and beads are key concepts in Royale, related to the
[PAYG](features/payg.html) (pay as you go) concept. The idea is to keep
component code as lightweight as possible, and to add functionality and
complexity only to the components that need it.
{:align="center"}
-
+{:height="70%" width="70%"}
In the image, a
[TextInput](https://royale.apache.org/asdoc/index.html#!org.apache.royale.html/TextInput){:target='_blank'}
is composed by a model
([TextModel](https://royale.apache.org/asdoc/index.html#!org.apache.royale.html.beads.models/TextModel){:target='_blank'}),
a view
([TextInputWithBorderView](https://royale.apache.org/asdoc/index.html#!org.apache.royale.html.beads/TextInputWithBorderView){:target='_blank'})
and a controller ([EditableTextKeyboardController](https://royale.apac [...]
> For example, you may use a lot of text input fields in your application, but
> only one or two need to be able to protect passwords by converting the
> display of text the user provides into dots. You may want to disable or
> enable some instances of the text input component, but not all of them,
> while an end user is working with your application. There is no reason to
> have that extra functionality (and added weight of code) available
> everywhere _"just in case"_, as was the rule in Apache Flex.
{:align="center"}
-
+{:height="70%" width="70%"}
In the image we are composing (adding) two optional beads to the strand.