mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-04 15:09:16 +02:00
Lint
This commit is contained in:
parent
f09089cf77
commit
7c7c554ee7
84 changed files with 13879 additions and 14510 deletions
43
types/themes.d.ts
vendored
43
types/themes.d.ts
vendored
|
@ -1,40 +1,23 @@
|
|||
import Rendition from "./rendition";
|
||||
import Contents from "./contents";
|
||||
import Rendition from "./rendition";
|
||||
|
||||
export default class Themes {
|
||||
constructor(rendition: Rendition);
|
||||
|
||||
register( themeObject: object ): void;
|
||||
|
||||
register( theme: string, url: string ): void;
|
||||
|
||||
register( theme: string, themeObject: object ): void;
|
||||
|
||||
default( theme: object | string ): void;
|
||||
|
||||
registerThemes( themes: object ): void;
|
||||
|
||||
registerCss( name: string, css: string ): void;
|
||||
|
||||
registerUrl( name: string, input: string ): void;
|
||||
|
||||
registerRules( name: string, rules: object ): void;
|
||||
|
||||
select( name: string ): void;
|
||||
|
||||
update( name: string ): void;
|
||||
|
||||
inject( content: Contents ): void;
|
||||
|
||||
add( name: string, contents: Contents ): void;
|
||||
|
||||
register(themeObject: object): void;
|
||||
register(theme: string, url: string): void;
|
||||
register(theme: string, themeObject: object): void;
|
||||
default(theme: object | string): void;
|
||||
registerThemes(themes: object): void;
|
||||
registerCss(name: string, css: string): void;
|
||||
registerUrl(name: string, input: string): void;
|
||||
registerRules(name: string, rules: object): void;
|
||||
select(name: string): void;
|
||||
update(name: string): void;
|
||||
inject(content: Contents): void;
|
||||
add(name: string, contents: Contents): void;
|
||||
override(name: string, value: string, priority?: boolean): void;
|
||||
|
||||
overrides(contents: Contents): void;
|
||||
|
||||
fontSize(size: string): void;
|
||||
|
||||
font(f: string): void;
|
||||
|
||||
destroy(): void;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue