Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func QueryParamsFromJsJSONValue ¶
func QueryParamsFromJsJSONValue(jsvalue js.Value) ajax.QueryParams
QueryParamsFromJsJSONValue converts a JS JSON into a Go queryParams.
Types ¶
type Bootstraptable ¶
func NewBootstraptable ¶
func NewBootstraptable(jq jquery.Jquery, params *BootstraptableParams) Bootstraptable
func (Bootstraptable) Refresh ¶
func (bt Bootstraptable) Refresh(params *BootstraptableRefreshQuery)
func (Bootstraptable) ResetSearch ¶
func (bt Bootstraptable) ResetSearch(search string)
func (Bootstraptable) TotalRows ¶
func (bt Bootstraptable) TotalRows() int
type BootstraptableParams ¶
type BootstraptableParams struct { Ajax string `json:"ajax"` // name of the Ajax function to call. FormatLoadingMessage interface{} `json:"formatLoadingMessage,omitempty"` }
func (BootstraptableParams) ToJsValue ¶
func (p BootstraptableParams) ToJsValue() js.Value
ToJsValue converts a Go BootstraptableParams into a JS JSON.
type BootstraptableRefreshQuery ¶
type BootstraptableRefreshQuery struct { // Query map[string]string `json:"query"` Query ajax.QueryFilter `json:"query"` }
func (BootstraptableRefreshQuery) ToJsValue ¶
func (p BootstraptableRefreshQuery) ToJsValue() js.Value
ToJsValue converts a Go BootstraptableRefreshQuery into a JS JSON.
Click to show internal directories.
Click to hide internal directories.