forked from bigskysoftware/htmx
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
removed undesired comments. we are only documenting public API testing bump optional optionals done removed two junk files moved dependency to dev dependency
- Loading branch information
1 parent
9837c96
commit cdd5c9e
Showing
6 changed files
with
63 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"compilerOptions": { | ||
"target": "es5", | ||
"noEmit": true, | ||
"checkJs": true, | ||
"jsx": "react", | ||
"strict": false, | ||
"lib": [ "dom" ] | ||
}, | ||
"include": [ | ||
"./src/htmx.js" | ||
], | ||
"verbose": true | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
export interface HtmxApi { | ||
config?: HtmxConfig | ||
logger?: (a: HTMLElement, b: Event, c: any) => void | null | ||
} | ||
|
||
export interface HtmxConfig { | ||
historyEnabled?: boolean; | ||
historyCacheSize?: number; | ||
refreshOnHistoryMiss?: boolean; | ||
defaultSwapStyle?: 'innerHTML' | string; | ||
defaultSwapDelay?: number; | ||
defaultSettleDelay?: number; | ||
includeIndicatorStyles?: boolean; | ||
indicatorClass?: 'htmx-indicator' | string; | ||
requestClass?: 'htmx-request' | string; | ||
settlingClass?: 'htmx-settling' | string; | ||
swappingClass?: 'htmx-swapping' | string; | ||
allowEval?: boolean; | ||
attributesToSettle?: ["class", "style", "width", "height"] | string[]; | ||
withCredentials?: boolean; | ||
wsReconnectDelay?: 'full-jitter' | string; | ||
disableSelector?: "[hx-disable], [data-hx-disable]" | string; | ||
useTemplateFragments?: boolean; | ||
} | ||
|
||
export declare var htmx: HtmxApi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.