Closure Library API Documentation
Go to class or file:
helloworlddialog.js
No description.
Useful links
Source Code
Git
File Location
/goog/demos/editor/helloworlddialog.js
Classes
goog.demos.editor.HelloWorldDialog
Creates a dialog to let the user enter a customized hello world message.
goog.demos.editor.HelloWorldDialog.OkEvent
OK event object for the hello world dialog.
Public
Protected
Private
Global Functions
goog.demos.editor.HelloWorldDialog.
isValidHelloWorld_
(
message
)
⇒
boolean
Returns whether or not the given message contains the strings "hello" and "world". Case-insensitive and order doesn't matter.
Arguments:
message
:
string
The message to be checked.
Returns:
boolean
Whether or not the given message contains the strings "hello" and "world".
code »
Directory editor
File Reference