org.homepage_widgets ==================== .. py:module:: org.homepage_widgets Classes ------- .. autoapisummary:: org.homepage_widgets.RowWidget org.homepage_widgets.ColumnWidget org.homepage_widgets.TextWidget org.homepage_widgets.PanelWidget org.homepage_widgets.LinksWidget org.homepage_widgets.DirectoriesWidget org.homepage_widgets.NewsWidget org.homepage_widgets.CoverWidget org.homepage_widgets.EventsWidget org.homepage_widgets.TilesWidget org.homepage_widgets.HrWidget org.homepage_widgets.SliderWidget Functions --------- .. autoapisummary:: org.homepage_widgets.get_lead Module Contents --------------- .. py:function:: get_lead(text: str, max_chars: int = 180, consider_sentences: bool = True) -> str .. py:class:: RowWidget .. py:attribute:: template :value: Multiline-String .. raw:: html
Show Value .. code-block:: python """
""" .. raw:: html
.. py:class:: ColumnWidget .. py:attribute:: template :value: Multiline-String .. raw:: html
Show Value .. code-block:: python """
""" .. raw:: html
.. py:class:: TextWidget .. py:attribute:: template :value: Multiline-String .. raw:: html
Show Value .. code-block:: python """

""" .. raw:: html
.. py:class:: PanelWidget .. py:attribute:: template :value: Multiline-String .. raw:: html
Show Value .. code-block:: python """
""" .. raw:: html
.. py:class:: LinksWidget .. py:attribute:: template :value: Multiline-String .. raw:: html
Show Value .. code-block:: python """

""" .. raw:: html
.. py:class:: DirectoriesWidget .. py:attribute:: template :value: Multiline-String .. raw:: html
Show Value .. code-block:: python """ """ .. raw:: html
.. py:method:: get_variables(layout: onegov.org.layout.DefaultLayout) -> onegov.core.types.RenderData .. py:class:: NewsWidget .. py:attribute:: template :value: Multiline-String .. raw:: html
Show Value .. code-block:: python """
""" .. raw:: html
.. py:method:: get_variables(layout: onegov.org.layout.DefaultLayout) -> onegov.core.types.RenderData .. py:class:: CoverWidget .. py:attribute:: template :value: Multiline-String .. raw:: html
Show Value .. code-block:: python """
""" .. raw:: html
.. py:class:: EventsWidget .. py:attribute:: template :value: Multiline-String .. raw:: html
Show Value .. code-block:: python """ """ .. raw:: html
.. py:method:: get_variables(layout: onegov.org.layout.DefaultLayout) -> onegov.core.types.RenderData .. py:class:: TilesWidget .. py:attribute:: template :value: Multiline-String .. raw:: html
Show Value .. code-block:: python """ """ .. raw:: html
.. py:method:: get_variables(layout: onegov.org.layout.DefaultLayout) -> onegov.core.types.RenderData .. py:class:: Tile Bases: :py:obj:`NamedTuple` .. py:attribute:: page :type: onegov.org.elements.Link .. py:attribute:: links :type: collections.abc.Sequence[onegov.org.elements.Link] .. py:attribute:: number :type: int .. py:method:: get_tiles(layout: onegov.org.layout.DefaultLayout) -> collections.abc.Iterator[Tile] .. py:class:: HrWidget .. py:attribute:: template :value: Multiline-String .. raw:: html
Show Value .. code-block:: python """
""" .. raw:: html
.. py:class:: SliderWidget .. py:attribute:: template :value: Multiline-String .. raw:: html
Show Value .. code-block:: python """
""" .. raw:: html
.. py:method:: get_images_from_sets(layout: onegov.org.layout.DefaultLayout) -> collections.abc.Iterator[onegov.core.types.RenderData] .. py:method:: get_variables(layout: onegov.org.layout.DefaultLayout) -> onegov.core.types.RenderData