Tilde Friends
TfNavigationElement Class Reference
Inheritance diagram for TfNavigationElement:
Collaboration diagram for TfNavigationElement:

Public Member Functions

 constructor ()
 
 toggle_edit (event)
 
 reset_permission (key)
 
 get_spark_line (key, options)
 
 set_active_identity (id)
 
 create_identity ()
 
 toggle_id_dropdown ()
 
 edit_profile ()
 
 logout ()
 
 render_identity ()
 
 render_permissions ()
 
 clear_error ()
 
 render ()
 

Static Public Member Functions

static get properties ()
 

Detailed Description

Class that represents the top bar

Member Function Documentation

◆ clear_error()

TfNavigationElement::clear_error ( )
inline

Clear the current error.

◆ constructor()

TfNavigationElement::constructor ( )
inline

Create a TfNavigationElement instance.

◆ create_identity()

TfNavigationElement::create_identity ( )
inline

Create a new SSB identity.

◆ edit_profile()

TfNavigationElement::edit_profile ( )
inline

Edit the current identity's SSB profile.

◆ get_spark_line()

TfNavigationElement::get_spark_line (   key,
  options 
)
inline

Get or create a spark line.

Parameters
keyThe spark line identifier.
optionsSpark line options.
Returns
A spark line HTML element.

◆ logout()

TfNavigationElement::logout ( )
inline

Sign out of the current Tilde Friends user.

◆ properties()

static get TfNavigationElement::properties ( )
inlinestatic

Get Lit Html properties.

Returns
The properties.

◆ render()

TfNavigationElement::render ( )
inline

Render the navigation bar.

Returns
Lit HTML.

◆ render_identity()

TfNavigationElement::render_identity ( )
inline

Render the identity dropdown.

Returns
Lit HTML.

◆ render_permissions()

TfNavigationElement::render_permissions ( )
inline

Render the permissions popup.

Returns
Lit HTML.

◆ reset_permission()

TfNavigationElement::reset_permission (   key)
inline

Remove a stored permission.

Parameters
keyThe permission to reset.

◆ set_active_identity()

TfNavigationElement::set_active_identity (   id)
inline

Set the active SSB identity for the current application.

Parameters
idThe identity.

◆ toggle_edit()

TfNavigationElement::toggle_edit (   event)
inline

Toggle editor visibility.

Parameters
eventThe HTML event.

◆ toggle_id_dropdown()

TfNavigationElement::toggle_id_dropdown ( )
inline

Toggle visibility of the ID dropdown.


The documentation for this class was generated from the following file: