Hi Danielo

The focusPopup attribute on the edit-text widget is the way that the
dropdown is displayed for the new tag edit control. The idea is that the
edit-text widget triggers the popup state tiddler in the same way that the
button widget would do.

Best wishes

Jeremy.



On Mon, Apr 14, 2014 at 9:49 PM, Danielo Rodríguez <[email protected]>wrote:

> Hello
>
> I was breaking down some TW code when I saw a macro that I can't
> understand. I read the documentation already and still not understand.
> What I don't understand are the qualify macro and the focusPopup parameter.
>
> Here is an example which uses both:
>
> <$edit-text tiddler="$:/temp/NewTagName" tag="input" default=""
> placeholder="" focusPopup=<<qualify "$:/state/tagsAutoComplete">>
> class="tw-edit-texteditor"/>
>
> Since I can figure out what focusPopup does, I don't understand why does
> it works for reveal/hide purposes. The documentation says that it "shows" a
> tiddler on element focus. Then, why this reveal widget gets activated?
>
> <$reveal state=<<qualify "$:/state/tagsAutoComplete">> type="nomatch"
> text="" default="">
>
> And, what is the qualify macro for? How can it be used as a widget
> parameter? I read several times that is not possible, and I'm still using
> it and seeing it in the wiki core tiddlers.
>
> Thanks in advance.
>
> --
> You received this message because you are subscribed to the Google Groups
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/tiddlywiki.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Jeremy Ruston
mailto:[email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to