@JsType(namespace="hal.core") public class Extension extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Extension.Point |
| Modifier and Type | Method and Description |
|---|---|
static Extension |
footer(String name,
String title,
JsCallback entryPoint)
Creates a footer extension.
|
static Extension |
header(String name,
String title,
JsCallback entryPoint)
Creates a header extension.
|
@JsMethod public static Extension header(String name, String title, JsCallback entryPoint)
name - A unique name of the extension.title - The title of the menu item in the header.entryPoint - The entrypoint of the header extension.ExtensionRegistry.@JsMethod public static Extension footer(String name, String title, JsCallback entryPoint)
name - A unique name of the extension.title - The title of the menu item in the footer.entryPoint - The entrypoint of the footer extension.ExtensionRegistry.Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.