Class Masonry


  • public final class Masonry
    extends Collection
    The Masonry component wrapper.
    • Constructor Detail

      • Masonry

        public Masonry​(java.lang.String selector)
        Creates the wrapper element for the masonry identified by the provided selector.
        Parameters:
        selector - - the CSS selector identifying the masonry html element to wrap.
    • Method Detail

      • scrollToEnd

        public Collection scrollToEnd()
        Scroll to the end of the masonry.
        Returns:
        self
      • toggleItem

        protected Collection toggleItem​(com.codeborne.selenide.SelenideElement item)
        Overrides:
        toggleItem in class Collection
        Parameters:
        item - the element on which toggle item is called, default it click on coral-checkbox.
        Returns:
        self
      • scrollToTop

        public Collection scrollToTop()
        Scroll to the top of the masonry.
        Returns:
        self