Home Manual Reference Source Test Demo
public class | source

StorageAppController

Controller for the application

Constructor Summary

Public Constructor
public

Set up the app, generate html and set up event handlers

Member Summary

Public Members
public
public

Method Summary

Public Methods
public

clearValue(): void

Clear the value input element of text

public

save(): void

saves the value at the provided key

public

retrieves a value using the provided key

Public Constructors

public constructor() source

Set up the app, generate html and set up event handlers

Public Members

public keyInput: * source

public valInput: * source

Public Methods

public clearValue(): void source

Clear the value input element of text

Return:

void

public save(): void source

saves the value at the provided key

Return:

void

public view(): String source

retrieves a value using the provided key

Return:

String

value retrieved from local storage with key