use_query_params

Type members

Classlikes

@JSType
trait Param extends Object
@native @JSType
trait QueryParamContextValue extends Object
@native @JSType
abstract
trait UrlUpdateType extends Any
Companion
object
Companion
class
@native @JSImport("use-query-params") @JSType
object module extends module_Params with module_hooks
@native @JSType
trait module_Params extends Object

Types

type QueryConfig = Dictionary[Param]

Value members

Concrete methods

def useQueryParam[T](name: String, encoder: Param): (UndefOr[T], Function2[T, UndefOr[UrlUpdateType], Unit])
def useQueryParams(name: String, encoders: QueryConfig): (String, Function2[Dictionary[Any], UrlUpdateType, Unit])