Tuyen
  • Welcome to my document
  • 💼 My work
    • Updimes
      • Custom Link
      • How to add a table of contents
    • Ryviu Shopify
      • Theme
        • Kalles
      • 1.0
      • 2.0
      • Má»™t số lá»—i theme
        • Lá»—i hình ảnh không hiển thị trên theme Avenue
    • Ryviu Wordpress
      • Shortcode
      • Product hook
      • Collection hook
    • Ryviu Blog
      • Thêm HTML code to blog
      • Add Q&A sections to blog post
      • Add button to CMS blog
  • Ryviu Polaris
    • Skeleton
    • Components
    • Image loading
    • Modal Confirm
    • Table Polaris
Powered by GitBook
On this page

Was this helpful?

  1. Ryviu Polaris

Table Polaris

Scroll X

:class="[addSrcolTable() ? 'Polaris-IndexTable__Table--scrolling' : '']"

isIframe: state => state.isIframe
widthPage: state => state.widthPage,

addSrcolTable(){
      
  if(this.isIframe){
    if(this.widthPage <= 1270 || (this.widthPage <= 1515 && !this.currentProductId)){
      return true;
    }
  }else{
    if(this.widthPage <= 1660 || (this.widthPage <= 1792 && !this.currentProductId)){
      return true;
    }
  }

  return false;
},
PreviousModal Confirm

Last updated 1 year ago

Was this helpful?