mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Documentation
This commit is contained in:
parent
64caf62835
commit
1cd1a056f8
File diff suppressed because one or more lines are too long
@ -149,7 +149,7 @@ export function setupComponents(
|
||||
*
|
||||
* @param name - Component name
|
||||
*
|
||||
* @return Element observable
|
||||
* @return Component observable
|
||||
*/
|
||||
export function useComponent<T extends HTMLInputElement>(
|
||||
name: "search-query"
|
||||
|
@ -49,6 +49,13 @@ export interface SearchQuery {
|
||||
focus: boolean /* Query focus */
|
||||
}
|
||||
|
||||
/* ------------------------------------------------------------------------- */
|
||||
|
||||
/**
|
||||
* Search query transform
|
||||
*/
|
||||
export type SearchQueryTransform = (value: string) => string
|
||||
|
||||
/* ----------------------------------------------------------------------------
|
||||
* Helper types
|
||||
* ------------------------------------------------------------------------- */
|
||||
|
Loading…
Reference in New Issue
Block a user