Hello Simon,
very good. The viewport.js sound very interesting to. You wrote above , the viewport macro is "measuring" the viewport. Especially for mobile use it would be very practical to be able to set the viewport based on conditions with a function like this....
But that's just an idea an an entirely different story.

Yours Jan


Am 16.02.2018 um 09:17 schrieb BurningTreeC:
@Jan,

I'll give this some thoughts, maybe the formula plugin can be replaced by native TW widget-/macro acrobatics I changed the PageTemplate so that if a dependency is missing the story shows nevertheless something like the viewport macro would be nice to have in the core. I'll change it a bit so that it can return the viewport width or height and make a pull request The hammer.js library I use a lot with different stuff - could be useful to have it accessible through the TW plugin library, or something similar. I'll try pinging the dev group a bit about this

Simon

    Hallo Simon:

    thanks for the information,

      * the formula plugin =$:/plugins/ebalster/formula?
      * the pan widget $:/plugins/BTC/tiddly-touch/widgets/pan.js
      * the hammer.js lib $:/plugins/BTC/tiddly-touch/lib/hammer.js
      * the viewport.js macro
        $:/plugins/BTC/tiddly-touch/macros/viewport.js
      * the modified story PageTemplate $:/core/ui/PageTemplate/story
      * the slidebar styles Tiddler

    Wonderful and verrry useful idea... but quite a lot of dependencies...
    When you install the modified storyTemplate and one of them is
    missing the story remains void...and it could be hard to recover
    from that.
    (Luckily i tried it on my tiddlyspot so that it was no hassle at all)

    It would be useful to have a complete solution or a fallback in
    the Pagetemplate for that case.

    Thanks again for your work,
    Jan

--
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 tiddlywiki+unsubscr...@googlegroups.com <mailto:tiddlywiki+unsubscr...@googlegroups.com>. To post to this group, send email to tiddlywiki@googlegroups.com <mailto:tiddlywiki@googlegroups.com>.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/bbf50ece-2a2b-420e-a567-0588dc1ea3ea%40googlegroups.com <https://groups.google.com/d/msgid/tiddlywiki/bbf50ece-2a2b-420e-a567-0588dc1ea3ea%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

--
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5A86A086.3020900%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to