Module: alfresco/logo/Logo

alfresco/logo/Logo

Extends the alfresco/html/Image widget to provide backwards compatibility (the recommendation would be to use the Image widget instead now), and also adds custom CSS that makes this directly applicable to dropping into Share.

Author:
  • Dave Draper
  • Martin Doyle
License:
Source:

Members

altText :string

Some alt text for the logo image.
Type:
  • string
Default Value:
  • "logo.alt.text"
Source:

classes :string

The CSS class or classes to use to generate the logo
Type:
  • string
Default Value:
  • "alfresco-logo-large"
Source:

cssRequirements :object[]

An array of the CSS files to use with this widget.
Type:
  • object[]
Default Value:
  • [{cssFile:"./css/Logo.css"}]
Source:

i18nRequirements :object[]

An array of the i18n files to use with this widget.
Type:
  • object[]
Default Value:
  • [{i18nFile: "./i18n/Logo.properties"}]
Source:

isBlockElem :boolean

Overrides the inherited property to retain the default block-level styling of the Logo widget.
Type:
  • boolean
Default Value:
  • true
Source:

logoClasses :string

The CSS class or classes to use to generate the logo (while this property exists, it takes priority over the classes property)
Type:
  • string
Deprecated:
Default Value:
  • null
Source:

logoSrc :string

The logo src (while this property exists, it takes priority over the src property)
Type:
  • string
Deprecated:
  • since 1.0.41 Use src instead
    Default Value:
    • null
    Source:

    src :string

    The logo src
    Type:
    • string
    Default Value:
    • null
    Source:

    srcType :string

    Override the inherited value because logo src has historically been the full path.
    Type:
    • string
    Default Value:
    Source:

    Methods

    postCreate()

    Called after widget created (but child widgets may not have been).
    Since:
    • 1.0.41
    Source:

    postMixInProperties()

    Called after properties have been mixed into this instance.
    Since:
    • 1.0.41
    Source: