Class: PageDrop

Inherits:
Liquid::Simplero::Drop show all
Includes:
ModeDependentDropConcerns, SectionRenderingDropConcerns, ShareableDropConcerns
Defined in:
app/drops/page_drop.rb

Overview

PageDrop represents a page you create using the page editor. It is available as the top-level variable page. Special pages such as product order forms are not represented by PageDrops.

Instance Method Summary collapse

Methods inherited from Liquid::Simplero::Drop

#dom_id

Instance Method Details

#active? ⇒ Boolean

Returns true if this is the currently displayed page

Returns:

  • (Boolean)

#content ⇒ String

Returns:

  • (String)

#id ⇒ Integer

Returns:

  • (Integer)

#sections ⇒ <Array<SectionDrop>]

Returns an array of all the added sections

Returns:

#settings ⇒ ThemeSettingsDrop

Returns configured settings for the page

Returns:

#slug ⇒ String

Returns:

  • (String)

#title ⇒ String

Returns:

  • (String)

#url ⇒ String

Returns:

  • (String)