Members
-
dispatcher :NexusHoratio.base.Dispatcher
-
Details
-
id :string
-
Details
-
logger :NexusHoratio.base.Logger
-
Details
-
name :string
-
Details
-
pathname :RegExp
-
Details
-
spa :NexusHoratio.spa.SPA
-
Details
-
ctor :module:linkedin-tool~Page
-
Description
Alias for
this.constructor.Details
-
scrollerClassName :string
-
Description
Useful default for CSS class name.
Details
-
jobs :Scroller
-
Details
-
sections :Scroller
-
Details
Methods
-
addService( Klass, ...rest ) → {NexusHoratio.base.Service}
-
Description
Register a new
NexusHoratio.base.Service.Parameters
Name Type Attributes Description Klassfunction A service class to instantiate. If this is a
Page.Servicesubclass, thepageproperty is also set.restobject <repeatable> Arbitrary objects to pass to constructor.
Returns
Details
-
<private> computePathnameRE( pathname ) → {RegExp}
-
Description
Turn a path into a RegExp.
Parameters
Name Type Description pathnamestring | RegExp A path to convert.
Returns
Details
-
<private> waitUntilReady() → {external:Element}
-
Description
Wait until the page has loaded enough to continue.
Returns
Details
-
cssClassName( extras ) → {string}
-
Description
Derive a CSS className from the name of the subclass.
Parameters
Name Type Description extrasArray.<string> Extract strings to add to the class name.
Returns
Details
-
elementsHeightProcessor( elements ) → {NexusHoratio.web.StyleService~StyleProperties}
-
Description
A useful processor for many LIT pages.
It just sums up height of the matched elements to set a top margin.
Parameters
Name Type Description elementsNexusHoratio.web.StyleService~ElementMap Elements to examine.
Returns
Details
-
<private> scrollerFinder() → {NexusHoratio.web.StyleService~ElementMap}
-
Returns
Details
-
<private> scrollerElementsProcessor( elements ) → {NexusHoratio.web.StyleService~StyleProperties}
-
Parameters
Name Type Description elementsNexusHoratio.web.StyleService~ElementMap Elements to examine.
Returns
Details
-
<private> uniqueJobIdentifier( scroller, element ) → {string}
-
Parameters
Name Type Description scrollerScroller The calling
Scrollerinstance.elementexternal:Element Element to examine.
Returns
Details
-
<private> uniqueSectionIdentifier( scroller, element ) → {string}
-
Parameters
Name Type Description scrollerScroller The calling
Scrollerinstance.elementexternal:Element Element to examine.
Returns
Details
-
<private> returnToSection()
-
Description
Reselects current section, triggering some actions as initial selection.
Details
-
<private> onSectionChange()
-
Description
Updates
Jobsspecific watcher data and removes the jobsScroller.Details
-
<private> resetScroll( topScroll )
-
Description
Recover scroll position after elements were recreated.
Parameters
Name Type Description topScrollnumber Where to scroll to.
Details
Events
-
activate
-
Details
-
deactivate
-
Details