weixin_39610724
weixin_39610724
2020-12-28 19:02

Toggle layout

Hi, can you add toggle layout

该提问来源于开源项目:David-Desmaisons/Vue.Isotope

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

9条回答

  • weixin_39767322 weixin_39767322 4月前

    Hi , I am not sure what do you mean by toggle layout. Could you be more specific?

    点赞 评论 复制链接分享
  • weixin_39610724 weixin_39610724 4月前

    hi -Desmaisons , I am trying to get the tiles to resize/or toggle like this, can you show me how to do it.

    thanks

    点赞 评论 复制链接分享
  • weixin_39767322 weixin_39767322 4月前

    I just comited: -an update on isotope example with layout toogle -a fix on existing method to change layout. I will release a new version with this fix shortky

    点赞 评论 复制链接分享
  • weixin_39767322 weixin_39767322 4月前

    Just release new version with fix + updated readme.

    点赞 评论 复制链接分享
  • weixin_39610724 weixin_39610724 4月前

    Hi the downloaded files do not run, they have place holders showing in the samples.

    
    Togle Layout
    
    Similarly, it is possible to update the layout mode using the following method:
    
      this.isotopeArrange(arrangeOption, id);
    

    I saw this help note, can you please tell me what is the arragneOption and the Idrepresent or how to use them when I call them from the server side

    点赞 评论 复制链接分享
  • weixin_39767322 weixin_39767322 4月前

    arragneOption should be same value as isotope arrange accepts. For example:

    
    {
      filter: '.metal',
      sortBy: 'number'
    }
    

    Please refer to isotope documentation for complete description.

    if the viewmodel display only one isotope component id can be undefined. Otherwise it should be the same value as id value of the option argument.

    点赞 评论 复制链接分享
  • weixin_39767322 weixin_39767322 4月前

    Regarding the download, how did you "download" the files?

    点赞 评论 复制链接分享
  • weixin_39610724 weixin_39610724 4月前

    Hi, I used the clone / download link from your page. I am trying to get the toggle working, and its not for me, let me try some more. thanks :+1:

    点赞 评论 复制链接分享
  • weixin_39767322 weixin_39767322 4月前

    OK, I recomend using bower or npm to get last stable version.

    点赞 评论 复制链接分享

相关推荐