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)

#contentString

Returns:

  • (String)

#idInteger

Returns:

  • (Integer)

#sections<Array<SectionDrop>]

Returns an array of all the added sections

Returns:

#settingsThemeSettingsDrop

Returns configured settings for the page

Returns:

#slugString

Returns:

  • (String)

#titleString

Returns:

  • (String)

#urlString

Returns:

  • (String)