Documentation ¶
Index ¶
- Variables
- func AddClass(ws *WebSocket, target, class string) error
- func Alert(ws *WebSocket, message string) error
- func Append(ws *WebSocket, target, content string) error
- func BlockUI(ws *WebSocket)
- func Disable(ws *WebSocket, target string) error
- func Enable(ws *WebSocket, target string) error
- func Exec(ws *WebSocket, js string) error
- func Get(ws *WebSocket, target string) (string, error)
- func HTML(ws *WebSocket, target, content string) error
- func Hide(ws *WebSocket, target string, duration string) error
- func Prepend(ws *WebSocket, target, content string) error
- func Redirect(ws *WebSocket, url string) error
- func Remove(ws *WebSocket, target string) error
- func RemoveClass(ws *WebSocket, target, class string) error
- func Replace(ws *WebSocket, target, content string) error
- func SendEvent(ws *WebSocket, event string) error
- func Set(ws *WebSocket, target, value string) error
- func Show(ws *WebSocket, target string, duration string) error
- func UnblockUI(ws *WebSocket)
- func Wire(ws *WebSocket, target, event, act string) error
- type WebSocket
Constants ¶
This section is empty.
Variables ¶
View Source
var (
//BlockMessage is the message showed in waiting time
BlockMessage = "<h2>Please, wait...</h2>"
)
Functions ¶
func RemoveClass ¶ added in v0.1.3
RemoveClass add a class for an element
Types ¶
Click to show internal directories.
Click to hide internal directories.