webkit

package
v0.19.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 11, 2026 License: MIT Imports: 17 Imported by: 0

Documentation

Rendered for darwin/amd64

Overview

Package webkit provides a fluent Go API over the macOS WebKit framework.

Construction

New… functions create objects; each With… method sets one property and returns its receiver, so configuration calls chain. A <Type>FromID constructor adopts an Objective-C object obtained elsewhere.

Lifecycle

A wrapper releases its Objective-C object automatically once the garbage collector finds it unreachable. Call Release to relinquish the reference deterministically (for objects holding scarce resources); Release is idempotent, and afterwards the wrapper's methods are no-ops returning zero values.

Errors

Failing calls return errors carrying the Objective-C error domain and code. Match them against this package's Err… sentinel values with errors.Is, or inspect domain, code, and Apple's prose via errors.As with *errkit.Error.

Main-thread requirements

Methods, setters, and constructors of classes Apple isolates to the main thread run there automatically; callers never need to arrange main-thread dispatch for the generated API.

Delegates

A …Delegate interface is implemented by a plain Go value and installed with the matching With… setter; the package builds the Objective-C delegate object behind the scenes. Optional protocol methods are separate one-method …Handler interfaces — implement the ones you need on the same value and the framework calls them too.

Types

Each base type below lists the concrete types you construct and pass where the base is accepted:

Index

Constants

View Source
const (
	DOM_ADDITION                                  = 2
	DOM_ALLOW_KEYBOARD_INPUT                      = 1
	DOM_ANY_TYPE                                  = 0
	DOM_ANY_UNORDERED_NODE_TYPE                   = 8
	DOM_ATTRIBUTE_NODE                            = 2
	DOM_AT_TARGET                                 = 2
	DOM_BOOLEAN_TYPE                              = 3
	DOM_BOTH                                      = 2
	DOM_BUBBLING_PHASE                            = 3
	DOM_CAPTURING_PHASE                           = 1
	DOM_CDATA_SECTION_NODE                        = 4
	DOM_CHARSET_RULE                              = 2
	DOM_COMMENT_NODE                              = 8
	DOM_CSS_ATTR                                  = 22
	DOM_CSS_CM                                    = 6
	DOM_CSS_COUNTER                               = 23
	DOM_CSS_CUSTOM                                = 3
	DOM_CSS_DEG                                   = 11
	DOM_CSS_DIMENSION                             = 18
	DOM_CSS_EMS                                   = 3
	DOM_CSS_EXS                                   = 4
	DOM_CSS_GRAD                                  = 13
	DOM_CSS_HZ                                    = 16
	DOM_CSS_IDENT                                 = 21
	DOM_CSS_IN                                    = 8
	DOM_CSS_INHERIT                               = 0
	DOM_CSS_KHZ                                   = 17
	DOM_CSS_MM                                    = 7
	DOM_CSS_MS                                    = 14
	DOM_CSS_NUMBER                                = 1
	DOM_CSS_PC                                    = 10
	DOM_CSS_PERCENTAGE                            = 2
	DOM_CSS_PRIMITIVE_VALUE                       = 1
	DOM_CSS_PT                                    = 9
	DOM_CSS_PX                                    = 5
	DOM_CSS_RAD                                   = 12
	DOM_CSS_RECT                                  = 24
	DOM_CSS_RGBCOLOR                              = 25
	DOM_CSS_S                                     = 15
	DOM_CSS_STRING                                = 19
	DOM_CSS_UNKNOWN                               = 0
	DOM_CSS_URI                                   = 20
	DOM_CSS_VALUE_LIST                            = 2
	DOM_CSS_VH                                    = 27
	DOM_CSS_VMAX                                  = 29
	DOM_CSS_VMIN                                  = 28
	DOM_CSS_VW                                    = 26
	DOM_DOCUMENT_FRAGMENT_NODE                    = 11
	DOM_DOCUMENT_NODE                             = 9
	DOM_DOCUMENT_POSITION_CONTAINED_BY            = 16
	DOM_DOCUMENT_POSITION_CONTAINS                = 8
	DOM_DOCUMENT_POSITION_DISCONNECTED            = 1
	DOM_DOCUMENT_POSITION_FOLLOWING               = 4
	DOM_DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 32
	DOM_DOCUMENT_POSITION_PRECEDING               = 2
	DOM_DOCUMENT_TYPE_NODE                        = 10
	DOM_DOM_DELTA_LINE                            = 1
	DOM_DOM_DELTA_PAGE                            = 2
	DOM_DOM_DELTA_PIXEL                           = 0
	DOM_ELEMENT_NODE                              = 1
	DOM_END_TO_END                                = 2
	DOM_END_TO_START                              = 3
	DOM_ENTITY_NODE                               = 6
	DOM_ENTITY_REFERENCE_NODE                     = 5
	DOM_FILTER_ACCEPT                             = 1
	DOM_FILTER_REJECT                             = 2
	DOM_FILTER_SKIP                               = 3
	DOM_FIRST_ORDERED_NODE_TYPE                   = 9
	DOM_FONT_FACE_RULE                            = 5
	DOM_HORIZONTAL                                = 0
	DOM_IMPORT_RULE                               = 3
	DOM_KEYFRAMES_RULE                            = 7
	DOM_KEYFRAME_RULE                             = 8
	DOM_KEY_LOCATION_LEFT                         = 1
	DOM_KEY_LOCATION_NUMPAD                       = 3
	DOM_KEY_LOCATION_RIGHT                        = 2
	DOM_KEY_LOCATION_STANDARD                     = 0
	DOM_MEDIA_RULE                                = 4
	DOM_MODIFICATION                              = 1
	DOM_NAMESPACE_RULE                            = 10
	DOM_NODE_AFTER                                = 1
	DOM_NODE_BEFORE                               = 0
	DOM_NODE_BEFORE_AND_AFTER                     = 2
	DOM_NODE_INSIDE                               = 3
	DOM_NONE                                      = 0
	DOM_NOTATION_NODE                             = 12
	DOM_NUMBER_TYPE                               = 1
	DOM_ORDERED_NODE_ITERATOR_TYPE                = 5
	DOM_ORDERED_NODE_SNAPSHOT_TYPE                = 7
	DOM_PAGE_RULE                                 = 6
	DOM_PROCESSING_INSTRUCTION_NODE               = 7
	DOM_REMOVAL                                   = 3
	DOM_SHOW_ALL                                  = 4294967295
	DOM_SHOW_ATTRIBUTE                            = 2
	DOM_SHOW_CDATA_SECTION                        = 8
	DOM_SHOW_COMMENT                              = 128
	DOM_SHOW_DOCUMENT                             = 256
	DOM_SHOW_DOCUMENT_FRAGMENT                    = 1024
	DOM_SHOW_DOCUMENT_TYPE                        = 512
	DOM_SHOW_ELEMENT                              = 1
	DOM_SHOW_ENTITY                               = 32
	DOM_SHOW_ENTITY_REFERENCE                     = 16
	DOM_SHOW_NOTATION                             = 2048
	DOM_SHOW_PROCESSING_INSTRUCTION               = 64
	DOM_SHOW_TEXT                                 = 4
	DOM_START_TO_END                              = 1
	DOM_START_TO_START                            = 0
	DOM_STRING_TYPE                               = 2
	DOM_STYLE_RULE                                = 1
	DOM_SUPPORTS_RULE                             = 12
	DOM_TEXT_NODE                                 = 3
	DOM_UNKNOWN_RULE                              = 0
	DOM_UNORDERED_NODE_ITERATOR_TYPE              = 4
	DOM_UNORDERED_NODE_SNAPSHOT_TYPE              = 6
	DOM_VERTICAL                                  = 1
	DOM_WEBKIT_KEYFRAMES_RULE                     = 7
	DOM_WEBKIT_KEYFRAME_RULE                      = 8
	DOM_WEBKIT_REGION_RULE                        = 16
	WebKitErrorBlockedPlugInVersion               = 203
	WebKitErrorCannotFindPlugIn                   = 200
	WebKitErrorCannotLoadPlugIn                   = 201
	WebKitErrorCannotShowMIMEType                 = 100
	WebKitErrorCannotShowURL                      = 101
	WebKitErrorFrameLoadInterruptedByPolicyChange = 102
	WebKitErrorJavaUnavailable                    = 202
	WebMenuItemPDFActualSize                      = 24
	WebMenuItemPDFAutoSize                        = 27
	WebMenuItemPDFContinuous                      = 30
	WebMenuItemPDFFacingPages                     = 29
	WebMenuItemPDFNextPage                        = 31
	WebMenuItemPDFPreviousPage                    = 32
	WebMenuItemPDFSinglePage                      = 28
	WebMenuItemPDFZoomIn                          = 25
	WebMenuItemPDFZoomOut                         = 26
	WebMenuItemTagCopy                            = 8
	WebMenuItemTagCopyImageToClipboard            = 6
	WebMenuItemTagCopyLinkToClipboard             = 3
	WebMenuItemTagCut                             = 13
	WebMenuItemTagDownloadImageToDisk             = 5
	WebMenuItemTagDownloadLinkToDisk              = 2
	WebMenuItemTagGoBack                          = 9
	WebMenuItemTagGoForward                       = 10
	WebMenuItemTagIgnoreSpelling                  = 17
	WebMenuItemTagLearnSpelling                   = 18
	WebMenuItemTagLookUpInDictionary              = 22
	WebMenuItemTagNoGuessesFound                  = 16
	WebMenuItemTagOpenFrameInNewWindow            = 7
	WebMenuItemTagOpenImageInNewWindow            = 4
	WebMenuItemTagOpenLinkInNewWindow             = 1
	WebMenuItemTagOpenWithDefaultApplication      = 23
	WebMenuItemTagOther                           = 19
	WebMenuItemTagPaste                           = 14
	WebMenuItemTagReload                          = 12
	WebMenuItemTagSearchInSpotlight               = 20
	WebMenuItemTagSearchWeb                       = 21
	WebMenuItemTagSpellingGuess                   = 15
	WebMenuItemTagStop                            = 11
)

Variables

View Source
var ErrAttributedStringContentFailedToLoad = errkit.New("WKErrorDomain", 10)

ErrAttributedStringContentFailedToLoad matches the WebKit error WKErrorAttributedStringContentFailedToLoad.

View Source
var ErrAttributedStringContentLoadTimedOut = errkit.New("WKErrorDomain", 11)

ErrAttributedStringContentLoadTimedOut matches the WebKit error WKErrorAttributedStringContentLoadTimedOut.

View Source
var ErrContentRuleListStoreCompileFailed = errkit.New("WKErrorDomain", 6)

ErrContentRuleListStoreCompileFailed matches the WebKit error WKErrorContentRuleListStoreCompileFailed.

View Source
var ErrContentRuleListStoreLookUpFailed = errkit.New("WKErrorDomain", 7)

ErrContentRuleListStoreLookUpFailed matches the WebKit error WKErrorContentRuleListStoreLookUpFailed.

View Source
var ErrContentRuleListStoreRemoveFailed = errkit.New("WKErrorDomain", 8)

ErrContentRuleListStoreRemoveFailed matches the WebKit error WKErrorContentRuleListStoreRemoveFailed.

View Source
var ErrContentRuleListStoreVersionMismatch = errkit.New("WKErrorDomain", 9)

ErrContentRuleListStoreVersionMismatch matches the WebKit error WKErrorContentRuleListStoreVersionMismatch.

View Source
var ErrCredentialNotFound = errkit.New("WKErrorDomain", 17)

ErrCredentialNotFound matches the WebKit error WKErrorCredentialNotFound.

View Source
var ErrDuplicateCredential = errkit.New("WKErrorDomain", 15)

ErrDuplicateCredential matches the WebKit error WKErrorDuplicateCredential.

View Source
var ErrJavaScriptAppBoundDomain = errkit.New("WKErrorDomain", 14)

ErrJavaScriptAppBoundDomain matches the WebKit error WKErrorJavaScriptAppBoundDomain.

View Source
var ErrJavaScriptExceptionOccurred = errkit.New("WKErrorDomain", 4)

ErrJavaScriptExceptionOccurred matches the WebKit error WKErrorJavaScriptExceptionOccurred.

View Source
var ErrJavaScriptInvalidFrameTarget = errkit.New("WKErrorDomain", 12)

ErrJavaScriptInvalidFrameTarget matches the WebKit error WKErrorJavaScriptInvalidFrameTarget.

View Source
var ErrJavaScriptResultTypeIsUnsupported = errkit.New("WKErrorDomain", 5)

ErrJavaScriptResultTypeIsUnsupported matches the WebKit error WKErrorJavaScriptResultTypeIsUnsupported.

View Source
var ErrMalformedCredential = errkit.New("WKErrorDomain", 16)

ErrMalformedCredential matches the WebKit error WKErrorMalformedCredential.

View Source
var ErrNavigationAppBoundDomain = errkit.New("WKErrorDomain", 13)

ErrNavigationAppBoundDomain matches the WebKit error WKErrorNavigationAppBoundDomain.

View Source
var ErrUnknown = errkit.New("WKErrorDomain", 1)

ErrUnknown matches the WebKit error WKErrorUnknown.

View Source
var ErrWebContentProcessTerminated = errkit.New("WKErrorDomain", 2)

ErrWebContentProcessTerminated matches the WebKit error WKErrorWebContentProcessTerminated.

View Source
var ErrWebViewInvalidated = errkit.New("WKErrorDomain", 3)

ErrWebViewInvalidated matches the WebKit error WKErrorWebViewInvalidated.

Functions

func AllExtensionDataTypes added in v0.17.0

func AllExtensionDataTypes() []*foundation.String

AllExtensionDataTypes returns a set of all available extension data types.

func AllWebsiteDataTypes added in v0.17.0

func AllWebsiteDataTypes() []string

AllWebsiteDataTypes returns the set of all the available data types.

func CanShowMIMEType added in v0.17.0

func CanShowMIMEType(mimeType string) bool

CanShowMIMEType checks if the WebKit can show content of a certain MIME type.

func CanShowMIMETypeAsHTML added in v0.17.0

func CanShowMIMETypeAsHTML(mimeType string) bool

CanShowMIMETypeAsHTML checks if the MIME type is a type that the WebKit will interpret as HTML.

func DOMEventException

func DOMEventException() obj.Object

DOMEventException returns the string constant DOMEventException, for use as a dictionary key or argument.

func DOMException

func DOMException() obj.Object

DOMException returns the string constant DOMException, for use as a dictionary key or argument.

func DOMRangeException

func DOMRangeException() obj.Object

DOMRangeException returns the string constant DOMRangeException, for use as a dictionary key or argument.

func DOMXPathException

func DOMXPathException() obj.Object

DOMXPathException returns the string constant DOMXPathException, for use as a dictionary key or argument.

func FetchAllDataStoreIdentifiers added in v0.17.0

func FetchAllDataStoreIdentifiers(completionHandler func(obj.Object))

FetchAllDataStoreIdentifiers fetches an array of identifiers from existing data stores that have identifiers.

func HandlesURLScheme added in v0.17.0

func HandlesURLScheme(urlScheme string) bool

HandlesURLScheme returns a Boolean value that indicates whether WebKit natively supports resources with the specified URL scheme.

func MIMETypesShownAsHTML added in v0.17.0

func MIMETypesShownAsHTML() obj.Object

MIMETypesShownAsHTML returns the mime types shown as HTML.

func NSReadAccessURLDocumentOption

func NSReadAccessURLDocumentOption() uintptr

NSReadAccessURLDocumentOption returns the address of the symbol NSReadAccessURLDocumentOption.

func RegisterCustomURLScheme added in v0.17.0

func RegisterCustomURLScheme(urlScheme string)

RegisterCustomURLScheme registers a custom URL scheme that can be used in match patterns. This method should be used to register any custom URL schemes used by the app for the extension base URLs, other than `webkit-extension`, or if extensions should have access to other supported URL schemes when using `<all_urls>`.

func RegisterURLSchemeAsLocal added in v0.17.0

func RegisterURLSchemeAsLocal(scheme string)

RegisterURLSchemeAsLocal adds the scheme to the list of schemes to be treated as local.

func RemoveDataStoreForIdentifierCompletionHandler added in v0.18.0

func RemoveDataStoreForIdentifierCompletionHandler(identifier obj.Object, completionHandler func(unsafe.Pointer))

RemoveDataStoreForIdentifierCompletionHandler removes the data store that matches the identifier you provide.

func SetMIMETypesShownAsHTML added in v0.17.0

func SetMIMETypesShownAsHTML(mimeTypes obj.Object)

SetMIMETypesShownAsHTML sets the array of NSString MIME types that WebKit will attempt to render as HTML. Typically you will retrieve the built-in array using MIMETypesShownAsHTML and add additional MIME types to that array.

func SetOptionalSharedHistory added in v0.17.0

func SetOptionalSharedHistory(history *WebHistory)

SetOptionalSharedHistory sets the web history object to share.

func ThrowException added in v0.17.0

func ThrowException(exceptionMessage string) bool

ThrowException raises an exception in the current script execution context.

func URLFromPasteboard added in v0.17.0

func URLFromPasteboard(pasteboard obj.Object) string

URLFromPasteboard returns a URL from a pasteboard This method differs than NSURL's URLFromPasteboard method in that it tries multiple pasteboard types including NSURLPboardType to find a URL on the pasteboard.

func URLTitleFromPasteboard added in v0.17.0

func URLTitleFromPasteboard(pasteboard obj.Object) string

URLTitleFromPasteboard returns a URL title from a pasteboard This method returns a title that refers a URL on the pasteboard. An example of this is the link label which is the text inside the anchor tag.

func WKErrorDomain

func WKErrorDomain() obj.Object

WKErrorDomain returns the string constant WKErrorDomain, for use as a dictionary key or argument.

func WKWebExtensionContextDeniedPermissionMatchPatternsWereRemovedNotification

func WKWebExtensionContextDeniedPermissionMatchPatternsWereRemovedNotification() uintptr

WKWebExtensionContextDeniedPermissionMatchPatternsWereRemovedNotification returns the address of the symbol WKWebExtensionContextDeniedPermissionMatchPatternsWereRemovedNotification.

func WKWebExtensionContextDeniedPermissionsWereRemovedNotification

func WKWebExtensionContextDeniedPermissionsWereRemovedNotification() uintptr

WKWebExtensionContextDeniedPermissionsWereRemovedNotification returns the address of the symbol WKWebExtensionContextDeniedPermissionsWereRemovedNotification.

func WKWebExtensionContextErrorDomain

func WKWebExtensionContextErrorDomain() uintptr

WKWebExtensionContextErrorDomain returns the address of the symbol WKWebExtensionContextErrorDomain.

func WKWebExtensionContextErrorsDidUpdateNotification

func WKWebExtensionContextErrorsDidUpdateNotification() uintptr

WKWebExtensionContextErrorsDidUpdateNotification returns the address of the symbol WKWebExtensionContextErrorsDidUpdateNotification.

func WKWebExtensionContextGrantedPermissionMatchPatternsWereRemovedNotification

func WKWebExtensionContextGrantedPermissionMatchPatternsWereRemovedNotification() uintptr

WKWebExtensionContextGrantedPermissionMatchPatternsWereRemovedNotification returns the address of the symbol WKWebExtensionContextGrantedPermissionMatchPatternsWereRemovedNotification.

func WKWebExtensionContextGrantedPermissionsWereRemovedNotification

func WKWebExtensionContextGrantedPermissionsWereRemovedNotification() uintptr

WKWebExtensionContextGrantedPermissionsWereRemovedNotification returns the address of the symbol WKWebExtensionContextGrantedPermissionsWereRemovedNotification.

func WKWebExtensionContextNotificationUserInfoKeyMatchPatterns

func WKWebExtensionContextNotificationUserInfoKeyMatchPatterns() obj.Object

WKWebExtensionContextNotificationUserInfoKeyMatchPatterns returns the string constant WKWebExtensionContextNotificationUserInfoKeyMatchPatterns, for use as a dictionary key or argument.

func WKWebExtensionContextNotificationUserInfoKeyPermissions

func WKWebExtensionContextNotificationUserInfoKeyPermissions() obj.Object

WKWebExtensionContextNotificationUserInfoKeyPermissions returns the string constant WKWebExtensionContextNotificationUserInfoKeyPermissions, for use as a dictionary key or argument.

func WKWebExtensionContextPermissionMatchPatternsWereDeniedNotification

func WKWebExtensionContextPermissionMatchPatternsWereDeniedNotification() uintptr

WKWebExtensionContextPermissionMatchPatternsWereDeniedNotification returns the address of the symbol WKWebExtensionContextPermissionMatchPatternsWereDeniedNotification.

func WKWebExtensionContextPermissionMatchPatternsWereGrantedNotification

func WKWebExtensionContextPermissionMatchPatternsWereGrantedNotification() uintptr

WKWebExtensionContextPermissionMatchPatternsWereGrantedNotification returns the address of the symbol WKWebExtensionContextPermissionMatchPatternsWereGrantedNotification.

func WKWebExtensionContextPermissionsWereDeniedNotification

func WKWebExtensionContextPermissionsWereDeniedNotification() uintptr

WKWebExtensionContextPermissionsWereDeniedNotification returns the address of the symbol WKWebExtensionContextPermissionsWereDeniedNotification.

func WKWebExtensionContextPermissionsWereGrantedNotification

func WKWebExtensionContextPermissionsWereGrantedNotification() uintptr

WKWebExtensionContextPermissionsWereGrantedNotification returns the address of the symbol WKWebExtensionContextPermissionsWereGrantedNotification.

func WKWebExtensionDataRecordErrorDomain

func WKWebExtensionDataRecordErrorDomain() uintptr

WKWebExtensionDataRecordErrorDomain returns the address of the symbol WKWebExtensionDataRecordErrorDomain.

func WKWebExtensionDataTypeLocal

func WKWebExtensionDataTypeLocal() obj.Object

WKWebExtensionDataTypeLocal returns the string constant WKWebExtensionDataTypeLocal, for use as a dictionary key or argument.

func WKWebExtensionDataTypeSession

func WKWebExtensionDataTypeSession() obj.Object

WKWebExtensionDataTypeSession returns the string constant WKWebExtensionDataTypeSession, for use as a dictionary key or argument.

func WKWebExtensionDataTypeSynchronized

func WKWebExtensionDataTypeSynchronized() obj.Object

WKWebExtensionDataTypeSynchronized returns the string constant WKWebExtensionDataTypeSynchronized, for use as a dictionary key or argument.

func WKWebExtensionErrorDomain

func WKWebExtensionErrorDomain() uintptr

WKWebExtensionErrorDomain returns the address of the symbol WKWebExtensionErrorDomain.

func WKWebExtensionMatchPatternErrorDomain

func WKWebExtensionMatchPatternErrorDomain() uintptr

WKWebExtensionMatchPatternErrorDomain returns the address of the symbol WKWebExtensionMatchPatternErrorDomain.

func WKWebExtensionMessagePortErrorDomain

func WKWebExtensionMessagePortErrorDomain() uintptr

WKWebExtensionMessagePortErrorDomain returns the address of the symbol WKWebExtensionMessagePortErrorDomain.

func WKWebExtensionPermissionActiveTab

func WKWebExtensionPermissionActiveTab() obj.Object

WKWebExtensionPermissionActiveTab returns the string constant WKWebExtensionPermissionActiveTab, for use as a dictionary key or argument.

func WKWebExtensionPermissionAlarms

func WKWebExtensionPermissionAlarms() obj.Object

WKWebExtensionPermissionAlarms returns the string constant WKWebExtensionPermissionAlarms, for use as a dictionary key or argument.

func WKWebExtensionPermissionClipboardWrite

func WKWebExtensionPermissionClipboardWrite() obj.Object

WKWebExtensionPermissionClipboardWrite returns the string constant WKWebExtensionPermissionClipboardWrite, for use as a dictionary key or argument.

func WKWebExtensionPermissionContextMenus

func WKWebExtensionPermissionContextMenus() obj.Object

WKWebExtensionPermissionContextMenus returns the string constant WKWebExtensionPermissionContextMenus, for use as a dictionary key or argument.

func WKWebExtensionPermissionCookies

func WKWebExtensionPermissionCookies() obj.Object

WKWebExtensionPermissionCookies returns the string constant WKWebExtensionPermissionCookies, for use as a dictionary key or argument.

func WKWebExtensionPermissionDeclarativeNetRequest

func WKWebExtensionPermissionDeclarativeNetRequest() obj.Object

WKWebExtensionPermissionDeclarativeNetRequest returns the string constant WKWebExtensionPermissionDeclarativeNetRequest, for use as a dictionary key or argument.

func WKWebExtensionPermissionDeclarativeNetRequestFeedback

func WKWebExtensionPermissionDeclarativeNetRequestFeedback() obj.Object

WKWebExtensionPermissionDeclarativeNetRequestFeedback returns the string constant WKWebExtensionPermissionDeclarativeNetRequestFeedback, for use as a dictionary key or argument.

func WKWebExtensionPermissionDeclarativeNetRequestWithHostAccess

func WKWebExtensionPermissionDeclarativeNetRequestWithHostAccess() obj.Object

WKWebExtensionPermissionDeclarativeNetRequestWithHostAccess returns the string constant WKWebExtensionPermissionDeclarativeNetRequestWithHostAccess, for use as a dictionary key or argument.

func WKWebExtensionPermissionMenus

func WKWebExtensionPermissionMenus() obj.Object

WKWebExtensionPermissionMenus returns the string constant WKWebExtensionPermissionMenus, for use as a dictionary key or argument.

func WKWebExtensionPermissionNativeMessaging

func WKWebExtensionPermissionNativeMessaging() obj.Object

WKWebExtensionPermissionNativeMessaging returns the string constant WKWebExtensionPermissionNativeMessaging, for use as a dictionary key or argument.

func WKWebExtensionPermissionScripting

func WKWebExtensionPermissionScripting() obj.Object

WKWebExtensionPermissionScripting returns the string constant WKWebExtensionPermissionScripting, for use as a dictionary key or argument.

func WKWebExtensionPermissionStorage

func WKWebExtensionPermissionStorage() obj.Object

WKWebExtensionPermissionStorage returns the string constant WKWebExtensionPermissionStorage, for use as a dictionary key or argument.

func WKWebExtensionPermissionTabs

func WKWebExtensionPermissionTabs() obj.Object

WKWebExtensionPermissionTabs returns the string constant WKWebExtensionPermissionTabs, for use as a dictionary key or argument.

func WKWebExtensionPermissionUnlimitedStorage

func WKWebExtensionPermissionUnlimitedStorage() obj.Object

WKWebExtensionPermissionUnlimitedStorage returns the string constant WKWebExtensionPermissionUnlimitedStorage, for use as a dictionary key or argument.

func WKWebExtensionPermissionWebNavigation

func WKWebExtensionPermissionWebNavigation() obj.Object

WKWebExtensionPermissionWebNavigation returns the string constant WKWebExtensionPermissionWebNavigation, for use as a dictionary key or argument.

func WKWebExtensionPermissionWebRequest

func WKWebExtensionPermissionWebRequest() obj.Object

WKWebExtensionPermissionWebRequest returns the string constant WKWebExtensionPermissionWebRequest, for use as a dictionary key or argument.

func WKWebsiteDataTypeCookies

func WKWebsiteDataTypeCookies() obj.Object

WKWebsiteDataTypeCookies returns the string constant WKWebsiteDataTypeCookies, for use as a dictionary key or argument.

func WKWebsiteDataTypeDiskCache

func WKWebsiteDataTypeDiskCache() obj.Object

WKWebsiteDataTypeDiskCache returns the string constant WKWebsiteDataTypeDiskCache, for use as a dictionary key or argument.

func WKWebsiteDataTypeFetchCache

func WKWebsiteDataTypeFetchCache() obj.Object

WKWebsiteDataTypeFetchCache returns the string constant WKWebsiteDataTypeFetchCache, for use as a dictionary key or argument.

func WKWebsiteDataTypeFileSystem

func WKWebsiteDataTypeFileSystem() obj.Object

WKWebsiteDataTypeFileSystem returns the string constant WKWebsiteDataTypeFileSystem, for use as a dictionary key or argument.

func WKWebsiteDataTypeHashSalt

func WKWebsiteDataTypeHashSalt() obj.Object

WKWebsiteDataTypeHashSalt returns the string constant WKWebsiteDataTypeHashSalt, for use as a dictionary key or argument.

func WKWebsiteDataTypeIndexedDBDatabases

func WKWebsiteDataTypeIndexedDBDatabases() obj.Object

WKWebsiteDataTypeIndexedDBDatabases returns the string constant WKWebsiteDataTypeIndexedDBDatabases, for use as a dictionary key or argument.

func WKWebsiteDataTypeLocalStorage

func WKWebsiteDataTypeLocalStorage() obj.Object

WKWebsiteDataTypeLocalStorage returns the string constant WKWebsiteDataTypeLocalStorage, for use as a dictionary key or argument.

func WKWebsiteDataTypeMediaKeys

func WKWebsiteDataTypeMediaKeys() obj.Object

WKWebsiteDataTypeMediaKeys returns the string constant WKWebsiteDataTypeMediaKeys, for use as a dictionary key or argument.

func WKWebsiteDataTypeMemoryCache

func WKWebsiteDataTypeMemoryCache() obj.Object

WKWebsiteDataTypeMemoryCache returns the string constant WKWebsiteDataTypeMemoryCache, for use as a dictionary key or argument.

func WKWebsiteDataTypeOfflineWebApplicationCache

func WKWebsiteDataTypeOfflineWebApplicationCache() obj.Object

WKWebsiteDataTypeOfflineWebApplicationCache returns the string constant WKWebsiteDataTypeOfflineWebApplicationCache, for use as a dictionary key or argument.

func WKWebsiteDataTypeScreenTime

func WKWebsiteDataTypeScreenTime() obj.Object

WKWebsiteDataTypeScreenTime returns the string constant WKWebsiteDataTypeScreenTime, for use as a dictionary key or argument.

func WKWebsiteDataTypeSearchFieldRecentSearches

func WKWebsiteDataTypeSearchFieldRecentSearches() obj.Object

WKWebsiteDataTypeSearchFieldRecentSearches returns the string constant WKWebsiteDataTypeSearchFieldRecentSearches, for use as a dictionary key or argument.

func WKWebsiteDataTypeServiceWorkerRegistrations

func WKWebsiteDataTypeServiceWorkerRegistrations() obj.Object

WKWebsiteDataTypeServiceWorkerRegistrations returns the string constant WKWebsiteDataTypeServiceWorkerRegistrations, for use as a dictionary key or argument.

func WKWebsiteDataTypeSessionStorage

func WKWebsiteDataTypeSessionStorage() obj.Object

WKWebsiteDataTypeSessionStorage returns the string constant WKWebsiteDataTypeSessionStorage, for use as a dictionary key or argument.

func WKWebsiteDataTypeWebSQLDatabases

func WKWebsiteDataTypeWebSQLDatabases() obj.Object

WKWebsiteDataTypeWebSQLDatabases returns the string constant WKWebsiteDataTypeWebSQLDatabases, for use as a dictionary key or argument.

func WebActionButtonKey

func WebActionButtonKey() obj.Object

WebActionButtonKey returns the string constant WebActionButtonKey, for use as a dictionary key or argument.

func WebActionElementKey

func WebActionElementKey() obj.Object

WebActionElementKey returns the string constant WebActionElementKey, for use as a dictionary key or argument.

func WebActionModifierFlagsKey

func WebActionModifierFlagsKey() obj.Object

WebActionModifierFlagsKey returns the string constant WebActionModifierFlagsKey, for use as a dictionary key or argument.

func WebActionNavigationTypeKey

func WebActionNavigationTypeKey() obj.Object

WebActionNavigationTypeKey returns the string constant WebActionNavigationTypeKey, for use as a dictionary key or argument.

func WebActionOriginalURLKey

func WebActionOriginalURLKey() obj.Object

WebActionOriginalURLKey returns the string constant WebActionOriginalURLKey, for use as a dictionary key or argument.

func WebArchivePboardType

func WebArchivePboardType() obj.Object

WebArchivePboardType returns the string constant WebArchivePboardType, for use as a dictionary key or argument.

func WebElementDOMNodeKey

func WebElementDOMNodeKey() obj.Object

WebElementDOMNodeKey returns the string constant WebElementDOMNodeKey, for use as a dictionary key or argument.

func WebElementFrameKey

func WebElementFrameKey() obj.Object

WebElementFrameKey returns the string constant WebElementFrameKey, for use as a dictionary key or argument.

func WebElementImageAltStringKey

func WebElementImageAltStringKey() obj.Object

WebElementImageAltStringKey returns the string constant WebElementImageAltStringKey, for use as a dictionary key or argument.

func WebElementImageKey

func WebElementImageKey() obj.Object

WebElementImageKey returns the string constant WebElementImageKey, for use as a dictionary key or argument.

func WebElementImageRectKey

func WebElementImageRectKey() obj.Object

WebElementImageRectKey returns the string constant WebElementImageRectKey, for use as a dictionary key or argument.

func WebElementImageURLKey

func WebElementImageURLKey() obj.Object

WebElementImageURLKey returns the string constant WebElementImageURLKey, for use as a dictionary key or argument.

func WebElementIsSelectedKey

func WebElementIsSelectedKey() obj.Object

WebElementIsSelectedKey returns the string constant WebElementIsSelectedKey, for use as a dictionary key or argument.

func WebElementLinkLabelKey

func WebElementLinkLabelKey() obj.Object

WebElementLinkLabelKey returns the string constant WebElementLinkLabelKey, for use as a dictionary key or argument.

func WebElementLinkTargetFrameKey

func WebElementLinkTargetFrameKey() obj.Object

WebElementLinkTargetFrameKey returns the string constant WebElementLinkTargetFrameKey, for use as a dictionary key or argument.

func WebElementLinkTitleKey

func WebElementLinkTitleKey() obj.Object

WebElementLinkTitleKey returns the string constant WebElementLinkTitleKey, for use as a dictionary key or argument.

func WebElementLinkURLKey

func WebElementLinkURLKey() obj.Object

WebElementLinkURLKey returns the string constant WebElementLinkURLKey, for use as a dictionary key or argument.

func WebHistoryAllItemsRemovedNotification

func WebHistoryAllItemsRemovedNotification() obj.Object

WebHistoryAllItemsRemovedNotification returns the string constant WebHistoryAllItemsRemovedNotification, for use as a dictionary key or argument.

func WebHistoryItemChangedNotification

func WebHistoryItemChangedNotification() obj.Object

WebHistoryItemChangedNotification returns the string constant WebHistoryItemChangedNotification, for use as a dictionary key or argument.

func WebHistoryItemsAddedNotification

func WebHistoryItemsAddedNotification() obj.Object

WebHistoryItemsAddedNotification returns the string constant WebHistoryItemsAddedNotification, for use as a dictionary key or argument.

func WebHistoryItemsKey

func WebHistoryItemsKey() obj.Object

WebHistoryItemsKey returns the string constant WebHistoryItemsKey, for use as a dictionary key or argument.

func WebHistoryItemsRemovedNotification

func WebHistoryItemsRemovedNotification() obj.Object

WebHistoryItemsRemovedNotification returns the string constant WebHistoryItemsRemovedNotification, for use as a dictionary key or argument.

func WebHistoryLoadedNotification

func WebHistoryLoadedNotification() obj.Object

WebHistoryLoadedNotification returns the string constant WebHistoryLoadedNotification, for use as a dictionary key or argument.

func WebHistorySavedNotification

func WebHistorySavedNotification() obj.Object

WebHistorySavedNotification returns the string constant WebHistorySavedNotification, for use as a dictionary key or argument.

func WebKitErrorDomain

func WebKitErrorDomain() obj.Object

WebKitErrorDomain returns the string constant WebKitErrorDomain, for use as a dictionary key or argument.

func WebKitErrorMIMETypeKey

func WebKitErrorMIMETypeKey() obj.Object

WebKitErrorMIMETypeKey returns the string constant WebKitErrorMIMETypeKey, for use as a dictionary key or argument.

func WebKitErrorPlugInNameKey

func WebKitErrorPlugInNameKey() obj.Object

WebKitErrorPlugInNameKey returns the string constant WebKitErrorPlugInNameKey, for use as a dictionary key or argument.

func WebKitErrorPlugInPageURLStringKey

func WebKitErrorPlugInPageURLStringKey() obj.Object

WebKitErrorPlugInPageURLStringKey returns the string constant WebKitErrorPlugInPageURLStringKey, for use as a dictionary key or argument.

func WebPlugInAttributesKey

func WebPlugInAttributesKey() obj.Object

WebPlugInAttributesKey returns the string constant WebPlugInAttributesKey, for use as a dictionary key or argument.

func WebPlugInBaseURLKey

func WebPlugInBaseURLKey() obj.Object

WebPlugInBaseURLKey returns the string constant WebPlugInBaseURLKey, for use as a dictionary key or argument.

func WebPlugInContainerKey

func WebPlugInContainerKey() obj.Object

WebPlugInContainerKey returns the string constant WebPlugInContainerKey, for use as a dictionary key or argument.

func WebPlugInContainingElementKey

func WebPlugInContainingElementKey() obj.Object

WebPlugInContainingElementKey returns the string constant WebPlugInContainingElementKey, for use as a dictionary key or argument.

func WebPlugInShouldLoadMainResourceKey

func WebPlugInShouldLoadMainResourceKey() obj.Object

WebPlugInShouldLoadMainResourceKey returns the string constant WebPlugInShouldLoadMainResourceKey, for use as a dictionary key or argument.

func WebPreferencesChangedNotification

func WebPreferencesChangedNotification() obj.Object

WebPreferencesChangedNotification returns the string constant WebPreferencesChangedNotification, for use as a dictionary key or argument.

func WebViewDidBeginEditingNotification

func WebViewDidBeginEditingNotification() obj.Object

WebViewDidBeginEditingNotification returns the string constant WebViewDidBeginEditingNotification, for use as a dictionary key or argument.

func WebViewDidChangeNotification

func WebViewDidChangeNotification() obj.Object

WebViewDidChangeNotification returns the string constant WebViewDidChangeNotification, for use as a dictionary key or argument.

func WebViewDidChangeSelectionNotification

func WebViewDidChangeSelectionNotification() obj.Object

WebViewDidChangeSelectionNotification returns the string constant WebViewDidChangeSelectionNotification, for use as a dictionary key or argument.

func WebViewDidChangeTypingStyleNotification

func WebViewDidChangeTypingStyleNotification() obj.Object

WebViewDidChangeTypingStyleNotification returns the string constant WebViewDidChangeTypingStyleNotification, for use as a dictionary key or argument.

func WebViewDidEndEditingNotification

func WebViewDidEndEditingNotification() obj.Object

WebViewDidEndEditingNotification returns the string constant WebViewDidEndEditingNotification, for use as a dictionary key or argument.

func WebViewProgressEstimateChangedNotification

func WebViewProgressEstimateChangedNotification() obj.Object

WebViewProgressEstimateChangedNotification returns the string constant WebViewProgressEstimateChangedNotification, for use as a dictionary key or argument.

func WebViewProgressFinishedNotification

func WebViewProgressFinishedNotification() obj.Object

WebViewProgressFinishedNotification returns the string constant WebViewProgressFinishedNotification, for use as a dictionary key or argument.

func WebViewProgressStartedNotification

func WebViewProgressStartedNotification() obj.Object

WebViewProgressStartedNotification returns the string constant WebViewProgressStartedNotification, for use as a dictionary key or argument.

Types

type ACLEntryID added in v0.17.0

type ACLEntryID int32
const (
	ACLEntryIDFirstEntry ACLEntryID = 0
	ACLEntryIDNextEntry  ACLEntryID = -1
	ACLEntryIDLastEntry  ACLEntryID = -2
)

func (ACLEntryID) String added in v0.17.0

func (e ACLEntryID) String() string

String returns the ACLEntryID constant's name, or its numeric form when the value is not a known constant.

type ACLFlag added in v0.17.0

type ACLFlag int32
const (
	ACLFlagFlagDeferInherit      ACLFlag = 1
	ACLFlagFlagNoInherit         ACLFlag = 131072
	ACLFlagEntryInherited        ACLFlag = 16
	ACLFlagEntryFileInherit      ACLFlag = 32
	ACLFlagEntryDirectoryInherit ACLFlag = 64
	ACLFlagEntryLimitInherit     ACLFlag = 128
	ACLFlagEntryOnlyInherit      ACLFlag = 256
)

func (ACLFlag) String added in v0.17.0

func (e ACLFlag) String() string

String returns the ACLFlag constant's name, or its numeric form when the value is not a known constant.

type ACLPerm added in v0.17.0

type ACLPerm int32
const (
	ACLPermReadData           ACLPerm = 2
	ACLPermListDirectory      ACLPerm = 2
	ACLPermWriteData          ACLPerm = 4
	ACLPermAddFile            ACLPerm = 4
	ACLPermExecute            ACLPerm = 8
	ACLPermSearch             ACLPerm = 8
	ACLPermDelete             ACLPerm = 16
	ACLPermAppendData         ACLPerm = 32
	ACLPermAddSubdirectory    ACLPerm = 32
	ACLPermDeleteChild        ACLPerm = 64
	ACLPermReadAttributes     ACLPerm = 128
	ACLPermWriteAttributes    ACLPerm = 256
	ACLPermReadExtattributes  ACLPerm = 512
	ACLPermWriteExtattributes ACLPerm = 1024
	ACLPermReadSecurity       ACLPerm = 2048
	ACLPermWriteSecurity      ACLPerm = 4096
	ACLPermChangeOwner        ACLPerm = 8192
	ACLPermSynchronize        ACLPerm = 1048576
)

func (ACLPerm) String added in v0.17.0

func (e ACLPerm) String() string

String returns the ACLPerm constant's name, or its numeric form when the value is not a known constant.

type ACLTag added in v0.17.0

type ACLTag int32
const (
	ACLTagUndefinedTag  ACLTag = 0
	ACLTagExtendedAllow ACLTag = 1
	ACLTagExtendedDeny  ACLTag = 2
)

func (ACLTag) String added in v0.17.0

func (e ACLTag) String() string

String returns the ACLTag constant's name, or its numeric form when the value is not a known constant.

type ACLType added in v0.17.0

type ACLType int32
const (
	ACLTypeExtended ACLType = 256
	ACLTypeAccess   ACLType = 0
	ACLTypeDefault  ACLType = 1
	ACLTypeAfs      ACLType = 2
	ACLTypeCoda     ACLType = 3
	ACLTypeNtfs     ACLType = 4
	ACLTypeNwfs     ACLType = 5
)

func (ACLType) String added in v0.17.0

func (e ACLType) String() string

String returns the ACLType constant's name, or its numeric form when the value is not a known constant.

type BrowserState added in v0.17.0

type BrowserState int32

Browser states sent by nw_browser_set_state_changed_handler.

const (
	Nw_browser_state_invalid   BrowserState = 0
	Nw_browser_state_ready     BrowserState = 1
	Nw_browser_state_failed    BrowserState = 2
	Nw_browser_state_cancelled BrowserState = 3
	Nw_browser_state_waiting   BrowserState = 4
)

func (BrowserState) String added in v0.17.0

func (e BrowserState) String() string

String returns the BrowserState constant's name, or its numeric form when the value is not a known constant.

type CGLCPContextPriorityRequest

type CGLCPContextPriorityRequest int32
const (
	KCGLCPContextPriorityRequestHigh   CGLCPContextPriorityRequest = 0
	KCGLCPContextPriorityRequestNormal CGLCPContextPriorityRequest = 1
	KCGLCPContextPriorityRequestLow    CGLCPContextPriorityRequest = 2
)

func (CGLCPContextPriorityRequest) String

String returns the CGLCPContextPriorityRequest constant's name, or its numeric form when the value is not a known constant.

type Clockid added in v0.17.0

type Clockid int32
const (
	ClockidRealtime           Clockid = 0
	ClockidMonotonic          Clockid = 6
	ClockidMonotonicRaw       Clockid = 4
	ClockidMonotonicRawApprox Clockid = 5
	ClockidUptimeRaw          Clockid = 8
	ClockidUptimeRawApprox    Clockid = 9
	ClockidProcessCputimeID   Clockid = 12
	ClockidThreadCputimeID    Clockid = 16
)

func (Clockid) String added in v0.17.0

func (e Clockid) String() string

String returns the Clockid constant's name, or its numeric form when the value is not a known constant.

type ConnectionGroupState added in v0.17.0

type ConnectionGroupState int32

Connection Group states sent by nw_connection_group_set_state_changed_handler. States progress forward and do not move backwards.

const (
	Nw_connection_group_state_invalid   ConnectionGroupState = 0
	Nw_connection_group_state_waiting   ConnectionGroupState = 1
	Nw_connection_group_state_ready     ConnectionGroupState = 2
	Nw_connection_group_state_failed    ConnectionGroupState = 3
	Nw_connection_group_state_cancelled ConnectionGroupState = 4
)

func (ConnectionGroupState) String added in v0.17.0

func (e ConnectionGroupState) String() string

String returns the ConnectionGroupState constant's name, or its numeric form when the value is not a known constant.

type ConnectionState added in v0.17.0

type ConnectionState int32

Connection states sent by nw_connection_set_state_changed_handler. States generally progress forward and do not move backwards, with the exception of preparing and waiting, which may alternate before the connection becomes ready or failed.

const (
	Nw_connection_state_invalid   ConnectionState = 0
	Nw_connection_state_waiting   ConnectionState = 1
	Nw_connection_state_preparing ConnectionState = 2
	Nw_connection_state_ready     ConnectionState = 3
	Nw_connection_state_failed    ConnectionState = 4
	Nw_connection_state_cancelled ConnectionState = 5
)

func (ConnectionState) String added in v0.17.0

func (e ConnectionState) String() string

String returns the ConnectionState constant's name, or its numeric form when the value is not a known constant.

type DNSServiceAAAAPolicy

type DNSServiceAAAAPolicy int32
const (
	KDNSServiceAAAAPolicyNone     DNSServiceAAAAPolicy = 0
	KDNSServiceAAAAPolicyFallback DNSServiceAAAAPolicy = 1
)

func (DNSServiceAAAAPolicy) String

func (e DNSServiceAAAAPolicy) String() string

String returns the DNSServiceAAAAPolicy constant's name, or its numeric form when the value is not a known constant.

type DOMAbstractView

type DOMAbstractView struct {
	DOMObject
}

DOMAbstractView is an idiomatic wrapper over the Objective-C class DOMAbstractView.

It embeds DOMObject, promoting that type's methods.

func DOMAbstractViewFromID

func DOMAbstractViewFromID(id objc.ID) *DOMAbstractView

DOMAbstractViewFromID adopts an existing Objective-C object as a DOMAbstractView (nil for 0), retaining it and registering a release finalizer.

func NewDOMAbstractView added in v0.17.0

func NewDOMAbstractView() *DOMAbstractView

NewDOMAbstractView creates a new DOMAbstractView.

func (*DOMAbstractView) Document

func (dav *DOMAbstractView) Document() *DOMDocument

Document returns the document.

type DOMAttr

type DOMAttr struct {
	DOMNode
}

DOMAttr is an idiomatic wrapper over the Objective-C class DOMAttr.

It embeds DOMNode, promoting that type's methods.

func DOMAttrFromID

func DOMAttrFromID(id objc.ID) *DOMAttr

DOMAttrFromID adopts an existing Objective-C object as a DOMAttr (nil for 0), retaining it and registering a release finalizer.

func NewDOMAttr added in v0.17.0

func NewDOMAttr() *DOMAttr

NewDOMAttr creates a new DOMAttr.

func (*DOMAttr) Name

func (da *DOMAttr) Name() string

Name returns the name.

func (*DOMAttr) OwnerElement

func (da *DOMAttr) OwnerElement() *DOMElement

OwnerElement returns the owner element.

func (*DOMAttr) Specified

func (da *DOMAttr) Specified() bool

Specified wraps the corresponding Objective-C method.

func (*DOMAttr) Style

func (da *DOMAttr) Style() *DOMCSSStyleDeclaration

Style returns the style.

func (*DOMAttr) Value

func (da *DOMAttr) Value() string

Value returns the value.

func (*DOMAttr) WithNodeValue added in v0.17.0

func (da *DOMAttr) WithNodeValue(nodeValue string) *DOMAttr

WithNodeValue sets the node value.

func (*DOMAttr) WithPrefix added in v0.17.0

func (da *DOMAttr) WithPrefix(prefix string) *DOMAttr

WithPrefix sets the prefix.

func (*DOMAttr) WithTextContent added in v0.17.0

func (da *DOMAttr) WithTextContent(textContent string) *DOMAttr

WithTextContent sets the text content.

func (*DOMAttr) WithValue added in v0.17.0

func (da *DOMAttr) WithValue(value string) *DOMAttr

WithValue sets the value.

type DOMBlob

type DOMBlob struct {
	DOMObject
}

DOMBlob is an idiomatic wrapper over the Objective-C class DOMBlob.

DOMBlob is an abstract base — you do not construct it directly. Construct one of DOMFile and pass it where a DOMBlob is accepted.

func DOMBlobFromID

func DOMBlobFromID(id objc.ID) *DOMBlob

DOMBlobFromID adopts an existing Objective-C object as a DOMBlob (nil for 0), retaining it and registering a release finalizer.

func (*DOMBlob) Size

func (db *DOMBlob) Size() uint64

Size returns the size.

type DOMBlobProvider added in v0.17.0

type DOMBlobProvider interface {
	objref.Object
	// contains filtered or unexported methods
}

DOMBlobProvider is accepted wherever a DOMBlob (or one of its subclasses) is expected.

type DOMCDATASection

type DOMCDATASection struct {
	DOMText
}

DOMCDATASection is an idiomatic wrapper over the Objective-C class DOMCDATASection.

It embeds DOMText, promoting that type's methods.

func DOMCDATASectionFromID

func DOMCDATASectionFromID(id objc.ID) *DOMCDATASection

DOMCDATASectionFromID adopts an existing Objective-C object as a DOMCDATASection (nil for 0), retaining it and registering a release finalizer.

func NewDOMCDATASection added in v0.17.0

func NewDOMCDATASection() *DOMCDATASection

NewDOMCDATASection creates a new DOMCDATASection.

func (*DOMCDATASection) WithData added in v0.17.0

func (ds *DOMCDATASection) WithData(data string) *DOMCDATASection

WithData sets the data.

func (*DOMCDATASection) WithNodeValue added in v0.17.0

func (ds *DOMCDATASection) WithNodeValue(nodeValue string) *DOMCDATASection

WithNodeValue sets the node value.

func (*DOMCDATASection) WithPrefix added in v0.17.0

func (ds *DOMCDATASection) WithPrefix(prefix string) *DOMCDATASection

WithPrefix sets the prefix.

func (*DOMCDATASection) WithTextContent added in v0.17.0

func (ds *DOMCDATASection) WithTextContent(textContent string) *DOMCDATASection

WithTextContent sets the text content.

type DOMCSSCharsetRule

type DOMCSSCharsetRule struct {
	DOMCSSRule
}

DOMCSSCharsetRule is an idiomatic wrapper over the Objective-C class DOMCSSCharsetRule.

It embeds DOMCSSRule, promoting that type's methods.

func DOMCSSCharsetRuleFromID

func DOMCSSCharsetRuleFromID(id objc.ID) *DOMCSSCharsetRule

DOMCSSCharsetRuleFromID adopts an existing Objective-C object as a DOMCSSCharsetRule (nil for 0), retaining it and registering a release finalizer.

func NewDOMCSSCharsetRule added in v0.17.0

func NewDOMCSSCharsetRule() *DOMCSSCharsetRule

NewDOMCSSCharsetRule creates a new DOMCSSCharsetRule.

func (*DOMCSSCharsetRule) Encoding

func (dcr *DOMCSSCharsetRule) Encoding() string

Encoding returns the encoding.

func (*DOMCSSCharsetRule) WithCSSText added in v0.17.0

func (dcr *DOMCSSCharsetRule) WithCSSText(cssText string) *DOMCSSCharsetRule

WithCSSText sets the CSS text.

type DOMCSSFontFaceRule

type DOMCSSFontFaceRule struct {
	DOMCSSRule
}

DOMCSSFontFaceRule is an idiomatic wrapper over the Objective-C class DOMCSSFontFaceRule.

It embeds DOMCSSRule, promoting that type's methods.

func DOMCSSFontFaceRuleFromID

func DOMCSSFontFaceRuleFromID(id objc.ID) *DOMCSSFontFaceRule

DOMCSSFontFaceRuleFromID adopts an existing Objective-C object as a DOMCSSFontFaceRule (nil for 0), retaining it and registering a release finalizer.

func NewDOMCSSFontFaceRule added in v0.17.0

func NewDOMCSSFontFaceRule() *DOMCSSFontFaceRule

NewDOMCSSFontFaceRule creates a new DOMCSSFontFaceRule.

func (*DOMCSSFontFaceRule) Style

Style returns the style.

func (*DOMCSSFontFaceRule) WithCSSText added in v0.17.0

func (dffr *DOMCSSFontFaceRule) WithCSSText(cssText string) *DOMCSSFontFaceRule

WithCSSText sets the CSS text.

type DOMCSSImportRule

type DOMCSSImportRule struct {
	DOMCSSRule
}

DOMCSSImportRule is an idiomatic wrapper over the Objective-C class DOMCSSImportRule.

It embeds DOMCSSRule, promoting that type's methods.

func DOMCSSImportRuleFromID

func DOMCSSImportRuleFromID(id objc.ID) *DOMCSSImportRule

DOMCSSImportRuleFromID adopts an existing Objective-C object as a DOMCSSImportRule (nil for 0), retaining it and registering a release finalizer.

func NewDOMCSSImportRule added in v0.17.0

func NewDOMCSSImportRule() *DOMCSSImportRule

NewDOMCSSImportRule creates a new DOMCSSImportRule.

func (*DOMCSSImportRule) Href

func (dir *DOMCSSImportRule) Href() string

Href returns the href.

func (*DOMCSSImportRule) Media

func (dir *DOMCSSImportRule) Media() *DOMMediaList

Media returns the media.

func (*DOMCSSImportRule) StyleSheet

func (dir *DOMCSSImportRule) StyleSheet() *DOMCSSStyleSheet

StyleSheet returns the style sheet.

func (*DOMCSSImportRule) WithCSSText added in v0.17.0

func (dir *DOMCSSImportRule) WithCSSText(cssText string) *DOMCSSImportRule

WithCSSText sets the CSS text.

type DOMCSSMediaRule

type DOMCSSMediaRule struct {
	DOMCSSRule
}

DOMCSSMediaRule is an idiomatic wrapper over the Objective-C class DOMCSSMediaRule.

It embeds DOMCSSRule, promoting that type's methods.

func DOMCSSMediaRuleFromID

func DOMCSSMediaRuleFromID(id objc.ID) *DOMCSSMediaRule

DOMCSSMediaRuleFromID adopts an existing Objective-C object as a DOMCSSMediaRule (nil for 0), retaining it and registering a release finalizer.

func NewDOMCSSMediaRule added in v0.17.0

func NewDOMCSSMediaRule() *DOMCSSMediaRule

NewDOMCSSMediaRule creates a new DOMCSSMediaRule.

func (*DOMCSSMediaRule) CSSRules added in v0.17.0

func (dmr *DOMCSSMediaRule) CSSRules() *DOMCSSRuleList

CSSRules returns the CSS rules.

func (*DOMCSSMediaRule) DeleteRule

func (dmr *DOMCSSMediaRule) DeleteRule(index int)

DeleteRule deletes rule.

func (*DOMCSSMediaRule) InsertRule

func (dmr *DOMCSSMediaRule) InsertRule(rule string, index int) int

InsertRule inserts rule.

func (*DOMCSSMediaRule) InsertRuleIndex

func (dmr *DOMCSSMediaRule) InsertRuleIndex(rule string, index int) int

InsertRuleIndex inserts rule index.

func (*DOMCSSMediaRule) Media

func (dmr *DOMCSSMediaRule) Media() *DOMMediaList

Media returns the media.

func (*DOMCSSMediaRule) WithCSSText added in v0.17.0

func (dmr *DOMCSSMediaRule) WithCSSText(cssText string) *DOMCSSMediaRule

WithCSSText sets the CSS text.

type DOMCSSPageRule

type DOMCSSPageRule struct {
	DOMCSSRule
}

DOMCSSPageRule is an idiomatic wrapper over the Objective-C class DOMCSSPageRule.

It embeds DOMCSSRule, promoting that type's methods.

func DOMCSSPageRuleFromID

func DOMCSSPageRuleFromID(id objc.ID) *DOMCSSPageRule

DOMCSSPageRuleFromID adopts an existing Objective-C object as a DOMCSSPageRule (nil for 0), retaining it and registering a release finalizer.

func NewDOMCSSPageRule added in v0.17.0

func NewDOMCSSPageRule() *DOMCSSPageRule

NewDOMCSSPageRule creates a new DOMCSSPageRule.

func (*DOMCSSPageRule) SelectorText

func (dpr *DOMCSSPageRule) SelectorText() string

SelectorText returns the selector text.

func (*DOMCSSPageRule) Style

func (dpr *DOMCSSPageRule) Style() *DOMCSSStyleDeclaration

Style returns the style.

func (*DOMCSSPageRule) WithCSSText added in v0.17.0

func (dpr *DOMCSSPageRule) WithCSSText(cssText string) *DOMCSSPageRule

WithCSSText sets the CSS text.

func (*DOMCSSPageRule) WithSelectorText added in v0.17.0

func (dpr *DOMCSSPageRule) WithSelectorText(selectorText string) *DOMCSSPageRule

WithSelectorText sets the selector text.

type DOMCSSPrimitiveValue

type DOMCSSPrimitiveValue struct {
	DOMCSSValue
}

DOMCSSPrimitiveValue is an idiomatic wrapper over the Objective-C class DOMCSSPrimitiveValue.

It embeds DOMCSSValue, promoting that type's methods.

func DOMCSSPrimitiveValueFromID

func DOMCSSPrimitiveValueFromID(id objc.ID) *DOMCSSPrimitiveValue

DOMCSSPrimitiveValueFromID adopts an existing Objective-C object as a DOMCSSPrimitiveValue (nil for 0), retaining it and registering a release finalizer.

func NewDOMCSSPrimitiveValue added in v0.17.0

func NewDOMCSSPrimitiveValue() *DOMCSSPrimitiveValue

NewDOMCSSPrimitiveValue creates a new DOMCSSPrimitiveValue.

func (*DOMCSSPrimitiveValue) CounterValue added in v0.17.0

func (dpv *DOMCSSPrimitiveValue) CounterValue() *DOMCounter

CounterValue returns the counter value.

func (*DOMCSSPrimitiveValue) GetFloatValue

func (dpv *DOMCSSPrimitiveValue) GetFloatValue(unitType uint16) float32

GetFloatValue wraps the corresponding Objective-C method.

func (*DOMCSSPrimitiveValue) PrimitiveType

func (dpv *DOMCSSPrimitiveValue) PrimitiveType() uint16

PrimitiveType returns the primitive type.

func (*DOMCSSPrimitiveValue) RGBColorValue added in v0.17.0

func (dpv *DOMCSSPrimitiveValue) RGBColorValue() *DOMRGBColor

RGBColorValue returns the rgb color value.

func (*DOMCSSPrimitiveValue) RectValue added in v0.17.0

func (dpv *DOMCSSPrimitiveValue) RectValue() *DOMRect

RectValue returns the rect value.

func (*DOMCSSPrimitiveValue) SetFloatValue

func (dpv *DOMCSSPrimitiveValue) SetFloatValue(unitType uint16, floatValue float32)

SetFloatValue wraps the corresponding Objective-C method.

func (*DOMCSSPrimitiveValue) SetFloatValueFloatValue

func (dpv *DOMCSSPrimitiveValue) SetFloatValueFloatValue(unitType uint16, floatValue float32)

SetFloatValueFloatValue wraps the corresponding Objective-C method.

func (*DOMCSSPrimitiveValue) SetStringValue

func (dpv *DOMCSSPrimitiveValue) SetStringValue(stringType uint16, stringValue string)

SetStringValue wraps the corresponding Objective-C method.

func (*DOMCSSPrimitiveValue) SetStringValueStringValue

func (dpv *DOMCSSPrimitiveValue) SetStringValueStringValue(stringType uint16, stringValue string)

SetStringValueStringValue wraps the corresponding Objective-C method.

func (*DOMCSSPrimitiveValue) StringValue added in v0.17.0

func (dpv *DOMCSSPrimitiveValue) StringValue() string

StringValue returns the string value.

func (*DOMCSSPrimitiveValue) WithCSSText added in v0.17.0

func (dpv *DOMCSSPrimitiveValue) WithCSSText(cssText string) *DOMCSSPrimitiveValue

WithCSSText sets the CSS text.

type DOMCSSRule

type DOMCSSRule struct {
	DOMObject
}

DOMCSSRule is an idiomatic wrapper over the Objective-C class DOMCSSRule.

DOMCSSRule is an abstract base — you do not construct it directly. Construct one of DOMCSSCharsetRule, DOMCSSFontFaceRule, DOMCSSImportRule, DOMCSSMediaRule, DOMCSSPageRule, DOMCSSStyleRule, DOMCSSUnknownRule and pass it where a DOMCSSRule is accepted.

func DOMCSSRuleFromID

func DOMCSSRuleFromID(id objc.ID) *DOMCSSRule

DOMCSSRuleFromID adopts an existing Objective-C object as a DOMCSSRule (nil for 0), retaining it and registering a release finalizer.

func (*DOMCSSRule) CSSText added in v0.17.0

func (dr *DOMCSSRule) CSSText() string

CSSText returns the CSS text.

func (*DOMCSSRule) ParentRule

func (dr *DOMCSSRule) ParentRule() *DOMCSSRule

ParentRule returns the parent rule.

func (*DOMCSSRule) ParentStyleSheet

func (dr *DOMCSSRule) ParentStyleSheet() *DOMCSSStyleSheet

ParentStyleSheet returns the parent style sheet.

func (*DOMCSSRule) Type

func (dr *DOMCSSRule) Type() uint16

Type returns the type.

func (*DOMCSSRule) WithCSSText added in v0.17.0

func (dr *DOMCSSRule) WithCSSText(cssText string) *DOMCSSRule

WithCSSText sets the CSS text.

type DOMCSSRuleList

type DOMCSSRuleList struct {
	DOMObject
}

DOMCSSRuleList is an idiomatic wrapper over the Objective-C class DOMCSSRuleList.

It embeds DOMObject, promoting that type's methods.

func DOMCSSRuleListFromID

func DOMCSSRuleListFromID(id objc.ID) *DOMCSSRuleList

DOMCSSRuleListFromID adopts an existing Objective-C object as a DOMCSSRuleList (nil for 0), retaining it and registering a release finalizer.

func NewDOMCSSRuleList added in v0.17.0

func NewDOMCSSRuleList() *DOMCSSRuleList

NewDOMCSSRuleList creates a new DOMCSSRuleList.

func (*DOMCSSRuleList) Item

func (drl *DOMCSSRuleList) Item(index int) *DOMCSSRule

Item wraps the corresponding Objective-C method.

func (*DOMCSSRuleList) Length

func (drl *DOMCSSRuleList) Length() int

Length returns the length.

type DOMCSSRuleProvider added in v0.17.0

type DOMCSSRuleProvider interface {
	objref.Object
	// contains filtered or unexported methods
}

DOMCSSRuleProvider is accepted wherever a DOMCSSRule (or one of its subclasses) is expected.

type DOMCSSStyleDeclaration

type DOMCSSStyleDeclaration struct {
	DOMObject
}

DOMCSSStyleDeclaration is an idiomatic wrapper over the Objective-C class DOMCSSStyleDeclaration.

It embeds DOMObject, promoting that type's methods.

func DOMCSSStyleDeclarationFromID

func DOMCSSStyleDeclarationFromID(id objc.ID) *DOMCSSStyleDeclaration

DOMCSSStyleDeclarationFromID adopts an existing Objective-C object as a DOMCSSStyleDeclaration (nil for 0), retaining it and registering a release finalizer.

func NewDOMCSSStyleDeclaration added in v0.17.0

func NewDOMCSSStyleDeclaration() *DOMCSSStyleDeclaration

NewDOMCSSStyleDeclaration creates a new DOMCSSStyleDeclaration.

func (*DOMCSSStyleDeclaration) Azimuth

func (dsd *DOMCSSStyleDeclaration) Azimuth() string

Azimuth returns the azimuth.

func (*DOMCSSStyleDeclaration) Background

func (dsd *DOMCSSStyleDeclaration) Background() string

Background returns the background.

func (*DOMCSSStyleDeclaration) BackgroundAttachment

func (dsd *DOMCSSStyleDeclaration) BackgroundAttachment() string

BackgroundAttachment returns the background attachment.

func (*DOMCSSStyleDeclaration) BackgroundColor

func (dsd *DOMCSSStyleDeclaration) BackgroundColor() string

BackgroundColor returns the background color.

func (*DOMCSSStyleDeclaration) BackgroundImage

func (dsd *DOMCSSStyleDeclaration) BackgroundImage() string

BackgroundImage returns the background image.

func (*DOMCSSStyleDeclaration) BackgroundPosition

func (dsd *DOMCSSStyleDeclaration) BackgroundPosition() string

BackgroundPosition returns the background position.

func (*DOMCSSStyleDeclaration) BackgroundRepeat

func (dsd *DOMCSSStyleDeclaration) BackgroundRepeat() string

BackgroundRepeat returns the background repeat.

func (*DOMCSSStyleDeclaration) Border

func (dsd *DOMCSSStyleDeclaration) Border() string

Border returns the border.

func (*DOMCSSStyleDeclaration) BorderBottom

func (dsd *DOMCSSStyleDeclaration) BorderBottom() string

BorderBottom returns the border bottom.

func (*DOMCSSStyleDeclaration) BorderBottomColor

func (dsd *DOMCSSStyleDeclaration) BorderBottomColor() string

BorderBottomColor returns the border bottom color.

func (*DOMCSSStyleDeclaration) BorderBottomStyle

func (dsd *DOMCSSStyleDeclaration) BorderBottomStyle() string

BorderBottomStyle returns the border bottom style.

func (*DOMCSSStyleDeclaration) BorderBottomWidth

func (dsd *DOMCSSStyleDeclaration) BorderBottomWidth() string

BorderBottomWidth returns the border bottom width.

func (*DOMCSSStyleDeclaration) BorderCollapse

func (dsd *DOMCSSStyleDeclaration) BorderCollapse() string

BorderCollapse returns the border collapse.

func (*DOMCSSStyleDeclaration) BorderColor

func (dsd *DOMCSSStyleDeclaration) BorderColor() string

BorderColor returns the border color.

func (*DOMCSSStyleDeclaration) BorderLeft

func (dsd *DOMCSSStyleDeclaration) BorderLeft() string

BorderLeft returns the border left.

func (*DOMCSSStyleDeclaration) BorderLeftColor

func (dsd *DOMCSSStyleDeclaration) BorderLeftColor() string

BorderLeftColor returns the border left color.

func (*DOMCSSStyleDeclaration) BorderLeftStyle

func (dsd *DOMCSSStyleDeclaration) BorderLeftStyle() string

BorderLeftStyle returns the border left style.

func (*DOMCSSStyleDeclaration) BorderLeftWidth

func (dsd *DOMCSSStyleDeclaration) BorderLeftWidth() string

BorderLeftWidth returns the border left width.

func (*DOMCSSStyleDeclaration) BorderRight

func (dsd *DOMCSSStyleDeclaration) BorderRight() string

BorderRight returns the border right.

func (*DOMCSSStyleDeclaration) BorderRightColor

func (dsd *DOMCSSStyleDeclaration) BorderRightColor() string

BorderRightColor returns the border right color.

func (*DOMCSSStyleDeclaration) BorderRightStyle

func (dsd *DOMCSSStyleDeclaration) BorderRightStyle() string

BorderRightStyle returns the border right style.

func (*DOMCSSStyleDeclaration) BorderRightWidth

func (dsd *DOMCSSStyleDeclaration) BorderRightWidth() string

BorderRightWidth returns the border right width.

func (*DOMCSSStyleDeclaration) BorderSpacing

func (dsd *DOMCSSStyleDeclaration) BorderSpacing() string

BorderSpacing returns the border spacing.

func (*DOMCSSStyleDeclaration) BorderStyle

func (dsd *DOMCSSStyleDeclaration) BorderStyle() string

BorderStyle returns the border style.

func (*DOMCSSStyleDeclaration) BorderTop

func (dsd *DOMCSSStyleDeclaration) BorderTop() string

BorderTop returns the border top.

func (*DOMCSSStyleDeclaration) BorderTopColor

func (dsd *DOMCSSStyleDeclaration) BorderTopColor() string

BorderTopColor returns the border top color.

func (*DOMCSSStyleDeclaration) BorderTopStyle

func (dsd *DOMCSSStyleDeclaration) BorderTopStyle() string

BorderTopStyle returns the border top style.

func (*DOMCSSStyleDeclaration) BorderTopWidth

func (dsd *DOMCSSStyleDeclaration) BorderTopWidth() string

BorderTopWidth returns the border top width.

func (*DOMCSSStyleDeclaration) BorderWidth

func (dsd *DOMCSSStyleDeclaration) BorderWidth() string

BorderWidth returns the border width.

func (*DOMCSSStyleDeclaration) Bottom

func (dsd *DOMCSSStyleDeclaration) Bottom() string

Bottom returns the bottom.

func (*DOMCSSStyleDeclaration) CSSFloat added in v0.17.0

func (dsd *DOMCSSStyleDeclaration) CSSFloat() string

CSSFloat returns the CSS float.

func (*DOMCSSStyleDeclaration) CSSText added in v0.17.0

func (dsd *DOMCSSStyleDeclaration) CSSText() string

CSSText returns the CSS text.

func (*DOMCSSStyleDeclaration) CaptionSide

func (dsd *DOMCSSStyleDeclaration) CaptionSide() string

CaptionSide returns the caption side.

func (*DOMCSSStyleDeclaration) Clear

func (dsd *DOMCSSStyleDeclaration) Clear() string

Clear returns the clear.

func (*DOMCSSStyleDeclaration) Clip

func (dsd *DOMCSSStyleDeclaration) Clip() string

Clip returns the clip.

func (*DOMCSSStyleDeclaration) Color

func (dsd *DOMCSSStyleDeclaration) Color() string

Color returns the color.

func (*DOMCSSStyleDeclaration) Content

func (dsd *DOMCSSStyleDeclaration) Content() string

Content returns the content.

func (*DOMCSSStyleDeclaration) CounterIncrement

func (dsd *DOMCSSStyleDeclaration) CounterIncrement() string

CounterIncrement returns the counter increment.

func (*DOMCSSStyleDeclaration) CounterReset

func (dsd *DOMCSSStyleDeclaration) CounterReset() string

CounterReset returns the counter reset.

func (*DOMCSSStyleDeclaration) Cue

func (dsd *DOMCSSStyleDeclaration) Cue() string

Cue returns the cue.

func (*DOMCSSStyleDeclaration) CueAfter

func (dsd *DOMCSSStyleDeclaration) CueAfter() string

CueAfter returns the cue after.

func (*DOMCSSStyleDeclaration) CueBefore

func (dsd *DOMCSSStyleDeclaration) CueBefore() string

CueBefore returns the cue before.

func (*DOMCSSStyleDeclaration) Cursor

func (dsd *DOMCSSStyleDeclaration) Cursor() string

Cursor returns the cursor.

func (*DOMCSSStyleDeclaration) Direction

func (dsd *DOMCSSStyleDeclaration) Direction() string

Direction returns the direction.

func (*DOMCSSStyleDeclaration) Display

func (dsd *DOMCSSStyleDeclaration) Display() string

Display returns the display.

func (*DOMCSSStyleDeclaration) Elevation

func (dsd *DOMCSSStyleDeclaration) Elevation() string

Elevation returns the elevation.

func (*DOMCSSStyleDeclaration) EmptyCells

func (dsd *DOMCSSStyleDeclaration) EmptyCells() string

EmptyCells returns the empty cells.

func (*DOMCSSStyleDeclaration) Font

func (dsd *DOMCSSStyleDeclaration) Font() string

Font returns the font.

func (*DOMCSSStyleDeclaration) FontFamily

func (dsd *DOMCSSStyleDeclaration) FontFamily() string

FontFamily returns the font family.

func (*DOMCSSStyleDeclaration) FontSize

func (dsd *DOMCSSStyleDeclaration) FontSize() string

FontSize returns the font size.

func (*DOMCSSStyleDeclaration) FontSizeAdjust

func (dsd *DOMCSSStyleDeclaration) FontSizeAdjust() string

FontSizeAdjust returns the font size adjust.

func (*DOMCSSStyleDeclaration) FontStretch

func (dsd *DOMCSSStyleDeclaration) FontStretch() string

FontStretch returns the font stretch.

func (*DOMCSSStyleDeclaration) FontStyle

func (dsd *DOMCSSStyleDeclaration) FontStyle() string

FontStyle returns the font style.

func (*DOMCSSStyleDeclaration) FontVariant

func (dsd *DOMCSSStyleDeclaration) FontVariant() string

FontVariant returns the font variant.

func (*DOMCSSStyleDeclaration) FontWeight

func (dsd *DOMCSSStyleDeclaration) FontWeight() string

FontWeight returns the font weight.

func (*DOMCSSStyleDeclaration) GetPropertyCSSValue

func (dsd *DOMCSSStyleDeclaration) GetPropertyCSSValue(propertyName string) *DOMCSSValue

GetPropertyCSSValue wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) GetPropertyPriority

func (dsd *DOMCSSStyleDeclaration) GetPropertyPriority(propertyName string) string

GetPropertyPriority wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) GetPropertyShorthand

func (dsd *DOMCSSStyleDeclaration) GetPropertyShorthand(propertyName string) string

GetPropertyShorthand wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) GetPropertyValue

func (dsd *DOMCSSStyleDeclaration) GetPropertyValue(propertyName string) string

GetPropertyValue wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) Height

func (dsd *DOMCSSStyleDeclaration) Height() string

Height returns the height.

func (*DOMCSSStyleDeclaration) IsPropertyImplicit

func (dsd *DOMCSSStyleDeclaration) IsPropertyImplicit(propertyName string) bool

IsPropertyImplicit wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) Item

func (dsd *DOMCSSStyleDeclaration) Item(index int) string

Item wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) Left

func (dsd *DOMCSSStyleDeclaration) Left() string

Left returns the left.

func (*DOMCSSStyleDeclaration) Length

func (dsd *DOMCSSStyleDeclaration) Length() int

Length returns the length.

func (*DOMCSSStyleDeclaration) LetterSpacing

func (dsd *DOMCSSStyleDeclaration) LetterSpacing() string

LetterSpacing returns the letter spacing.

func (*DOMCSSStyleDeclaration) LineHeight

func (dsd *DOMCSSStyleDeclaration) LineHeight() string

LineHeight returns the line height.

func (*DOMCSSStyleDeclaration) ListStyle

func (dsd *DOMCSSStyleDeclaration) ListStyle() string

ListStyle returns the list style.

func (*DOMCSSStyleDeclaration) ListStyleImage

func (dsd *DOMCSSStyleDeclaration) ListStyleImage() string

ListStyleImage returns the list style image.

func (*DOMCSSStyleDeclaration) ListStylePosition

func (dsd *DOMCSSStyleDeclaration) ListStylePosition() string

ListStylePosition returns the list style position.

func (*DOMCSSStyleDeclaration) ListStyleType

func (dsd *DOMCSSStyleDeclaration) ListStyleType() string

ListStyleType returns the list style type.

func (*DOMCSSStyleDeclaration) Margin

func (dsd *DOMCSSStyleDeclaration) Margin() string

Margin returns the margin.

func (*DOMCSSStyleDeclaration) MarginBottom

func (dsd *DOMCSSStyleDeclaration) MarginBottom() string

MarginBottom returns the margin bottom.

func (*DOMCSSStyleDeclaration) MarginLeft

func (dsd *DOMCSSStyleDeclaration) MarginLeft() string

MarginLeft returns the margin left.

func (*DOMCSSStyleDeclaration) MarginRight

func (dsd *DOMCSSStyleDeclaration) MarginRight() string

MarginRight returns the margin right.

func (*DOMCSSStyleDeclaration) MarginTop

func (dsd *DOMCSSStyleDeclaration) MarginTop() string

MarginTop returns the margin top.

func (*DOMCSSStyleDeclaration) MarkerOffset

func (dsd *DOMCSSStyleDeclaration) MarkerOffset() string

MarkerOffset returns the marker offset.

func (*DOMCSSStyleDeclaration) Marks

func (dsd *DOMCSSStyleDeclaration) Marks() string

Marks returns the marks.

func (*DOMCSSStyleDeclaration) MaxHeight

func (dsd *DOMCSSStyleDeclaration) MaxHeight() string

MaxHeight returns the max height.

func (*DOMCSSStyleDeclaration) MaxWidth

func (dsd *DOMCSSStyleDeclaration) MaxWidth() string

MaxWidth returns the max width.

func (*DOMCSSStyleDeclaration) MinHeight

func (dsd *DOMCSSStyleDeclaration) MinHeight() string

MinHeight returns the min height.

func (*DOMCSSStyleDeclaration) MinWidth

func (dsd *DOMCSSStyleDeclaration) MinWidth() string

MinWidth returns the min width.

func (*DOMCSSStyleDeclaration) Orphans

func (dsd *DOMCSSStyleDeclaration) Orphans() string

Orphans returns the orphans.

func (*DOMCSSStyleDeclaration) Outline

func (dsd *DOMCSSStyleDeclaration) Outline() string

Outline returns the outline.

func (*DOMCSSStyleDeclaration) OutlineColor

func (dsd *DOMCSSStyleDeclaration) OutlineColor() string

OutlineColor returns the outline color.

func (*DOMCSSStyleDeclaration) OutlineStyle

func (dsd *DOMCSSStyleDeclaration) OutlineStyle() string

OutlineStyle returns the outline style.

func (*DOMCSSStyleDeclaration) OutlineWidth

func (dsd *DOMCSSStyleDeclaration) OutlineWidth() string

OutlineWidth returns the outline width.

func (*DOMCSSStyleDeclaration) Overflow

func (dsd *DOMCSSStyleDeclaration) Overflow() string

Overflow returns the overflow.

func (*DOMCSSStyleDeclaration) Padding

func (dsd *DOMCSSStyleDeclaration) Padding() string

Padding returns the padding.

func (*DOMCSSStyleDeclaration) PaddingBottom

func (dsd *DOMCSSStyleDeclaration) PaddingBottom() string

PaddingBottom returns the padding bottom.

func (*DOMCSSStyleDeclaration) PaddingLeft

func (dsd *DOMCSSStyleDeclaration) PaddingLeft() string

PaddingLeft returns the padding left.

func (*DOMCSSStyleDeclaration) PaddingRight

func (dsd *DOMCSSStyleDeclaration) PaddingRight() string

PaddingRight returns the padding right.

func (*DOMCSSStyleDeclaration) PaddingTop

func (dsd *DOMCSSStyleDeclaration) PaddingTop() string

PaddingTop returns the padding top.

func (*DOMCSSStyleDeclaration) Page

func (dsd *DOMCSSStyleDeclaration) Page() string

Page returns the page.

func (*DOMCSSStyleDeclaration) PageBreakAfter

func (dsd *DOMCSSStyleDeclaration) PageBreakAfter() string

PageBreakAfter returns the page break after.

func (*DOMCSSStyleDeclaration) PageBreakBefore

func (dsd *DOMCSSStyleDeclaration) PageBreakBefore() string

PageBreakBefore returns the page break before.

func (*DOMCSSStyleDeclaration) PageBreakInside

func (dsd *DOMCSSStyleDeclaration) PageBreakInside() string

PageBreakInside returns the page break inside.

func (*DOMCSSStyleDeclaration) ParentRule

func (dsd *DOMCSSStyleDeclaration) ParentRule() *DOMCSSRule

ParentRule returns the parent rule.

func (*DOMCSSStyleDeclaration) Pause

func (dsd *DOMCSSStyleDeclaration) Pause() string

Pause returns the pause.

func (*DOMCSSStyleDeclaration) PauseAfter

func (dsd *DOMCSSStyleDeclaration) PauseAfter() string

PauseAfter returns the pause after.

func (*DOMCSSStyleDeclaration) PauseBefore

func (dsd *DOMCSSStyleDeclaration) PauseBefore() string

PauseBefore returns the pause before.

func (*DOMCSSStyleDeclaration) Pitch

func (dsd *DOMCSSStyleDeclaration) Pitch() string

Pitch returns the pitch.

func (*DOMCSSStyleDeclaration) PitchRange

func (dsd *DOMCSSStyleDeclaration) PitchRange() string

PitchRange returns the pitch range.

func (*DOMCSSStyleDeclaration) PlayDuring

func (dsd *DOMCSSStyleDeclaration) PlayDuring() string

PlayDuring returns the play during.

func (*DOMCSSStyleDeclaration) Position

func (dsd *DOMCSSStyleDeclaration) Position() string

Position returns the position.

func (*DOMCSSStyleDeclaration) Quotes

func (dsd *DOMCSSStyleDeclaration) Quotes() string

Quotes returns the quotes.

func (*DOMCSSStyleDeclaration) RemoveProperty

func (dsd *DOMCSSStyleDeclaration) RemoveProperty(propertyName string) string

RemoveProperty removes property.

func (*DOMCSSStyleDeclaration) Richness

func (dsd *DOMCSSStyleDeclaration) Richness() string

Richness returns the richness.

func (*DOMCSSStyleDeclaration) Right

func (dsd *DOMCSSStyleDeclaration) Right() string

Right returns the right.

func (*DOMCSSStyleDeclaration) SetAzimuth

func (dsd *DOMCSSStyleDeclaration) SetAzimuth(azimuth string)

SetAzimuth wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetBackground

func (dsd *DOMCSSStyleDeclaration) SetBackground(background string)

SetBackground wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetBackgroundAttachment

func (dsd *DOMCSSStyleDeclaration) SetBackgroundAttachment(backgroundAttachment string)

SetBackgroundAttachment wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetBackgroundColor

func (dsd *DOMCSSStyleDeclaration) SetBackgroundColor(backgroundColor string)

SetBackgroundColor wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetBackgroundImage

func (dsd *DOMCSSStyleDeclaration) SetBackgroundImage(backgroundImage string)

SetBackgroundImage wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetBackgroundPosition

func (dsd *DOMCSSStyleDeclaration) SetBackgroundPosition(backgroundPosition string)

SetBackgroundPosition wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetBackgroundRepeat

func (dsd *DOMCSSStyleDeclaration) SetBackgroundRepeat(backgroundRepeat string)

SetBackgroundRepeat wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetBorder

func (dsd *DOMCSSStyleDeclaration) SetBorder(border string)

SetBorder wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetBorderBottom

func (dsd *DOMCSSStyleDeclaration) SetBorderBottom(borderBottom string)

SetBorderBottom wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetBorderBottomColor

func (dsd *DOMCSSStyleDeclaration) SetBorderBottomColor(borderBottomColor string)

SetBorderBottomColor wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetBorderBottomStyle

func (dsd *DOMCSSStyleDeclaration) SetBorderBottomStyle(borderBottomStyle string)

SetBorderBottomStyle wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetBorderBottomWidth

func (dsd *DOMCSSStyleDeclaration) SetBorderBottomWidth(borderBottomWidth string)

SetBorderBottomWidth wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetBorderCollapse

func (dsd *DOMCSSStyleDeclaration) SetBorderCollapse(borderCollapse string)

SetBorderCollapse wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetBorderColor

func (dsd *DOMCSSStyleDeclaration) SetBorderColor(borderColor string)

SetBorderColor wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetBorderLeft

func (dsd *DOMCSSStyleDeclaration) SetBorderLeft(borderLeft string)

SetBorderLeft wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetBorderLeftColor

func (dsd *DOMCSSStyleDeclaration) SetBorderLeftColor(borderLeftColor string)

SetBorderLeftColor wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetBorderLeftStyle

func (dsd *DOMCSSStyleDeclaration) SetBorderLeftStyle(borderLeftStyle string)

SetBorderLeftStyle wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetBorderLeftWidth

func (dsd *DOMCSSStyleDeclaration) SetBorderLeftWidth(borderLeftWidth string)

SetBorderLeftWidth wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetBorderRight

func (dsd *DOMCSSStyleDeclaration) SetBorderRight(borderRight string)

SetBorderRight wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetBorderRightColor

func (dsd *DOMCSSStyleDeclaration) SetBorderRightColor(borderRightColor string)

SetBorderRightColor wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetBorderRightStyle

func (dsd *DOMCSSStyleDeclaration) SetBorderRightStyle(borderRightStyle string)

SetBorderRightStyle wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetBorderRightWidth

func (dsd *DOMCSSStyleDeclaration) SetBorderRightWidth(borderRightWidth string)

SetBorderRightWidth wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetBorderSpacing

func (dsd *DOMCSSStyleDeclaration) SetBorderSpacing(borderSpacing string)

SetBorderSpacing wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetBorderStyle

func (dsd *DOMCSSStyleDeclaration) SetBorderStyle(borderStyle string)

SetBorderStyle wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetBorderTop

func (dsd *DOMCSSStyleDeclaration) SetBorderTop(borderTop string)

SetBorderTop wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetBorderTopColor

func (dsd *DOMCSSStyleDeclaration) SetBorderTopColor(borderTopColor string)

SetBorderTopColor wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetBorderTopStyle

func (dsd *DOMCSSStyleDeclaration) SetBorderTopStyle(borderTopStyle string)

SetBorderTopStyle wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetBorderTopWidth

func (dsd *DOMCSSStyleDeclaration) SetBorderTopWidth(borderTopWidth string)

SetBorderTopWidth wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetBorderWidth

func (dsd *DOMCSSStyleDeclaration) SetBorderWidth(borderWidth string)

SetBorderWidth wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetBottom

func (dsd *DOMCSSStyleDeclaration) SetBottom(bottom string)

SetBottom wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetCSSFloat added in v0.17.0

func (dsd *DOMCSSStyleDeclaration) SetCSSFloat(cssFloat string)

SetCSSFloat wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetCaptionSide

func (dsd *DOMCSSStyleDeclaration) SetCaptionSide(captionSide string)

SetCaptionSide wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetClear

func (dsd *DOMCSSStyleDeclaration) SetClear(clear string)

SetClear wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetClip

func (dsd *DOMCSSStyleDeclaration) SetClip(clip string)

SetClip wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetColor

func (dsd *DOMCSSStyleDeclaration) SetColor(color string)

SetColor wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetContent

func (dsd *DOMCSSStyleDeclaration) SetContent(content string)

SetContent wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetCounterIncrement

func (dsd *DOMCSSStyleDeclaration) SetCounterIncrement(counterIncrement string)

SetCounterIncrement wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetCounterReset

func (dsd *DOMCSSStyleDeclaration) SetCounterReset(counterReset string)

SetCounterReset wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetCue

func (dsd *DOMCSSStyleDeclaration) SetCue(cue string)

SetCue wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetCueAfter

func (dsd *DOMCSSStyleDeclaration) SetCueAfter(cueAfter string)

SetCueAfter wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetCueBefore

func (dsd *DOMCSSStyleDeclaration) SetCueBefore(cueBefore string)

SetCueBefore wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetCursor

func (dsd *DOMCSSStyleDeclaration) SetCursor(cursor string)

SetCursor wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetDirection

func (dsd *DOMCSSStyleDeclaration) SetDirection(direction string)

SetDirection wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetDisplay

func (dsd *DOMCSSStyleDeclaration) SetDisplay(display string)

SetDisplay wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetElevation

func (dsd *DOMCSSStyleDeclaration) SetElevation(elevation string)

SetElevation wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetEmptyCells

func (dsd *DOMCSSStyleDeclaration) SetEmptyCells(emptyCells string)

SetEmptyCells wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetFont

func (dsd *DOMCSSStyleDeclaration) SetFont(font string)

SetFont wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetFontFamily

func (dsd *DOMCSSStyleDeclaration) SetFontFamily(fontFamily string)

SetFontFamily wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetFontSize

func (dsd *DOMCSSStyleDeclaration) SetFontSize(fontSize string)

SetFontSize wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetFontSizeAdjust

func (dsd *DOMCSSStyleDeclaration) SetFontSizeAdjust(fontSizeAdjust string)

SetFontSizeAdjust wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetFontStretch

func (dsd *DOMCSSStyleDeclaration) SetFontStretch(fontStretch string)

SetFontStretch wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetFontStyle

func (dsd *DOMCSSStyleDeclaration) SetFontStyle(fontStyle string)

SetFontStyle wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetFontVariant

func (dsd *DOMCSSStyleDeclaration) SetFontVariant(fontVariant string)

SetFontVariant wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetFontWeight

func (dsd *DOMCSSStyleDeclaration) SetFontWeight(fontWeight string)

SetFontWeight wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetHeight

func (dsd *DOMCSSStyleDeclaration) SetHeight(height string)

SetHeight wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetLeft

func (dsd *DOMCSSStyleDeclaration) SetLeft(left string)

SetLeft wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetLetterSpacing

func (dsd *DOMCSSStyleDeclaration) SetLetterSpacing(letterSpacing string)

SetLetterSpacing wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetLineHeight

func (dsd *DOMCSSStyleDeclaration) SetLineHeight(lineHeight string)

SetLineHeight wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetListStyle

func (dsd *DOMCSSStyleDeclaration) SetListStyle(listStyle string)

SetListStyle wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetListStyleImage

func (dsd *DOMCSSStyleDeclaration) SetListStyleImage(listStyleImage string)

SetListStyleImage wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetListStylePosition

func (dsd *DOMCSSStyleDeclaration) SetListStylePosition(listStylePosition string)

SetListStylePosition wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetListStyleType

func (dsd *DOMCSSStyleDeclaration) SetListStyleType(listStyleType string)

SetListStyleType wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetMargin

func (dsd *DOMCSSStyleDeclaration) SetMargin(margin string)

SetMargin wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetMarginBottom

func (dsd *DOMCSSStyleDeclaration) SetMarginBottom(marginBottom string)

SetMarginBottom wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetMarginLeft

func (dsd *DOMCSSStyleDeclaration) SetMarginLeft(marginLeft string)

SetMarginLeft wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetMarginRight

func (dsd *DOMCSSStyleDeclaration) SetMarginRight(marginRight string)

SetMarginRight wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetMarginTop

func (dsd *DOMCSSStyleDeclaration) SetMarginTop(marginTop string)

SetMarginTop wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetMarkerOffset

func (dsd *DOMCSSStyleDeclaration) SetMarkerOffset(markerOffset string)

SetMarkerOffset wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetMarks

func (dsd *DOMCSSStyleDeclaration) SetMarks(marks string)

SetMarks wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetMaxHeight

func (dsd *DOMCSSStyleDeclaration) SetMaxHeight(maxHeight string)

SetMaxHeight wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetMaxWidth

func (dsd *DOMCSSStyleDeclaration) SetMaxWidth(maxWidth string)

SetMaxWidth wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetMinHeight

func (dsd *DOMCSSStyleDeclaration) SetMinHeight(minHeight string)

SetMinHeight wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetMinWidth

func (dsd *DOMCSSStyleDeclaration) SetMinWidth(minWidth string)

SetMinWidth wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetOrphans

func (dsd *DOMCSSStyleDeclaration) SetOrphans(orphans string)

SetOrphans wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetOutline

func (dsd *DOMCSSStyleDeclaration) SetOutline(outline string)

SetOutline wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetOutlineColor

func (dsd *DOMCSSStyleDeclaration) SetOutlineColor(outlineColor string)

SetOutlineColor wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetOutlineStyle

func (dsd *DOMCSSStyleDeclaration) SetOutlineStyle(outlineStyle string)

SetOutlineStyle wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetOutlineWidth

func (dsd *DOMCSSStyleDeclaration) SetOutlineWidth(outlineWidth string)

SetOutlineWidth wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetOverflow

func (dsd *DOMCSSStyleDeclaration) SetOverflow(overflow string)

SetOverflow wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetPadding

func (dsd *DOMCSSStyleDeclaration) SetPadding(padding string)

SetPadding wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetPaddingBottom

func (dsd *DOMCSSStyleDeclaration) SetPaddingBottom(paddingBottom string)

SetPaddingBottom wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetPaddingLeft

func (dsd *DOMCSSStyleDeclaration) SetPaddingLeft(paddingLeft string)

SetPaddingLeft wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetPaddingRight

func (dsd *DOMCSSStyleDeclaration) SetPaddingRight(paddingRight string)

SetPaddingRight wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetPaddingTop

func (dsd *DOMCSSStyleDeclaration) SetPaddingTop(paddingTop string)

SetPaddingTop wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetPage

func (dsd *DOMCSSStyleDeclaration) SetPage(page string)

SetPage wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetPageBreakAfter

func (dsd *DOMCSSStyleDeclaration) SetPageBreakAfter(pageBreakAfter string)

SetPageBreakAfter wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetPageBreakBefore

func (dsd *DOMCSSStyleDeclaration) SetPageBreakBefore(pageBreakBefore string)

SetPageBreakBefore wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetPageBreakInside

func (dsd *DOMCSSStyleDeclaration) SetPageBreakInside(pageBreakInside string)

SetPageBreakInside wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetPause

func (dsd *DOMCSSStyleDeclaration) SetPause(pause string)

SetPause wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetPauseAfter

func (dsd *DOMCSSStyleDeclaration) SetPauseAfter(pauseAfter string)

SetPauseAfter wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetPauseBefore

func (dsd *DOMCSSStyleDeclaration) SetPauseBefore(pauseBefore string)

SetPauseBefore wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetPitch

func (dsd *DOMCSSStyleDeclaration) SetPitch(pitch string)

SetPitch wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetPitchRange

func (dsd *DOMCSSStyleDeclaration) SetPitchRange(pitchRange string)

SetPitchRange wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetPlayDuring

func (dsd *DOMCSSStyleDeclaration) SetPlayDuring(playDuring string)

SetPlayDuring wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetPosition

func (dsd *DOMCSSStyleDeclaration) SetPosition(position string)

SetPosition wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetProperty

func (dsd *DOMCSSStyleDeclaration) SetProperty(propertyName string, value string, priority string)

SetProperty wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetPropertyValuePriority

func (dsd *DOMCSSStyleDeclaration) SetPropertyValuePriority(propertyName string, value string, priority string)

SetPropertyValuePriority wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetQuotes

func (dsd *DOMCSSStyleDeclaration) SetQuotes(quotes string)

SetQuotes wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetRichness

func (dsd *DOMCSSStyleDeclaration) SetRichness(richness string)

SetRichness wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetRight

func (dsd *DOMCSSStyleDeclaration) SetRight(right string)

SetRight wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetSize

func (dsd *DOMCSSStyleDeclaration) SetSize(size string)

SetSize wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetSpeak

func (dsd *DOMCSSStyleDeclaration) SetSpeak(speak string)

SetSpeak wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetSpeakHeader

func (dsd *DOMCSSStyleDeclaration) SetSpeakHeader(speakHeader string)

SetSpeakHeader wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetSpeakNumeral

func (dsd *DOMCSSStyleDeclaration) SetSpeakNumeral(speakNumeral string)

SetSpeakNumeral wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetSpeakPunctuation

func (dsd *DOMCSSStyleDeclaration) SetSpeakPunctuation(speakPunctuation string)

SetSpeakPunctuation wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetSpeechRate

func (dsd *DOMCSSStyleDeclaration) SetSpeechRate(speechRate string)

SetSpeechRate wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetStress

func (dsd *DOMCSSStyleDeclaration) SetStress(stress string)

SetStress wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetTableLayout

func (dsd *DOMCSSStyleDeclaration) SetTableLayout(tableLayout string)

SetTableLayout wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetTextAlign

func (dsd *DOMCSSStyleDeclaration) SetTextAlign(textAlign string)

SetTextAlign wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetTextDecoration

func (dsd *DOMCSSStyleDeclaration) SetTextDecoration(textDecoration string)

SetTextDecoration wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetTextIndent

func (dsd *DOMCSSStyleDeclaration) SetTextIndent(textIndent string)

SetTextIndent wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetTextShadow

func (dsd *DOMCSSStyleDeclaration) SetTextShadow(textShadow string)

SetTextShadow wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetTextTransform

func (dsd *DOMCSSStyleDeclaration) SetTextTransform(textTransform string)

SetTextTransform wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetTop

func (dsd *DOMCSSStyleDeclaration) SetTop(top string)

SetTop wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetUnicodeBidi

func (dsd *DOMCSSStyleDeclaration) SetUnicodeBidi(unicodeBidi string)

SetUnicodeBidi wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetVerticalAlign

func (dsd *DOMCSSStyleDeclaration) SetVerticalAlign(verticalAlign string)

SetVerticalAlign wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetVisibility

func (dsd *DOMCSSStyleDeclaration) SetVisibility(visibility string)

SetVisibility wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetVoiceFamily

func (dsd *DOMCSSStyleDeclaration) SetVoiceFamily(voiceFamily string)

SetVoiceFamily wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetVolume

func (dsd *DOMCSSStyleDeclaration) SetVolume(volume string)

SetVolume wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetWhiteSpace

func (dsd *DOMCSSStyleDeclaration) SetWhiteSpace(whiteSpace string)

SetWhiteSpace wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetWidows

func (dsd *DOMCSSStyleDeclaration) SetWidows(widows string)

SetWidows wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetWidth

func (dsd *DOMCSSStyleDeclaration) SetWidth(width string)

SetWidth wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetWordSpacing

func (dsd *DOMCSSStyleDeclaration) SetWordSpacing(wordSpacing string)

SetWordSpacing wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) SetZIndex

func (dsd *DOMCSSStyleDeclaration) SetZIndex(zIndex string)

SetZIndex wraps the corresponding Objective-C method.

func (*DOMCSSStyleDeclaration) Size

func (dsd *DOMCSSStyleDeclaration) Size() string

Size returns the size.

func (*DOMCSSStyleDeclaration) Speak

func (dsd *DOMCSSStyleDeclaration) Speak() string

Speak returns the speak.

func (*DOMCSSStyleDeclaration) SpeakHeader

func (dsd *DOMCSSStyleDeclaration) SpeakHeader() string

SpeakHeader returns the speak header.

func (*DOMCSSStyleDeclaration) SpeakNumeral

func (dsd *DOMCSSStyleDeclaration) SpeakNumeral() string

SpeakNumeral returns the speak numeral.

func (*DOMCSSStyleDeclaration) SpeakPunctuation

func (dsd *DOMCSSStyleDeclaration) SpeakPunctuation() string

SpeakPunctuation returns the speak punctuation.

func (*DOMCSSStyleDeclaration) SpeechRate

func (dsd *DOMCSSStyleDeclaration) SpeechRate() string

SpeechRate returns the speech rate.

func (*DOMCSSStyleDeclaration) Stress

func (dsd *DOMCSSStyleDeclaration) Stress() string

Stress returns the stress.

func (*DOMCSSStyleDeclaration) TableLayout

func (dsd *DOMCSSStyleDeclaration) TableLayout() string

TableLayout returns the table layout.

func (*DOMCSSStyleDeclaration) TextAlign

func (dsd *DOMCSSStyleDeclaration) TextAlign() string

TextAlign returns the text align.

func (*DOMCSSStyleDeclaration) TextDecoration

func (dsd *DOMCSSStyleDeclaration) TextDecoration() string

TextDecoration returns the text decoration.

func (*DOMCSSStyleDeclaration) TextIndent

func (dsd *DOMCSSStyleDeclaration) TextIndent() string

TextIndent returns the text indent.

func (*DOMCSSStyleDeclaration) TextShadow

func (dsd *DOMCSSStyleDeclaration) TextShadow() string

TextShadow returns the text shadow.

func (*DOMCSSStyleDeclaration) TextTransform

func (dsd *DOMCSSStyleDeclaration) TextTransform() string

TextTransform returns the text transform.

func (*DOMCSSStyleDeclaration) Top

func (dsd *DOMCSSStyleDeclaration) Top() string

Top returns the top.

func (*DOMCSSStyleDeclaration) UnicodeBidi

func (dsd *DOMCSSStyleDeclaration) UnicodeBidi() string

UnicodeBidi returns the unicode bidi.

func (*DOMCSSStyleDeclaration) VerticalAlign

func (dsd *DOMCSSStyleDeclaration) VerticalAlign() string

VerticalAlign returns the vertical align.

func (*DOMCSSStyleDeclaration) Visibility

func (dsd *DOMCSSStyleDeclaration) Visibility() string

Visibility returns the visibility.

func (*DOMCSSStyleDeclaration) VoiceFamily

func (dsd *DOMCSSStyleDeclaration) VoiceFamily() string

VoiceFamily returns the voice family.

func (*DOMCSSStyleDeclaration) Volume

func (dsd *DOMCSSStyleDeclaration) Volume() string

Volume returns the volume.

func (*DOMCSSStyleDeclaration) WhiteSpace

func (dsd *DOMCSSStyleDeclaration) WhiteSpace() string

WhiteSpace returns the white space.

func (*DOMCSSStyleDeclaration) Widows

func (dsd *DOMCSSStyleDeclaration) Widows() string

Widows returns the widows.

func (*DOMCSSStyleDeclaration) Width

func (dsd *DOMCSSStyleDeclaration) Width() string

Width returns the width.

func (*DOMCSSStyleDeclaration) WithCSSText added in v0.17.0

func (dsd *DOMCSSStyleDeclaration) WithCSSText(cssText string) *DOMCSSStyleDeclaration

WithCSSText sets the CSS text.

func (*DOMCSSStyleDeclaration) WordSpacing

func (dsd *DOMCSSStyleDeclaration) WordSpacing() string

WordSpacing returns the word spacing.

func (*DOMCSSStyleDeclaration) ZIndex

func (dsd *DOMCSSStyleDeclaration) ZIndex() string

ZIndex returns the z index.

type DOMCSSStyleRule

type DOMCSSStyleRule struct {
	DOMCSSRule
}

DOMCSSStyleRule is an idiomatic wrapper over the Objective-C class DOMCSSStyleRule.

It embeds DOMCSSRule, promoting that type's methods.

func DOMCSSStyleRuleFromID

func DOMCSSStyleRuleFromID(id objc.ID) *DOMCSSStyleRule

DOMCSSStyleRuleFromID adopts an existing Objective-C object as a DOMCSSStyleRule (nil for 0), retaining it and registering a release finalizer.

func NewDOMCSSStyleRule added in v0.17.0

func NewDOMCSSStyleRule() *DOMCSSStyleRule

NewDOMCSSStyleRule creates a new DOMCSSStyleRule.

func (*DOMCSSStyleRule) SelectorText

func (dsr *DOMCSSStyleRule) SelectorText() string

SelectorText returns the selector text.

func (*DOMCSSStyleRule) Style

Style returns the style.

func (*DOMCSSStyleRule) WithCSSText added in v0.17.0

func (dsr *DOMCSSStyleRule) WithCSSText(cssText string) *DOMCSSStyleRule

WithCSSText sets the CSS text.

func (*DOMCSSStyleRule) WithSelectorText added in v0.17.0

func (dsr *DOMCSSStyleRule) WithSelectorText(selectorText string) *DOMCSSStyleRule

WithSelectorText sets the selector text.

type DOMCSSStyleSheet

type DOMCSSStyleSheet struct {
	DOMStyleSheet
}

DOMCSSStyleSheet is an idiomatic wrapper over the Objective-C class DOMCSSStyleSheet.

It embeds DOMStyleSheet, promoting that type's methods.

func DOMCSSStyleSheetFromID

func DOMCSSStyleSheetFromID(id objc.ID) *DOMCSSStyleSheet

DOMCSSStyleSheetFromID adopts an existing Objective-C object as a DOMCSSStyleSheet (nil for 0), retaining it and registering a release finalizer.

func NewDOMCSSStyleSheet added in v0.17.0

func NewDOMCSSStyleSheet() *DOMCSSStyleSheet

NewDOMCSSStyleSheet creates a new DOMCSSStyleSheet.

func (*DOMCSSStyleSheet) AddRuleStyleIndex

func (dss *DOMCSSStyleSheet) AddRuleStyleIndex(selector string, style string, index int) int

AddRuleStyleIndex adds rule style index.

func (*DOMCSSStyleSheet) CSSRules added in v0.17.0

func (dss *DOMCSSStyleSheet) CSSRules() *DOMCSSRuleList

CSSRules returns the CSS rules.

func (*DOMCSSStyleSheet) DeleteRule

func (dss *DOMCSSStyleSheet) DeleteRule(index int)

DeleteRule deletes rule.

func (*DOMCSSStyleSheet) InsertRule

func (dss *DOMCSSStyleSheet) InsertRule(rule string, index int) int

InsertRule inserts rule.

func (*DOMCSSStyleSheet) InsertRuleIndex

func (dss *DOMCSSStyleSheet) InsertRuleIndex(rule string, index int) int

InsertRuleIndex inserts rule index.

func (*DOMCSSStyleSheet) OwnerRule

func (dss *DOMCSSStyleSheet) OwnerRule() *DOMCSSRule

OwnerRule returns the owner rule.

func (*DOMCSSStyleSheet) RemoveRule

func (dss *DOMCSSStyleSheet) RemoveRule(index int)

RemoveRule removes rule.

func (*DOMCSSStyleSheet) Rules

func (dss *DOMCSSStyleSheet) Rules() *DOMCSSRuleList

Rules returns the rules.

func (*DOMCSSStyleSheet) WithDisabled added in v0.17.0

func (dss *DOMCSSStyleSheet) WithDisabled(disabled bool) *DOMCSSStyleSheet

WithDisabled sets the disabled.

type DOMCSSUnknownRule

type DOMCSSUnknownRule struct {
	DOMCSSRule
}

DOMCSSUnknownRule is an idiomatic wrapper over the Objective-C class DOMCSSUnknownRule.

It embeds DOMCSSRule, promoting that type's methods.

func DOMCSSUnknownRuleFromID

func DOMCSSUnknownRuleFromID(id objc.ID) *DOMCSSUnknownRule

DOMCSSUnknownRuleFromID adopts an existing Objective-C object as a DOMCSSUnknownRule (nil for 0), retaining it and registering a release finalizer.

func NewDOMCSSUnknownRule added in v0.17.0

func NewDOMCSSUnknownRule() *DOMCSSUnknownRule

NewDOMCSSUnknownRule creates a new DOMCSSUnknownRule.

func (*DOMCSSUnknownRule) WithCSSText added in v0.17.0

func (dur *DOMCSSUnknownRule) WithCSSText(cssText string) *DOMCSSUnknownRule

WithCSSText sets the CSS text.

type DOMCSSValue

type DOMCSSValue struct {
	DOMObject
}

DOMCSSValue is an idiomatic wrapper over the Objective-C class DOMCSSValue.

DOMCSSValue is an abstract base — you do not construct it directly. Construct one of DOMCSSPrimitiveValue, DOMCSSValueList and pass it where a DOMCSSValue is accepted.

func DOMCSSValueFromID

func DOMCSSValueFromID(id objc.ID) *DOMCSSValue

DOMCSSValueFromID adopts an existing Objective-C object as a DOMCSSValue (nil for 0), retaining it and registering a release finalizer.

func (*DOMCSSValue) CSSText added in v0.17.0

func (dv *DOMCSSValue) CSSText() string

CSSText returns the CSS text.

func (*DOMCSSValue) CSSValueType added in v0.17.0

func (dv *DOMCSSValue) CSSValueType() uint16

CSSValueType returns the CSS value type.

func (*DOMCSSValue) WithCSSText added in v0.17.0

func (dv *DOMCSSValue) WithCSSText(cssText string) *DOMCSSValue

WithCSSText sets the CSS text.

type DOMCSSValueList

type DOMCSSValueList struct {
	DOMCSSValue
}

DOMCSSValueList is an idiomatic wrapper over the Objective-C class DOMCSSValueList.

It embeds DOMCSSValue, promoting that type's methods.

func DOMCSSValueListFromID

func DOMCSSValueListFromID(id objc.ID) *DOMCSSValueList

DOMCSSValueListFromID adopts an existing Objective-C object as a DOMCSSValueList (nil for 0), retaining it and registering a release finalizer.

func NewDOMCSSValueList added in v0.17.0

func NewDOMCSSValueList() *DOMCSSValueList

NewDOMCSSValueList creates a new DOMCSSValueList.

func (*DOMCSSValueList) Item

func (dvl *DOMCSSValueList) Item(index int) *DOMCSSValue

Item wraps the corresponding Objective-C method.

func (*DOMCSSValueList) Length

func (dvl *DOMCSSValueList) Length() int

Length returns the length.

func (*DOMCSSValueList) WithCSSText added in v0.17.0

func (dvl *DOMCSSValueList) WithCSSText(cssText string) *DOMCSSValueList

WithCSSText sets the CSS text.

type DOMCSSValueProvider added in v0.17.0

type DOMCSSValueProvider interface {
	objref.Object
	// contains filtered or unexported methods
}

DOMCSSValueProvider is accepted wherever a DOMCSSValue (or one of its subclasses) is expected.

type DOMCharacterData

type DOMCharacterData struct {
	DOMNode
}

DOMCharacterData is an idiomatic wrapper over the Objective-C class DOMCharacterData.

DOMCharacterData is an abstract base — you do not construct it directly. Construct one of DOMComment, DOMProcessingInstruction, DOMText and pass it where a DOMCharacterData is accepted.

func DOMCharacterDataFromID

func DOMCharacterDataFromID(id objc.ID) *DOMCharacterData

DOMCharacterDataFromID adopts an existing Objective-C object as a DOMCharacterData (nil for 0), retaining it and registering a release finalizer.

func (*DOMCharacterData) AppendData

func (dcd *DOMCharacterData) AppendData(data string)

AppendData appends data.

func (*DOMCharacterData) Data

func (dcd *DOMCharacterData) Data() string

Data returns the data.

func (*DOMCharacterData) DeleteData

func (dcd *DOMCharacterData) DeleteData(offset int, length int)

DeleteData deletes data.

func (*DOMCharacterData) DeleteDataLength

func (dcd *DOMCharacterData) DeleteDataLength(offset int, length int)

DeleteDataLength deletes data length.

func (*DOMCharacterData) InsertData

func (dcd *DOMCharacterData) InsertData(offset int, data string)

InsertData inserts data.

func (*DOMCharacterData) InsertDataData

func (dcd *DOMCharacterData) InsertDataData(offset int, data string)

InsertDataData inserts data data.

func (*DOMCharacterData) Length

func (dcd *DOMCharacterData) Length() int

Length returns the length.

func (*DOMCharacterData) ReplaceData

func (dcd *DOMCharacterData) ReplaceData(offset int, length int, data string)

ReplaceData replaces data.

func (*DOMCharacterData) ReplaceDataLengthData

func (dcd *DOMCharacterData) ReplaceDataLengthData(offset int, length int, data string)

ReplaceDataLengthData replaces data length data.

func (*DOMCharacterData) SubstringData

func (dcd *DOMCharacterData) SubstringData(offset int, length int) string

SubstringData wraps the corresponding Objective-C method.

func (*DOMCharacterData) SubstringDataLength

func (dcd *DOMCharacterData) SubstringDataLength(offset int, length int) string

SubstringDataLength wraps the corresponding Objective-C method.

func (*DOMCharacterData) WithData added in v0.17.0

func (dcd *DOMCharacterData) WithData(data string) *DOMCharacterData

WithData sets the data.

func (*DOMCharacterData) WithNodeValue added in v0.17.0

func (dcd *DOMCharacterData) WithNodeValue(nodeValue string) *DOMCharacterData

WithNodeValue sets the node value.

func (*DOMCharacterData) WithPrefix added in v0.17.0

func (dcd *DOMCharacterData) WithPrefix(prefix string) *DOMCharacterData

WithPrefix sets the prefix.

func (*DOMCharacterData) WithTextContent added in v0.17.0

func (dcd *DOMCharacterData) WithTextContent(textContent string) *DOMCharacterData

WithTextContent sets the text content.

type DOMCharacterDataProvider added in v0.17.0

type DOMCharacterDataProvider interface {
	objref.Object
	// contains filtered or unexported methods
}

DOMCharacterDataProvider is accepted wherever a DOMCharacterData (or one of its subclasses) is expected.

type DOMComment

type DOMComment struct {
	DOMCharacterData
}

DOMComment is an idiomatic wrapper over the Objective-C class DOMComment.

It embeds DOMCharacterData, promoting that type's methods.

func DOMCommentFromID

func DOMCommentFromID(id objc.ID) *DOMComment

DOMCommentFromID adopts an existing Objective-C object as a DOMComment (nil for 0), retaining it and registering a release finalizer.

func NewDOMComment added in v0.17.0

func NewDOMComment() *DOMComment

NewDOMComment creates a new DOMComment.

func (*DOMComment) WithData added in v0.17.0

func (dc *DOMComment) WithData(data string) *DOMComment

WithData sets the data.

func (*DOMComment) WithNodeValue added in v0.17.0

func (dc *DOMComment) WithNodeValue(nodeValue string) *DOMComment

WithNodeValue sets the node value.

func (*DOMComment) WithPrefix added in v0.17.0

func (dc *DOMComment) WithPrefix(prefix string) *DOMComment

WithPrefix sets the prefix.

func (*DOMComment) WithTextContent added in v0.17.0

func (dc *DOMComment) WithTextContent(textContent string) *DOMComment

WithTextContent sets the text content.

type DOMCounter

type DOMCounter struct {
	DOMObject
}

DOMCounter is an idiomatic wrapper over the Objective-C class DOMCounter.

It embeds DOMObject, promoting that type's methods.

func DOMCounterFromID

func DOMCounterFromID(id objc.ID) *DOMCounter

DOMCounterFromID adopts an existing Objective-C object as a DOMCounter (nil for 0), retaining it and registering a release finalizer.

func NewDOMCounter added in v0.17.0

func NewDOMCounter() *DOMCounter

NewDOMCounter creates a new DOMCounter.

func (*DOMCounter) Identifier

func (dc *DOMCounter) Identifier() string

Identifier returns the identifier.

func (*DOMCounter) ListStyle

func (dc *DOMCounter) ListStyle() string

ListStyle returns the list style.

func (*DOMCounter) Separator

func (dc *DOMCounter) Separator() string

Separator returns the separator.

type DOMDocument

type DOMDocument struct {
	DOMNode
}

DOMDocument is an idiomatic wrapper over the Objective-C class DOMDocument.

DOMDocument is an abstract base — you do not construct it directly. Construct one of DOMHTMLDocument and pass it where a DOMDocument is accepted.

func DOMDocumentFromID

func DOMDocumentFromID(id objc.ID) *DOMDocument

DOMDocumentFromID adopts an existing Objective-C object as a DOMDocument (nil for 0), retaining it and registering a release finalizer.

func (*DOMDocument) ActiveElement

func (dd *DOMDocument) ActiveElement() *DOMElement

ActiveElement returns the active element.

func (*DOMDocument) AdoptNode

func (dd *DOMDocument) AdoptNode(source *DOMNode) *DOMNode

AdoptNode wraps the corresponding Objective-C method.

func (*DOMDocument) Anchors

func (dd *DOMDocument) Anchors() *DOMHTMLCollection

Anchors returns the anchors.

func (*DOMDocument) Applets

func (dd *DOMDocument) Applets() *DOMHTMLCollection

Applets returns the applets.

func (*DOMDocument) Body

func (dd *DOMDocument) Body() *DOMHTMLElement

Body returns the body.

func (*DOMDocument) CharacterSet

func (dd *DOMDocument) CharacterSet() string

CharacterSet returns the character set.

func (*DOMDocument) Charset

func (dd *DOMDocument) Charset() string

Charset returns the charset.

func (*DOMDocument) Cookie

func (dd *DOMDocument) Cookie() string

Cookie returns the cookie.

func (*DOMDocument) CreateAttribute

func (dd *DOMDocument) CreateAttribute(name string) *DOMAttr

CreateAttribute creates attribute.

func (*DOMDocument) CreateAttributeNS

func (dd *DOMDocument) CreateAttributeNS(namespaceURI string, qualifiedName string) *DOMAttr

CreateAttributeNS creates attribute ns.

func (*DOMDocument) CreateAttributeNSQualifiedName

func (dd *DOMDocument) CreateAttributeNSQualifiedName(namespaceURI string, qualifiedName string) *DOMAttr

CreateAttributeNSQualifiedName creates attribute ns qualified name.

func (*DOMDocument) CreateCDATASection

func (dd *DOMDocument) CreateCDATASection(data string) *DOMCDATASection

CreateCDATASection creates cdata section.

func (*DOMDocument) CreateCSSStyleDeclaration

func (dd *DOMDocument) CreateCSSStyleDeclaration() *DOMCSSStyleDeclaration

CreateCSSStyleDeclaration returns the create CSS style declaration.

func (*DOMDocument) CreateComment

func (dd *DOMDocument) CreateComment(data string) *DOMComment

CreateComment creates comment.

func (*DOMDocument) CreateDocumentFragment

func (dd *DOMDocument) CreateDocumentFragment() *DOMDocumentFragment

CreateDocumentFragment returns the create document fragment.

func (*DOMDocument) CreateElement

func (dd *DOMDocument) CreateElement(tagName string) *DOMElement

CreateElement creates element.

func (*DOMDocument) CreateElementNS

func (dd *DOMDocument) CreateElementNS(namespaceURI string, qualifiedName string) *DOMElement

CreateElementNS creates element ns.

func (*DOMDocument) CreateElementNSQualifiedName

func (dd *DOMDocument) CreateElementNSQualifiedName(namespaceURI string, qualifiedName string) *DOMElement

CreateElementNSQualifiedName creates element ns qualified name.

func (*DOMDocument) CreateEntityReference

func (dd *DOMDocument) CreateEntityReference(name string) *DOMEntityReference

CreateEntityReference creates entity reference.

func (*DOMDocument) CreateEvent

func (dd *DOMDocument) CreateEvent(eventType string) *DOMEvent

CreateEvent creates event.

func (*DOMDocument) CreateProcessingInstruction

func (dd *DOMDocument) CreateProcessingInstruction(target string, data string) *DOMProcessingInstruction

CreateProcessingInstruction creates processing instruction.

func (*DOMDocument) CreateProcessingInstructionData

func (dd *DOMDocument) CreateProcessingInstructionData(target string, data string) *DOMProcessingInstruction

CreateProcessingInstructionData creates processing instruction data.

func (*DOMDocument) CreateRange

func (dd *DOMDocument) CreateRange() *DOMRange

CreateRange returns the create range.

func (*DOMDocument) CreateTextNode

func (dd *DOMDocument) CreateTextNode(data string) *DOMText

CreateTextNode creates text node.

func (*DOMDocument) DefaultCharset

func (dd *DOMDocument) DefaultCharset() string

DefaultCharset returns the default charset.

func (*DOMDocument) DefaultView

func (dd *DOMDocument) DefaultView() *DOMAbstractView

DefaultView returns the default view.

func (*DOMDocument) Doctype

func (dd *DOMDocument) Doctype() *DOMDocumentType

Doctype returns the doctype.

func (*DOMDocument) DocumentElement

func (dd *DOMDocument) DocumentElement() *DOMElement

DocumentElement returns the document element.

func (*DOMDocument) DocumentURI

func (dd *DOMDocument) DocumentURI() string

DocumentURI returns the document URI.

func (*DOMDocument) Domain

func (dd *DOMDocument) Domain() string

Domain returns the domain.

func (*DOMDocument) ElementFromPointY

func (dd *DOMDocument) ElementFromPointY(x_ int, y int) *DOMElement

ElementFromPointY wraps the corresponding Objective-C method.

func (*DOMDocument) ExecCommand

func (dd *DOMDocument) ExecCommand(command string) bool

ExecCommand wraps the corresponding Objective-C method.

func (*DOMDocument) ExecCommandUserInterface

func (dd *DOMDocument) ExecCommandUserInterface(command string, userInterface bool) bool

ExecCommandUserInterface wraps the corresponding Objective-C method.

func (*DOMDocument) ExecCommandUserInterfaceValue

func (dd *DOMDocument) ExecCommandUserInterfaceValue(command string, userInterface bool, value string) bool

ExecCommandUserInterfaceValue wraps the corresponding Objective-C method.

func (*DOMDocument) Forms

func (dd *DOMDocument) Forms() *DOMHTMLCollection

Forms returns the forms.

func (*DOMDocument) GetComputedStyle

func (dd *DOMDocument) GetComputedStyle(element *DOMElement, pseudoElement string) *DOMCSSStyleDeclaration

GetComputedStyle wraps the corresponding Objective-C method.

func (*DOMDocument) GetComputedStylePseudoElement

func (dd *DOMDocument) GetComputedStylePseudoElement(element *DOMElement, pseudoElement string) *DOMCSSStyleDeclaration

GetComputedStylePseudoElement wraps the corresponding Objective-C method.

func (*DOMDocument) GetElementByID added in v0.17.0

func (dd *DOMDocument) GetElementByID(elementId string) *DOMElement

GetElementByID wraps the corresponding Objective-C method.

func (*DOMDocument) GetElementsByClassName

func (dd *DOMDocument) GetElementsByClassName(classNames string) *DOMNodeList

GetElementsByClassName wraps the corresponding Objective-C method.

func (*DOMDocument) GetElementsByName

func (dd *DOMDocument) GetElementsByName(elementName string) *DOMNodeList

GetElementsByName wraps the corresponding Objective-C method.

func (*DOMDocument) GetElementsByTagName

func (dd *DOMDocument) GetElementsByTagName(tagname string) *DOMNodeList

GetElementsByTagName wraps the corresponding Objective-C method.

func (*DOMDocument) GetElementsByTagNameNS

func (dd *DOMDocument) GetElementsByTagNameNS(namespaceURI string, localName string) *DOMNodeList

GetElementsByTagNameNS wraps the corresponding Objective-C method.

func (*DOMDocument) GetElementsByTagNameNSLocalName

func (dd *DOMDocument) GetElementsByTagNameNSLocalName(namespaceURI string, localName string) *DOMNodeList

GetElementsByTagNameNSLocalName wraps the corresponding Objective-C method.

func (*DOMDocument) GetMatchedCSSRulesPseudoElement

func (dd *DOMDocument) GetMatchedCSSRulesPseudoElement(element *DOMElement, pseudoElement string) *DOMCSSRuleList

GetMatchedCSSRulesPseudoElement wraps the corresponding Objective-C method.

func (*DOMDocument) GetMatchedCSSRulesPseudoElementAuthorOnly

func (dd *DOMDocument) GetMatchedCSSRulesPseudoElementAuthorOnly(element *DOMElement, pseudoElement string, authorOnly bool) *DOMCSSRuleList

GetMatchedCSSRulesPseudoElementAuthorOnly wraps the corresponding Objective-C method.

func (*DOMDocument) GetOverrideStyle

func (dd *DOMDocument) GetOverrideStyle(element *DOMElement, pseudoElement string) *DOMCSSStyleDeclaration

GetOverrideStyle wraps the corresponding Objective-C method.

func (*DOMDocument) GetOverrideStylePseudoElement

func (dd *DOMDocument) GetOverrideStylePseudoElement(element *DOMElement, pseudoElement string) *DOMCSSStyleDeclaration

GetOverrideStylePseudoElement wraps the corresponding Objective-C method.

func (*DOMDocument) HasFocus

func (dd *DOMDocument) HasFocus() bool

HasFocus reports whether the object has focus.

func (*DOMDocument) Images

func (dd *DOMDocument) Images() *DOMHTMLCollection

Images returns the images.

func (*DOMDocument) Implementation

func (dd *DOMDocument) Implementation() *DOMImplementation

Implementation returns the implementation.

func (*DOMDocument) ImportNode

func (dd *DOMDocument) ImportNode(importedNode *DOMNode, deep bool) *DOMNode

ImportNode wraps the corresponding Objective-C method.

func (*DOMDocument) ImportNodeDeep

func (dd *DOMDocument) ImportNodeDeep(importedNode *DOMNode, deep bool) *DOMNode

ImportNodeDeep wraps the corresponding Objective-C method.

func (*DOMDocument) InputEncoding

func (dd *DOMDocument) InputEncoding() string

InputEncoding returns the input encoding.

func (*DOMDocument) LastModified

func (dd *DOMDocument) LastModified() string

LastModified returns the last modified.

func (dd *DOMDocument) Links() *DOMHTMLCollection

Links returns the links.

func (*DOMDocument) PreferredStylesheetSet

func (dd *DOMDocument) PreferredStylesheetSet() string

PreferredStylesheetSet returns the preferred stylesheet set.

func (*DOMDocument) QueryCommandEnabled

func (dd *DOMDocument) QueryCommandEnabled(command string) bool

QueryCommandEnabled wraps the corresponding Objective-C method.

func (*DOMDocument) QueryCommandIndeterm

func (dd *DOMDocument) QueryCommandIndeterm(command string) bool

QueryCommandIndeterm wraps the corresponding Objective-C method.

func (*DOMDocument) QueryCommandState

func (dd *DOMDocument) QueryCommandState(command string) bool

QueryCommandState wraps the corresponding Objective-C method.

func (*DOMDocument) QueryCommandSupported

func (dd *DOMDocument) QueryCommandSupported(command string) bool

QueryCommandSupported wraps the corresponding Objective-C method.

func (*DOMDocument) QueryCommandValue

func (dd *DOMDocument) QueryCommandValue(command string) string

QueryCommandValue wraps the corresponding Objective-C method.

func (*DOMDocument) QuerySelector

func (dd *DOMDocument) QuerySelector(selectors string) *DOMElement

QuerySelector wraps the corresponding Objective-C method.

func (*DOMDocument) QuerySelectorAll

func (dd *DOMDocument) QuerySelectorAll(selectors string) *DOMNodeList

QuerySelectorAll wraps the corresponding Objective-C method.

func (*DOMDocument) ReadyState

func (dd *DOMDocument) ReadyState() string

ReadyState returns the ready state.

func (*DOMDocument) Referrer

func (dd *DOMDocument) Referrer() string

Referrer returns the referrer.

func (*DOMDocument) SelectedStylesheetSet

func (dd *DOMDocument) SelectedStylesheetSet() string

SelectedStylesheetSet returns the selected stylesheet set.

func (*DOMDocument) StyleSheets

func (dd *DOMDocument) StyleSheets() *DOMStyleSheetList

StyleSheets returns the style sheets.

func (*DOMDocument) Title

func (dd *DOMDocument) Title() string

Title returns the title.

func (*DOMDocument) URL

func (dd *DOMDocument) URL() string

URL returns the URL.

func (*DOMDocument) URLWithAttributeString

func (dd *DOMDocument) URLWithAttributeString(str string) string

URLWithAttributeString constructs a URL given an attribute string.

func (*DOMDocument) WebFrame

func (dd *DOMDocument) WebFrame() *WebFrame

WebFrame returns the frame of the DOM document.

func (*DOMDocument) WebkitCancelFullScreen

func (dd *DOMDocument) WebkitCancelFullScreen()

WebkitCancelFullScreen wraps the corresponding Objective-C method.

func (*DOMDocument) WithBody added in v0.17.0

func (dd *DOMDocument) WithBody(body DOMHTMLElementProvider) *DOMDocument

WithBody sets the body.

func (*DOMDocument) WithCharset added in v0.17.0

func (dd *DOMDocument) WithCharset(charset string) *DOMDocument

WithCharset sets the charset.

func (*DOMDocument) WithCookie added in v0.17.0

func (dd *DOMDocument) WithCookie(cookie string) *DOMDocument

WithCookie sets the cookie.

func (*DOMDocument) WithDocumentURI added in v0.17.0

func (dd *DOMDocument) WithDocumentURI(documentURI string) *DOMDocument

WithDocumentURI sets the document URI.

func (*DOMDocument) WithNodeValue added in v0.17.0

func (dd *DOMDocument) WithNodeValue(nodeValue string) *DOMDocument

WithNodeValue sets the node value.

func (*DOMDocument) WithPrefix added in v0.17.0

func (dd *DOMDocument) WithPrefix(prefix string) *DOMDocument

WithPrefix sets the prefix.

func (*DOMDocument) WithSelectedStylesheetSet added in v0.17.0

func (dd *DOMDocument) WithSelectedStylesheetSet(selectedStylesheetSet string) *DOMDocument

WithSelectedStylesheetSet sets the selected stylesheet set.

func (*DOMDocument) WithTextContent added in v0.17.0

func (dd *DOMDocument) WithTextContent(textContent string) *DOMDocument

WithTextContent sets the text content.

func (*DOMDocument) WithTitle added in v0.17.0

func (dd *DOMDocument) WithTitle(title string) *DOMDocument

WithTitle sets the title.

func (*DOMDocument) WithXMLStandalone added in v0.17.0

func (dd *DOMDocument) WithXMLStandalone(xmlStandalone bool) *DOMDocument

WithXMLStandalone sets the XML standalone.

func (*DOMDocument) WithXMLVersion added in v0.17.0

func (dd *DOMDocument) WithXMLVersion(xmlVersion string) *DOMDocument

WithXMLVersion sets the XML version.

func (*DOMDocument) XMLEncoding added in v0.17.0

func (dd *DOMDocument) XMLEncoding() string

XMLEncoding returns the XML encoding.

func (*DOMDocument) XMLStandalone added in v0.17.0

func (dd *DOMDocument) XMLStandalone() bool

XMLStandalone wraps the corresponding Objective-C method.

func (*DOMDocument) XMLVersion added in v0.17.0

func (dd *DOMDocument) XMLVersion() string

XMLVersion returns the XML version.

type DOMDocumentFragment

type DOMDocumentFragment struct {
	DOMNode
}

DOMDocumentFragment is an idiomatic wrapper over the Objective-C class DOMDocumentFragment.

It embeds DOMNode, promoting that type's methods.

func DOMDocumentFragmentFromID

func DOMDocumentFragmentFromID(id objc.ID) *DOMDocumentFragment

DOMDocumentFragmentFromID adopts an existing Objective-C object as a DOMDocumentFragment (nil for 0), retaining it and registering a release finalizer.

func NewDOMDocumentFragment added in v0.17.0

func NewDOMDocumentFragment() *DOMDocumentFragment

NewDOMDocumentFragment creates a new DOMDocumentFragment.

func (*DOMDocumentFragment) WithNodeValue added in v0.17.0

func (ddf *DOMDocumentFragment) WithNodeValue(nodeValue string) *DOMDocumentFragment

WithNodeValue sets the node value.

func (*DOMDocumentFragment) WithPrefix added in v0.17.0

func (ddf *DOMDocumentFragment) WithPrefix(prefix string) *DOMDocumentFragment

WithPrefix sets the prefix.

func (*DOMDocumentFragment) WithTextContent added in v0.17.0

func (ddf *DOMDocumentFragment) WithTextContent(textContent string) *DOMDocumentFragment

WithTextContent sets the text content.

type DOMDocumentProvider added in v0.17.0

type DOMDocumentProvider interface {
	objref.Object
	// contains filtered or unexported methods
}

DOMDocumentProvider is accepted wherever a DOMDocument (or one of its subclasses) is expected.

type DOMDocumentType

type DOMDocumentType struct {
	DOMNode
}

DOMDocumentType is an idiomatic wrapper over the Objective-C class DOMDocumentType.

It embeds DOMNode, promoting that type's methods.

func DOMDocumentTypeFromID

func DOMDocumentTypeFromID(id objc.ID) *DOMDocumentType

DOMDocumentTypeFromID adopts an existing Objective-C object as a DOMDocumentType (nil for 0), retaining it and registering a release finalizer.

func NewDOMDocumentType added in v0.17.0

func NewDOMDocumentType() *DOMDocumentType

NewDOMDocumentType creates a new DOMDocumentType.

func (*DOMDocumentType) Entities

func (ddt *DOMDocumentType) Entities() *DOMNamedNodeMap

Entities returns the entities.

func (*DOMDocumentType) InternalSubset

func (ddt *DOMDocumentType) InternalSubset() string

InternalSubset returns the internal subset.

func (*DOMDocumentType) Name

func (ddt *DOMDocumentType) Name() string

Name returns the name.

func (*DOMDocumentType) Notations

func (ddt *DOMDocumentType) Notations() *DOMNamedNodeMap

Notations returns the notations.

func (*DOMDocumentType) PublicID added in v0.17.0

func (ddt *DOMDocumentType) PublicID() string

PublicID returns the public ID.

func (*DOMDocumentType) SystemID added in v0.17.0

func (ddt *DOMDocumentType) SystemID() string

SystemID returns the system ID.

func (*DOMDocumentType) WithNodeValue added in v0.17.0

func (ddt *DOMDocumentType) WithNodeValue(nodeValue string) *DOMDocumentType

WithNodeValue sets the node value.

func (*DOMDocumentType) WithPrefix added in v0.17.0

func (ddt *DOMDocumentType) WithPrefix(prefix string) *DOMDocumentType

WithPrefix sets the prefix.

func (*DOMDocumentType) WithTextContent added in v0.17.0

func (ddt *DOMDocumentType) WithTextContent(textContent string) *DOMDocumentType

WithTextContent sets the text content.

type DOMElement

type DOMElement struct {
	DOMNode
}

DOMElement is an idiomatic wrapper over the Objective-C class DOMElement.

DOMElement is an abstract base — you do not construct it directly. Construct one of DOMHTMLElement and pass it where a DOMElement is accepted.

func DOMElementFromID

func DOMElementFromID(id objc.ID) *DOMElement

DOMElementFromID adopts an existing Objective-C object as a DOMElement (nil for 0), retaining it and registering a release finalizer.

func (*DOMElement) Blur

func (de *DOMElement) Blur()

Blur wraps the corresponding Objective-C method.

func (*DOMElement) ChildElementCount

func (de *DOMElement) ChildElementCount() int

ChildElementCount returns the child element count.

func (*DOMElement) ClientHeight

func (de *DOMElement) ClientHeight() int

ClientHeight returns the client height.

func (*DOMElement) ClientLeft

func (de *DOMElement) ClientLeft() int

ClientLeft returns the client left.

func (*DOMElement) ClientTop

func (de *DOMElement) ClientTop() int

ClientTop returns the client top.

func (*DOMElement) ClientWidth

func (de *DOMElement) ClientWidth() int

ClientWidth returns the client width.

func (*DOMElement) FirstElementChild

func (de *DOMElement) FirstElementChild() *DOMElement

FirstElementChild returns the first element child.

func (*DOMElement) Focus

func (de *DOMElement) Focus()

Focus wraps the corresponding Objective-C method.

func (*DOMElement) GetAttribute

func (de *DOMElement) GetAttribute(name string) string

GetAttribute wraps the corresponding Objective-C method.

func (*DOMElement) GetAttributeNS

func (de *DOMElement) GetAttributeNS(namespaceURI string, localName string) string

GetAttributeNS wraps the corresponding Objective-C method.

func (*DOMElement) GetAttributeNSLocalName

func (de *DOMElement) GetAttributeNSLocalName(namespaceURI string, localName string) string

GetAttributeNSLocalName wraps the corresponding Objective-C method.

func (*DOMElement) GetAttributeNode

func (de *DOMElement) GetAttributeNode(name string) *DOMAttr

GetAttributeNode wraps the corresponding Objective-C method.

func (*DOMElement) GetAttributeNodeNS

func (de *DOMElement) GetAttributeNodeNS(namespaceURI string, localName string) *DOMAttr

GetAttributeNodeNS wraps the corresponding Objective-C method.

func (*DOMElement) GetAttributeNodeNSLocalName

func (de *DOMElement) GetAttributeNodeNSLocalName(namespaceURI string, localName string) *DOMAttr

GetAttributeNodeNSLocalName wraps the corresponding Objective-C method.

func (*DOMElement) GetElementsByClassName

func (de *DOMElement) GetElementsByClassName(name string) *DOMNodeList

GetElementsByClassName wraps the corresponding Objective-C method.

func (*DOMElement) GetElementsByTagName

func (de *DOMElement) GetElementsByTagName(name string) *DOMNodeList

GetElementsByTagName wraps the corresponding Objective-C method.

func (*DOMElement) GetElementsByTagNameNS

func (de *DOMElement) GetElementsByTagNameNS(namespaceURI string, localName string) *DOMNodeList

GetElementsByTagNameNS wraps the corresponding Objective-C method.

func (*DOMElement) GetElementsByTagNameNSLocalName

func (de *DOMElement) GetElementsByTagNameNSLocalName(namespaceURI string, localName string) *DOMNodeList

GetElementsByTagNameNSLocalName wraps the corresponding Objective-C method.

func (*DOMElement) HasAttribute

func (de *DOMElement) HasAttribute(name string) bool

HasAttribute wraps the corresponding Objective-C method.

func (*DOMElement) HasAttributeNS

func (de *DOMElement) HasAttributeNS(namespaceURI string, localName string) bool

HasAttributeNS wraps the corresponding Objective-C method.

func (*DOMElement) HasAttributeNSLocalName

func (de *DOMElement) HasAttributeNSLocalName(namespaceURI string, localName string) bool

HasAttributeNSLocalName wraps the corresponding Objective-C method.

func (*DOMElement) Image

func (de *DOMElement) Image() obj.Object

Image returns an image associated with the receiver.

func (*DOMElement) InnerHTML

func (de *DOMElement) InnerHTML() string

InnerHTML returns the inner HTML.

func (*DOMElement) InnerText

func (de *DOMElement) InnerText() string

InnerText returns the inner text.

func (*DOMElement) LastElementChild

func (de *DOMElement) LastElementChild() *DOMElement

LastElementChild returns the last element child.

func (*DOMElement) NextElementSibling

func (de *DOMElement) NextElementSibling() *DOMElement

NextElementSibling returns the next element sibling.

func (*DOMElement) OffsetHeight

func (de *DOMElement) OffsetHeight() int

OffsetHeight returns the offset height.

func (*DOMElement) OffsetLeft

func (de *DOMElement) OffsetLeft() int

OffsetLeft returns the offset left.

func (*DOMElement) OffsetParent

func (de *DOMElement) OffsetParent() *DOMElement

OffsetParent returns the offset parent.

func (*DOMElement) OffsetTop

func (de *DOMElement) OffsetTop() int

OffsetTop returns the offset top.

func (*DOMElement) OffsetWidth

func (de *DOMElement) OffsetWidth() int

OffsetWidth returns the offset width.

func (*DOMElement) OuterHTML

func (de *DOMElement) OuterHTML() string

OuterHTML returns the outer HTML.

func (*DOMElement) PreviousElementSibling

func (de *DOMElement) PreviousElementSibling() *DOMElement

PreviousElementSibling returns the previous element sibling.

func (*DOMElement) QuerySelector

func (de *DOMElement) QuerySelector(selectors string) *DOMElement

QuerySelector wraps the corresponding Objective-C method.

func (*DOMElement) QuerySelectorAll

func (de *DOMElement) QuerySelectorAll(selectors string) *DOMNodeList

QuerySelectorAll wraps the corresponding Objective-C method.

func (*DOMElement) RemoveAttribute

func (de *DOMElement) RemoveAttribute(name string)

RemoveAttribute removes attribute.

func (*DOMElement) RemoveAttributeNS

func (de *DOMElement) RemoveAttributeNS(namespaceURI string, localName string)

RemoveAttributeNS removes attribute ns.

func (*DOMElement) RemoveAttributeNSLocalName

func (de *DOMElement) RemoveAttributeNSLocalName(namespaceURI string, localName string)

RemoveAttributeNSLocalName removes attribute ns local name.

func (*DOMElement) RemoveAttributeNode

func (de *DOMElement) RemoveAttributeNode(oldAttr *DOMAttr) *DOMAttr

RemoveAttributeNode removes attribute node.

func (*DOMElement) ScrollByLines

func (de *DOMElement) ScrollByLines(lines int)

ScrollByLines scrolls by lines.

func (*DOMElement) ScrollByPages

func (de *DOMElement) ScrollByPages(pages int)

ScrollByPages scrolls by pages.

func (*DOMElement) ScrollHeight

func (de *DOMElement) ScrollHeight() int

ScrollHeight returns the scroll height.

func (*DOMElement) ScrollIntoView

func (de *DOMElement) ScrollIntoView(alignWithTop bool)

ScrollIntoView scrolls into view.

func (*DOMElement) ScrollIntoViewIfNeeded

func (de *DOMElement) ScrollIntoViewIfNeeded(centerIfNeeded bool)

ScrollIntoViewIfNeeded scrolls into view if needed.

func (*DOMElement) ScrollLeft

func (de *DOMElement) ScrollLeft() int

ScrollLeft returns the scroll left.

func (*DOMElement) ScrollTop

func (de *DOMElement) ScrollTop() int

ScrollTop returns the scroll top.

func (*DOMElement) ScrollWidth

func (de *DOMElement) ScrollWidth() int

ScrollWidth returns the scroll width.

func (*DOMElement) SetAttribute

func (de *DOMElement) SetAttribute(name string, value string)

SetAttribute wraps the corresponding Objective-C method.

func (*DOMElement) SetAttributeNS

func (de *DOMElement) SetAttributeNS(namespaceURI string, qualifiedName string, value string)

SetAttributeNS wraps the corresponding Objective-C method.

func (*DOMElement) SetAttributeNSQualifiedNameValue

func (de *DOMElement) SetAttributeNSQualifiedNameValue(namespaceURI string, qualifiedName string, value string)

SetAttributeNSQualifiedNameValue wraps the corresponding Objective-C method.

func (*DOMElement) SetAttributeNode

func (de *DOMElement) SetAttributeNode(newAttr *DOMAttr) *DOMAttr

SetAttributeNode wraps the corresponding Objective-C method.

func (*DOMElement) SetAttributeNodeNS

func (de *DOMElement) SetAttributeNodeNS(newAttr *DOMAttr) *DOMAttr

SetAttributeNodeNS wraps the corresponding Objective-C method.

func (*DOMElement) SetAttributeValue

func (de *DOMElement) SetAttributeValue(name string, value string)

SetAttributeValue wraps the corresponding Objective-C method.

func (*DOMElement) Style

func (de *DOMElement) Style() *DOMCSSStyleDeclaration

Style returns the style.

func (*DOMElement) TagName

func (de *DOMElement) TagName() string

TagName returns the tag name.

func (*DOMElement) WebkitRequestFullScreen

func (de *DOMElement) WebkitRequestFullScreen(flags uint16)

WebkitRequestFullScreen wraps the corresponding Objective-C method.

func (*DOMElement) WithClassName added in v0.17.0

func (de *DOMElement) WithClassName(className string) *DOMElement

WithClassName sets the class name.

func (*DOMElement) WithInnerHTML added in v0.17.0

func (de *DOMElement) WithInnerHTML(innerHTML string) *DOMElement

WithInnerHTML sets the inner HTML.

func (*DOMElement) WithNodeValue added in v0.17.0

func (de *DOMElement) WithNodeValue(nodeValue string) *DOMElement

WithNodeValue sets the node value.

func (*DOMElement) WithOuterHTML added in v0.17.0

func (de *DOMElement) WithOuterHTML(outerHTML string) *DOMElement

WithOuterHTML sets the outer HTML.

func (*DOMElement) WithPrefix added in v0.17.0

func (de *DOMElement) WithPrefix(prefix string) *DOMElement

WithPrefix sets the prefix.

func (*DOMElement) WithScrollLeft added in v0.17.0

func (de *DOMElement) WithScrollLeft(scrollLeft int) *DOMElement

WithScrollLeft sets the scroll left.

func (*DOMElement) WithScrollTop added in v0.17.0

func (de *DOMElement) WithScrollTop(scrollTop int) *DOMElement

WithScrollTop sets the scroll top.

func (*DOMElement) WithTextContent added in v0.17.0

func (de *DOMElement) WithTextContent(textContent string) *DOMElement

WithTextContent sets the text content.

type DOMElementProvider added in v0.17.0

type DOMElementProvider interface {
	objref.Object
	// contains filtered or unexported methods
}

DOMElementProvider is accepted wherever a DOMElement (or one of its subclasses) is expected.

type DOMEntity

type DOMEntity struct {
	DOMNode
}

DOMEntity is an idiomatic wrapper over the Objective-C class DOMEntity.

It embeds DOMNode, promoting that type's methods.

func DOMEntityFromID

func DOMEntityFromID(id objc.ID) *DOMEntity

DOMEntityFromID adopts an existing Objective-C object as a DOMEntity (nil for 0), retaining it and registering a release finalizer.

func NewDOMEntity added in v0.17.0

func NewDOMEntity() *DOMEntity

NewDOMEntity creates a new DOMEntity.

func (*DOMEntity) NotationName

func (de *DOMEntity) NotationName() string

NotationName returns the notation name.

func (*DOMEntity) PublicID added in v0.17.0

func (de *DOMEntity) PublicID() string

PublicID returns the public ID.

func (*DOMEntity) SystemID added in v0.17.0

func (de *DOMEntity) SystemID() string

SystemID returns the system ID.

func (*DOMEntity) WithNodeValue added in v0.17.0

func (de *DOMEntity) WithNodeValue(nodeValue string) *DOMEntity

WithNodeValue sets the node value.

func (*DOMEntity) WithPrefix added in v0.17.0

func (de *DOMEntity) WithPrefix(prefix string) *DOMEntity

WithPrefix sets the prefix.

func (*DOMEntity) WithTextContent added in v0.17.0

func (de *DOMEntity) WithTextContent(textContent string) *DOMEntity

WithTextContent sets the text content.

type DOMEntityReference

type DOMEntityReference struct {
	DOMNode
}

DOMEntityReference is an idiomatic wrapper over the Objective-C class DOMEntityReference.

It embeds DOMNode, promoting that type's methods.

func DOMEntityReferenceFromID

func DOMEntityReferenceFromID(id objc.ID) *DOMEntityReference

DOMEntityReferenceFromID adopts an existing Objective-C object as a DOMEntityReference (nil for 0), retaining it and registering a release finalizer.

func NewDOMEntityReference added in v0.17.0

func NewDOMEntityReference() *DOMEntityReference

NewDOMEntityReference creates a new DOMEntityReference.

func (*DOMEntityReference) WithNodeValue added in v0.17.0

func (der *DOMEntityReference) WithNodeValue(nodeValue string) *DOMEntityReference

WithNodeValue sets the node value.

func (*DOMEntityReference) WithPrefix added in v0.17.0

func (der *DOMEntityReference) WithPrefix(prefix string) *DOMEntityReference

WithPrefix sets the prefix.

func (*DOMEntityReference) WithTextContent added in v0.17.0

func (der *DOMEntityReference) WithTextContent(textContent string) *DOMEntityReference

WithTextContent sets the text content.

type DOMEvent

type DOMEvent struct {
	DOMObject
}

DOMEvent is an idiomatic wrapper over the Objective-C class DOMEvent.

DOMEvent is an abstract base — you do not construct it directly. Construct one of DOMMutationEvent, DOMOverflowEvent, DOMProgressEvent, DOMUIEvent and pass it where a DOMEvent is accepted.

func DOMEventFromID

func DOMEventFromID(id objc.ID) *DOMEvent

DOMEventFromID adopts an existing Objective-C object as a DOMEvent (nil for 0), retaining it and registering a release finalizer.

func NewDOMEventEvent added in v0.17.0

func NewDOMEventEvent(eventTypeArg string, canBubbleArg bool, cancelableArg bool) *DOMEvent

NewDOMEventEvent creates a new DOMEvent.

func NewDOMEventEventCanBubbleArgCancelableArg added in v0.17.0

func NewDOMEventEventCanBubbleArgCancelableArg(eventTypeArg string, canBubbleArg bool, cancelableArg bool) *DOMEvent

NewDOMEventEventCanBubbleArgCancelableArg creates a new DOMEvent.

func (*DOMEvent) Bubbles

func (de *DOMEvent) Bubbles() bool

Bubbles wraps the corresponding Objective-C method.

func (*DOMEvent) CancelBubble

func (de *DOMEvent) CancelBubble() bool

CancelBubble wraps the corresponding Objective-C method.

func (*DOMEvent) Cancelable

func (de *DOMEvent) Cancelable() bool

Cancelable wraps the corresponding Objective-C method.

func (*DOMEvent) EventPhase

func (de *DOMEvent) EventPhase() uint16

EventPhase returns the event phase.

func (*DOMEvent) PreventDefault

func (de *DOMEvent) PreventDefault()

PreventDefault wraps the corresponding Objective-C method.

func (*DOMEvent) ReturnValue

func (de *DOMEvent) ReturnValue() bool

ReturnValue wraps the corresponding Objective-C method.

func (*DOMEvent) StopPropagation

func (de *DOMEvent) StopPropagation()

StopPropagation stops propagation.

func (*DOMEvent) TimeStamp

func (de *DOMEvent) TimeStamp() uint64

TimeStamp returns the time stamp.

func (*DOMEvent) Type

func (de *DOMEvent) Type() string

Type returns the type.

func (*DOMEvent) WithCancelBubble added in v0.17.0

func (de *DOMEvent) WithCancelBubble(cancelBubble bool) *DOMEvent

WithCancelBubble sets the cancel bubble.

func (*DOMEvent) WithReturnValue added in v0.17.0

func (de *DOMEvent) WithReturnValue(returnValue bool) *DOMEvent

WithReturnValue sets the return value.

type DOMEventExceptionCode

type DOMEventExceptionCode int32
const (
	DOMEventExceptionCodeErr DOMEventExceptionCode = 0
)

func (DOMEventExceptionCode) String

func (e DOMEventExceptionCode) String() string

String returns the DOMEventExceptionCode constant's name, or its numeric form when the value is not a known constant.

type DOMEventListener

type DOMEventListener interface {
	HandleEvent(event *DOMEvent)
}

DOMEventListener is the Go form of the Objective-C protocol DOMEventListener.

type DOMEventProvider added in v0.17.0

type DOMEventProvider interface {
	objref.Object
	// contains filtered or unexported methods
}

DOMEventProvider is accepted wherever a DOMEvent (or one of its subclasses) is expected.

type DOMEventTarget

type DOMEventTarget interface {
}

DOMEventTarget is the Go form of the Objective-C protocol DOMEventTarget.

type DOMExceptionCode

type DOMExceptionCode int32
const (
	DOMExceptionCodeIndexSizeErr             DOMExceptionCode = 1
	DOMExceptionCodeDomstringSizeErr         DOMExceptionCode = 2
	DOMExceptionCodeHierarchyRequestErr      DOMExceptionCode = 3
	DOMExceptionCodeWrongDocumentErr         DOMExceptionCode = 4
	DOMExceptionCodeInvalidCharacterErr      DOMExceptionCode = 5
	DOMExceptionCodeNoDataAllowedErr         DOMExceptionCode = 6
	DOMExceptionCodeNoModificationAllowedErr DOMExceptionCode = 7
	DOMExceptionCodeNotFoundErr              DOMExceptionCode = 8
	DOMExceptionCodeNotSupportedErr          DOMExceptionCode = 9
	DOMExceptionCodeInuseAttributeErr        DOMExceptionCode = 10
	DOMExceptionCodeInvalidStateErr          DOMExceptionCode = 11
	DOMExceptionCodeSyntaxErr                DOMExceptionCode = 12
	DOMExceptionCodeInvalidModificationErr   DOMExceptionCode = 13
	DOMExceptionCodeNamespaceErr             DOMExceptionCode = 14
	DOMExceptionCodeInvalidAccessErr         DOMExceptionCode = 15
)

func (DOMExceptionCode) String

func (e DOMExceptionCode) String() string

String returns the DOMExceptionCode constant's name, or its numeric form when the value is not a known constant.

type DOMFile

type DOMFile struct {
	DOMBlob
}

DOMFile is an idiomatic wrapper over the Objective-C class DOMFile.

It embeds DOMBlob, promoting that type's methods.

func DOMFileFromID

func DOMFileFromID(id objc.ID) *DOMFile

DOMFileFromID adopts an existing Objective-C object as a DOMFile (nil for 0), retaining it and registering a release finalizer.

func NewDOMFile added in v0.17.0

func NewDOMFile() *DOMFile

NewDOMFile creates a new DOMFile.

func (*DOMFile) Name

func (df *DOMFile) Name() string

Name returns the name.

type DOMFileList

type DOMFileList struct {
	DOMObject
}

DOMFileList is an idiomatic wrapper over the Objective-C class DOMFileList.

It embeds DOMObject, promoting that type's methods.

func DOMFileListFromID

func DOMFileListFromID(id objc.ID) *DOMFileList

DOMFileListFromID adopts an existing Objective-C object as a DOMFileList (nil for 0), retaining it and registering a release finalizer.

func NewDOMFileList added in v0.17.0

func NewDOMFileList() *DOMFileList

NewDOMFileList creates a new DOMFileList.

func (*DOMFileList) Item

func (dfl *DOMFileList) Item(index int) *DOMFile

Item wraps the corresponding Objective-C method.

func (*DOMFileList) Length

func (dfl *DOMFileList) Length() int

Length returns the length.

type DOMHTMLAnchorElement

type DOMHTMLAnchorElement struct {
	DOMHTMLElement
}

DOMHTMLAnchorElement is an idiomatic wrapper over the Objective-C class DOMHTMLAnchorElement.

It embeds DOMHTMLElement, promoting that type's methods.

func DOMHTMLAnchorElementFromID

func DOMHTMLAnchorElementFromID(id objc.ID) *DOMHTMLAnchorElement

DOMHTMLAnchorElementFromID adopts an existing Objective-C object as a DOMHTMLAnchorElement (nil for 0), retaining it and registering a release finalizer.

func NewDOMHTMLAnchorElement added in v0.17.0

func NewDOMHTMLAnchorElement() *DOMHTMLAnchorElement

NewDOMHTMLAnchorElement creates a new DOMHTMLAnchorElement.

func (*DOMHTMLAnchorElement) AbsoluteLinkURL

func (dae *DOMHTMLAnchorElement) AbsoluteLinkURL() string

AbsoluteLinkURL returns the absolute link URL.

func (*DOMHTMLAnchorElement) Charset

func (dae *DOMHTMLAnchorElement) Charset() string

Charset returns the charset.

func (*DOMHTMLAnchorElement) Coords

func (dae *DOMHTMLAnchorElement) Coords() string

Coords returns the coords.

func (*DOMHTMLAnchorElement) HashName

func (dae *DOMHTMLAnchorElement) HashName() string

HashName returns the hash name.

func (*DOMHTMLAnchorElement) Host

func (dae *DOMHTMLAnchorElement) Host() string

Host returns the host.

func (*DOMHTMLAnchorElement) Hostname

func (dae *DOMHTMLAnchorElement) Hostname() string

Hostname returns the hostname.

func (*DOMHTMLAnchorElement) Href

func (dae *DOMHTMLAnchorElement) Href() string

Href returns the href.

func (*DOMHTMLAnchorElement) Hreflang

func (dae *DOMHTMLAnchorElement) Hreflang() string

Hreflang returns the hreflang.

func (*DOMHTMLAnchorElement) Name

func (dae *DOMHTMLAnchorElement) Name() string

Name returns the name.

func (*DOMHTMLAnchorElement) Pathname

func (dae *DOMHTMLAnchorElement) Pathname() string

Pathname returns the pathname.

func (*DOMHTMLAnchorElement) Port

func (dae *DOMHTMLAnchorElement) Port() string

Port returns the port.

func (*DOMHTMLAnchorElement) Protocol

func (dae *DOMHTMLAnchorElement) Protocol() string

Protocol returns the protocol.

func (*DOMHTMLAnchorElement) Rel

func (dae *DOMHTMLAnchorElement) Rel() string

Rel returns the rel.

func (*DOMHTMLAnchorElement) Rev

func (dae *DOMHTMLAnchorElement) Rev() string

Rev returns the rev.

func (*DOMHTMLAnchorElement) Search

func (dae *DOMHTMLAnchorElement) Search() string

Search returns the search.

func (*DOMHTMLAnchorElement) Shape

func (dae *DOMHTMLAnchorElement) Shape() string

Shape returns the shape.

func (*DOMHTMLAnchorElement) Target

func (dae *DOMHTMLAnchorElement) Target() string

Target returns the target.

func (*DOMHTMLAnchorElement) Text

func (dae *DOMHTMLAnchorElement) Text() string

Text returns the text.

func (*DOMHTMLAnchorElement) Type

func (dae *DOMHTMLAnchorElement) Type() string

Type returns the type.

func (*DOMHTMLAnchorElement) WithAccessKey added in v0.17.0

func (dae *DOMHTMLAnchorElement) WithAccessKey(accessKey string) *DOMHTMLAnchorElement

WithAccessKey sets the access key.

func (*DOMHTMLAnchorElement) WithCharset added in v0.17.0

func (dae *DOMHTMLAnchorElement) WithCharset(charset string) *DOMHTMLAnchorElement

WithCharset sets the charset.

func (*DOMHTMLAnchorElement) WithClassName added in v0.17.0

func (dae *DOMHTMLAnchorElement) WithClassName(className string) *DOMHTMLAnchorElement

WithClassName sets the class name.

func (*DOMHTMLAnchorElement) WithContentEditable added in v0.17.0

func (dae *DOMHTMLAnchorElement) WithContentEditable(contentEditable string) *DOMHTMLAnchorElement

WithContentEditable sets the content editable.

func (*DOMHTMLAnchorElement) WithCoords added in v0.17.0

func (dae *DOMHTMLAnchorElement) WithCoords(coords string) *DOMHTMLAnchorElement

WithCoords sets the coords.

func (*DOMHTMLAnchorElement) WithDir added in v0.17.0

WithDir sets the dir.

func (*DOMHTMLAnchorElement) WithHref added in v0.17.0

func (dae *DOMHTMLAnchorElement) WithHref(href string) *DOMHTMLAnchorElement

WithHref sets the href.

func (*DOMHTMLAnchorElement) WithHreflang added in v0.17.0

func (dae *DOMHTMLAnchorElement) WithHreflang(hreflang string) *DOMHTMLAnchorElement

WithHreflang sets the hreflang.

func (*DOMHTMLAnchorElement) WithIDName added in v0.17.0

func (dae *DOMHTMLAnchorElement) WithIDName(idName string) *DOMHTMLAnchorElement

WithIDName sets the ID name.

func (*DOMHTMLAnchorElement) WithInnerHTML added in v0.17.0

func (dae *DOMHTMLAnchorElement) WithInnerHTML(innerHTML string) *DOMHTMLAnchorElement

WithInnerHTML sets the inner HTML.

func (*DOMHTMLAnchorElement) WithInnerText added in v0.17.0

func (dae *DOMHTMLAnchorElement) WithInnerText(innerText string) *DOMHTMLAnchorElement

WithInnerText sets the inner text.

func (*DOMHTMLAnchorElement) WithLang added in v0.17.0

func (dae *DOMHTMLAnchorElement) WithLang(lang string) *DOMHTMLAnchorElement

WithLang sets the lang.

func (*DOMHTMLAnchorElement) WithName added in v0.17.0

func (dae *DOMHTMLAnchorElement) WithName(name string) *DOMHTMLAnchorElement

WithName sets the name.

func (*DOMHTMLAnchorElement) WithNodeValue added in v0.17.0

func (dae *DOMHTMLAnchorElement) WithNodeValue(nodeValue string) *DOMHTMLAnchorElement

WithNodeValue sets the node value.

func (*DOMHTMLAnchorElement) WithOuterHTML added in v0.17.0

func (dae *DOMHTMLAnchorElement) WithOuterHTML(outerHTML string) *DOMHTMLAnchorElement

WithOuterHTML sets the outer HTML.

func (*DOMHTMLAnchorElement) WithOuterText added in v0.17.0

func (dae *DOMHTMLAnchorElement) WithOuterText(outerText string) *DOMHTMLAnchorElement

WithOuterText sets the outer text.

func (*DOMHTMLAnchorElement) WithPrefix added in v0.17.0

func (dae *DOMHTMLAnchorElement) WithPrefix(prefix string) *DOMHTMLAnchorElement

WithPrefix sets the prefix.

func (*DOMHTMLAnchorElement) WithRel added in v0.17.0

WithRel sets the rel.

func (*DOMHTMLAnchorElement) WithRev added in v0.17.0

WithRev sets the rev.

func (*DOMHTMLAnchorElement) WithScrollLeft added in v0.17.0

func (dae *DOMHTMLAnchorElement) WithScrollLeft(scrollLeft int) *DOMHTMLAnchorElement

WithScrollLeft sets the scroll left.

func (*DOMHTMLAnchorElement) WithScrollTop added in v0.17.0

func (dae *DOMHTMLAnchorElement) WithScrollTop(scrollTop int) *DOMHTMLAnchorElement

WithScrollTop sets the scroll top.

func (*DOMHTMLAnchorElement) WithShape added in v0.17.0

func (dae *DOMHTMLAnchorElement) WithShape(shape string) *DOMHTMLAnchorElement

WithShape sets the shape.

func (*DOMHTMLAnchorElement) WithTabIndex added in v0.17.0

func (dae *DOMHTMLAnchorElement) WithTabIndex(tabIndex int) *DOMHTMLAnchorElement

WithTabIndex sets the tab index.

func (*DOMHTMLAnchorElement) WithTarget added in v0.17.0

func (dae *DOMHTMLAnchorElement) WithTarget(target string) *DOMHTMLAnchorElement

WithTarget sets the target.

func (*DOMHTMLAnchorElement) WithTextContent added in v0.17.0

func (dae *DOMHTMLAnchorElement) WithTextContent(textContent string) *DOMHTMLAnchorElement

WithTextContent sets the text content.

func (*DOMHTMLAnchorElement) WithTitle added in v0.17.0

func (dae *DOMHTMLAnchorElement) WithTitle(title string) *DOMHTMLAnchorElement

WithTitle sets the title.

func (*DOMHTMLAnchorElement) WithType added in v0.17.0

func (dae *DOMHTMLAnchorElement) WithType(type_ string) *DOMHTMLAnchorElement

WithType sets the type.

type DOMHTMLAppletElement

type DOMHTMLAppletElement struct {
	DOMHTMLElement
}

DOMHTMLAppletElement is an idiomatic wrapper over the Objective-C class DOMHTMLAppletElement.

It embeds DOMHTMLElement, promoting that type's methods.

func DOMHTMLAppletElementFromID

func DOMHTMLAppletElementFromID(id objc.ID) *DOMHTMLAppletElement

DOMHTMLAppletElementFromID adopts an existing Objective-C object as a DOMHTMLAppletElement (nil for 0), retaining it and registering a release finalizer.

func NewDOMHTMLAppletElement added in v0.17.0

func NewDOMHTMLAppletElement() *DOMHTMLAppletElement

NewDOMHTMLAppletElement creates a new DOMHTMLAppletElement.

func (*DOMHTMLAppletElement) Align

func (dae *DOMHTMLAppletElement) Align() string

Align returns the align.

func (*DOMHTMLAppletElement) Alt

func (dae *DOMHTMLAppletElement) Alt() string

Alt returns the alt.

func (*DOMHTMLAppletElement) Archive

func (dae *DOMHTMLAppletElement) Archive() string

Archive returns the archive.

func (*DOMHTMLAppletElement) Code

func (dae *DOMHTMLAppletElement) Code() string

Code returns the code.

func (*DOMHTMLAppletElement) CodeBase

func (dae *DOMHTMLAppletElement) CodeBase() string

CodeBase returns the code base.

func (*DOMHTMLAppletElement) Height

func (dae *DOMHTMLAppletElement) Height() string

Height returns the height.

func (*DOMHTMLAppletElement) Hspace

func (dae *DOMHTMLAppletElement) Hspace() int

Hspace returns the hspace.

func (*DOMHTMLAppletElement) Name

func (dae *DOMHTMLAppletElement) Name() string

Name returns the name.

func (*DOMHTMLAppletElement) Object

func (dae *DOMHTMLAppletElement) Object() string

Object returns the object.

func (*DOMHTMLAppletElement) Vspace

func (dae *DOMHTMLAppletElement) Vspace() int

Vspace returns the vspace.

func (*DOMHTMLAppletElement) Width

func (dae *DOMHTMLAppletElement) Width() string

Width returns the width.

func (*DOMHTMLAppletElement) WithAccessKey added in v0.17.0

func (dae *DOMHTMLAppletElement) WithAccessKey(accessKey string) *DOMHTMLAppletElement

WithAccessKey sets the access key.

func (*DOMHTMLAppletElement) WithAlign added in v0.17.0

func (dae *DOMHTMLAppletElement) WithAlign(align string) *DOMHTMLAppletElement

WithAlign sets the align.

func (*DOMHTMLAppletElement) WithAlt added in v0.17.0

WithAlt sets the alt.

func (*DOMHTMLAppletElement) WithArchive added in v0.17.0

func (dae *DOMHTMLAppletElement) WithArchive(archive string) *DOMHTMLAppletElement

WithArchive sets the archive.

func (*DOMHTMLAppletElement) WithClassName added in v0.17.0

func (dae *DOMHTMLAppletElement) WithClassName(className string) *DOMHTMLAppletElement

WithClassName sets the class name.

func (*DOMHTMLAppletElement) WithCode added in v0.17.0

func (dae *DOMHTMLAppletElement) WithCode(code string) *DOMHTMLAppletElement

WithCode sets the code.

func (*DOMHTMLAppletElement) WithCodeBase added in v0.17.0

func (dae *DOMHTMLAppletElement) WithCodeBase(codeBase string) *DOMHTMLAppletElement

WithCodeBase sets the code base.

func (*DOMHTMLAppletElement) WithContentEditable added in v0.17.0

func (dae *DOMHTMLAppletElement) WithContentEditable(contentEditable string) *DOMHTMLAppletElement

WithContentEditable sets the content editable.

func (*DOMHTMLAppletElement) WithDir added in v0.17.0

WithDir sets the dir.

func (*DOMHTMLAppletElement) WithHeight added in v0.17.0

func (dae *DOMHTMLAppletElement) WithHeight(height string) *DOMHTMLAppletElement

WithHeight sets the height.

func (*DOMHTMLAppletElement) WithHspace added in v0.17.0

func (dae *DOMHTMLAppletElement) WithHspace(hspace int) *DOMHTMLAppletElement

WithHspace sets the hspace.

func (*DOMHTMLAppletElement) WithIDName added in v0.17.0

func (dae *DOMHTMLAppletElement) WithIDName(idName string) *DOMHTMLAppletElement

WithIDName sets the ID name.

func (*DOMHTMLAppletElement) WithInnerHTML added in v0.17.0

func (dae *DOMHTMLAppletElement) WithInnerHTML(innerHTML string) *DOMHTMLAppletElement

WithInnerHTML sets the inner HTML.

func (*DOMHTMLAppletElement) WithInnerText added in v0.17.0

func (dae *DOMHTMLAppletElement) WithInnerText(innerText string) *DOMHTMLAppletElement

WithInnerText sets the inner text.

func (*DOMHTMLAppletElement) WithLang added in v0.17.0

func (dae *DOMHTMLAppletElement) WithLang(lang string) *DOMHTMLAppletElement

WithLang sets the lang.

func (*DOMHTMLAppletElement) WithName added in v0.17.0

func (dae *DOMHTMLAppletElement) WithName(name string) *DOMHTMLAppletElement

WithName sets the name.

func (*DOMHTMLAppletElement) WithNodeValue added in v0.17.0

func (dae *DOMHTMLAppletElement) WithNodeValue(nodeValue string) *DOMHTMLAppletElement

WithNodeValue sets the node value.

func (*DOMHTMLAppletElement) WithObject added in v0.17.0

func (dae *DOMHTMLAppletElement) WithObject(object string) *DOMHTMLAppletElement

WithObject sets the object.

func (*DOMHTMLAppletElement) WithOuterHTML added in v0.17.0

func (dae *DOMHTMLAppletElement) WithOuterHTML(outerHTML string) *DOMHTMLAppletElement

WithOuterHTML sets the outer HTML.

func (*DOMHTMLAppletElement) WithOuterText added in v0.17.0

func (dae *DOMHTMLAppletElement) WithOuterText(outerText string) *DOMHTMLAppletElement

WithOuterText sets the outer text.

func (*DOMHTMLAppletElement) WithPrefix added in v0.17.0

func (dae *DOMHTMLAppletElement) WithPrefix(prefix string) *DOMHTMLAppletElement

WithPrefix sets the prefix.

func (*DOMHTMLAppletElement) WithScrollLeft added in v0.17.0

func (dae *DOMHTMLAppletElement) WithScrollLeft(scrollLeft int) *DOMHTMLAppletElement

WithScrollLeft sets the scroll left.

func (*DOMHTMLAppletElement) WithScrollTop added in v0.17.0

func (dae *DOMHTMLAppletElement) WithScrollTop(scrollTop int) *DOMHTMLAppletElement

WithScrollTop sets the scroll top.

func (*DOMHTMLAppletElement) WithTabIndex added in v0.17.0

func (dae *DOMHTMLAppletElement) WithTabIndex(tabIndex int) *DOMHTMLAppletElement

WithTabIndex sets the tab index.

func (*DOMHTMLAppletElement) WithTextContent added in v0.17.0

func (dae *DOMHTMLAppletElement) WithTextContent(textContent string) *DOMHTMLAppletElement

WithTextContent sets the text content.

func (*DOMHTMLAppletElement) WithTitle added in v0.17.0

func (dae *DOMHTMLAppletElement) WithTitle(title string) *DOMHTMLAppletElement

WithTitle sets the title.

func (*DOMHTMLAppletElement) WithVspace added in v0.17.0

func (dae *DOMHTMLAppletElement) WithVspace(vspace int) *DOMHTMLAppletElement

WithVspace sets the vspace.

func (*DOMHTMLAppletElement) WithWidth added in v0.17.0

func (dae *DOMHTMLAppletElement) WithWidth(width string) *DOMHTMLAppletElement

WithWidth sets the width.

type DOMHTMLAreaElement

type DOMHTMLAreaElement struct {
	DOMHTMLElement
}

DOMHTMLAreaElement is an idiomatic wrapper over the Objective-C class DOMHTMLAreaElement.

It embeds DOMHTMLElement, promoting that type's methods.

func DOMHTMLAreaElementFromID

func DOMHTMLAreaElementFromID(id objc.ID) *DOMHTMLAreaElement

DOMHTMLAreaElementFromID adopts an existing Objective-C object as a DOMHTMLAreaElement (nil for 0), retaining it and registering a release finalizer.

func NewDOMHTMLAreaElement added in v0.17.0

func NewDOMHTMLAreaElement() *DOMHTMLAreaElement

NewDOMHTMLAreaElement creates a new DOMHTMLAreaElement.

func (*DOMHTMLAreaElement) AbsoluteLinkURL

func (dae *DOMHTMLAreaElement) AbsoluteLinkURL() string

AbsoluteLinkURL returns the absolute link URL.

func (*DOMHTMLAreaElement) Alt

func (dae *DOMHTMLAreaElement) Alt() string

Alt returns the alt.

func (*DOMHTMLAreaElement) Coords

func (dae *DOMHTMLAreaElement) Coords() string

Coords returns the coords.

func (*DOMHTMLAreaElement) HashName

func (dae *DOMHTMLAreaElement) HashName() string

HashName returns the hash name.

func (*DOMHTMLAreaElement) Host

func (dae *DOMHTMLAreaElement) Host() string

Host returns the host.

func (*DOMHTMLAreaElement) Hostname

func (dae *DOMHTMLAreaElement) Hostname() string

Hostname returns the hostname.

func (*DOMHTMLAreaElement) Href

func (dae *DOMHTMLAreaElement) Href() string

Href returns the href.

func (*DOMHTMLAreaElement) NoHref

func (dae *DOMHTMLAreaElement) NoHref() bool

NoHref wraps the corresponding Objective-C method.

func (*DOMHTMLAreaElement) Pathname

func (dae *DOMHTMLAreaElement) Pathname() string

Pathname returns the pathname.

func (*DOMHTMLAreaElement) Port

func (dae *DOMHTMLAreaElement) Port() string

Port returns the port.

func (*DOMHTMLAreaElement) Protocol

func (dae *DOMHTMLAreaElement) Protocol() string

Protocol returns the protocol.

func (*DOMHTMLAreaElement) Search

func (dae *DOMHTMLAreaElement) Search() string

Search returns the search.

func (*DOMHTMLAreaElement) Shape

func (dae *DOMHTMLAreaElement) Shape() string

Shape returns the shape.

func (*DOMHTMLAreaElement) Target

func (dae *DOMHTMLAreaElement) Target() string

Target returns the target.

func (*DOMHTMLAreaElement) WithAccessKey added in v0.17.0

func (dae *DOMHTMLAreaElement) WithAccessKey(accessKey string) *DOMHTMLAreaElement

WithAccessKey sets the access key.

func (*DOMHTMLAreaElement) WithAlt added in v0.17.0

func (dae *DOMHTMLAreaElement) WithAlt(alt string) *DOMHTMLAreaElement

WithAlt sets the alt.

func (*DOMHTMLAreaElement) WithClassName added in v0.17.0

func (dae *DOMHTMLAreaElement) WithClassName(className string) *DOMHTMLAreaElement

WithClassName sets the class name.

func (*DOMHTMLAreaElement) WithContentEditable added in v0.17.0

func (dae *DOMHTMLAreaElement) WithContentEditable(contentEditable string) *DOMHTMLAreaElement

WithContentEditable sets the content editable.

func (*DOMHTMLAreaElement) WithCoords added in v0.17.0

func (dae *DOMHTMLAreaElement) WithCoords(coords string) *DOMHTMLAreaElement

WithCoords sets the coords.

func (*DOMHTMLAreaElement) WithDir added in v0.17.0

func (dae *DOMHTMLAreaElement) WithDir(dir string) *DOMHTMLAreaElement

WithDir sets the dir.

func (*DOMHTMLAreaElement) WithHref added in v0.17.0

func (dae *DOMHTMLAreaElement) WithHref(href string) *DOMHTMLAreaElement

WithHref sets the href.

func (*DOMHTMLAreaElement) WithIDName added in v0.17.0

func (dae *DOMHTMLAreaElement) WithIDName(idName string) *DOMHTMLAreaElement

WithIDName sets the ID name.

func (*DOMHTMLAreaElement) WithInnerHTML added in v0.17.0

func (dae *DOMHTMLAreaElement) WithInnerHTML(innerHTML string) *DOMHTMLAreaElement

WithInnerHTML sets the inner HTML.

func (*DOMHTMLAreaElement) WithInnerText added in v0.17.0

func (dae *DOMHTMLAreaElement) WithInnerText(innerText string) *DOMHTMLAreaElement

WithInnerText sets the inner text.

func (*DOMHTMLAreaElement) WithLang added in v0.17.0

func (dae *DOMHTMLAreaElement) WithLang(lang string) *DOMHTMLAreaElement

WithLang sets the lang.

func (*DOMHTMLAreaElement) WithNoHref added in v0.17.0

func (dae *DOMHTMLAreaElement) WithNoHref(noHref bool) *DOMHTMLAreaElement

WithNoHref sets the no href.

func (*DOMHTMLAreaElement) WithNodeValue added in v0.17.0

func (dae *DOMHTMLAreaElement) WithNodeValue(nodeValue string) *DOMHTMLAreaElement

WithNodeValue sets the node value.

func (*DOMHTMLAreaElement) WithOuterHTML added in v0.17.0

func (dae *DOMHTMLAreaElement) WithOuterHTML(outerHTML string) *DOMHTMLAreaElement

WithOuterHTML sets the outer HTML.

func (*DOMHTMLAreaElement) WithOuterText added in v0.17.0

func (dae *DOMHTMLAreaElement) WithOuterText(outerText string) *DOMHTMLAreaElement

WithOuterText sets the outer text.

func (*DOMHTMLAreaElement) WithPrefix added in v0.17.0

func (dae *DOMHTMLAreaElement) WithPrefix(prefix string) *DOMHTMLAreaElement

WithPrefix sets the prefix.

func (*DOMHTMLAreaElement) WithScrollLeft added in v0.17.0

func (dae *DOMHTMLAreaElement) WithScrollLeft(scrollLeft int) *DOMHTMLAreaElement

WithScrollLeft sets the scroll left.

func (*DOMHTMLAreaElement) WithScrollTop added in v0.17.0

func (dae *DOMHTMLAreaElement) WithScrollTop(scrollTop int) *DOMHTMLAreaElement

WithScrollTop sets the scroll top.

func (*DOMHTMLAreaElement) WithShape added in v0.17.0

func (dae *DOMHTMLAreaElement) WithShape(shape string) *DOMHTMLAreaElement

WithShape sets the shape.

func (*DOMHTMLAreaElement) WithTabIndex added in v0.17.0

func (dae *DOMHTMLAreaElement) WithTabIndex(tabIndex int) *DOMHTMLAreaElement

WithTabIndex sets the tab index.

func (*DOMHTMLAreaElement) WithTarget added in v0.17.0

func (dae *DOMHTMLAreaElement) WithTarget(target string) *DOMHTMLAreaElement

WithTarget sets the target.

func (*DOMHTMLAreaElement) WithTextContent added in v0.17.0

func (dae *DOMHTMLAreaElement) WithTextContent(textContent string) *DOMHTMLAreaElement

WithTextContent sets the text content.

func (*DOMHTMLAreaElement) WithTitle added in v0.17.0

func (dae *DOMHTMLAreaElement) WithTitle(title string) *DOMHTMLAreaElement

WithTitle sets the title.

type DOMHTMLBRElement

type DOMHTMLBRElement struct {
	DOMHTMLElement
}

DOMHTMLBRElement is an idiomatic wrapper over the Objective-C class DOMHTMLBRElement.

It embeds DOMHTMLElement, promoting that type's methods.

func DOMHTMLBRElementFromID

func DOMHTMLBRElementFromID(id objc.ID) *DOMHTMLBRElement

DOMHTMLBRElementFromID adopts an existing Objective-C object as a DOMHTMLBRElement (nil for 0), retaining it and registering a release finalizer.

func NewDOMHTMLBRElement added in v0.17.0

func NewDOMHTMLBRElement() *DOMHTMLBRElement

NewDOMHTMLBRElement creates a new DOMHTMLBRElement.

func (*DOMHTMLBRElement) Clear

func (de *DOMHTMLBRElement) Clear() string

Clear returns the clear.

func (*DOMHTMLBRElement) WithAccessKey added in v0.17.0

func (de *DOMHTMLBRElement) WithAccessKey(accessKey string) *DOMHTMLBRElement

WithAccessKey sets the access key.

func (*DOMHTMLBRElement) WithClassName added in v0.17.0

func (de *DOMHTMLBRElement) WithClassName(className string) *DOMHTMLBRElement

WithClassName sets the class name.

func (*DOMHTMLBRElement) WithClear added in v0.17.0

func (de *DOMHTMLBRElement) WithClear(clear string) *DOMHTMLBRElement

WithClear sets the clear.

func (*DOMHTMLBRElement) WithContentEditable added in v0.17.0

func (de *DOMHTMLBRElement) WithContentEditable(contentEditable string) *DOMHTMLBRElement

WithContentEditable sets the content editable.

func (*DOMHTMLBRElement) WithDir added in v0.17.0

func (de *DOMHTMLBRElement) WithDir(dir string) *DOMHTMLBRElement

WithDir sets the dir.

func (*DOMHTMLBRElement) WithIDName added in v0.17.0

func (de *DOMHTMLBRElement) WithIDName(idName string) *DOMHTMLBRElement

WithIDName sets the ID name.

func (*DOMHTMLBRElement) WithInnerHTML added in v0.17.0

func (de *DOMHTMLBRElement) WithInnerHTML(innerHTML string) *DOMHTMLBRElement

WithInnerHTML sets the inner HTML.

func (*DOMHTMLBRElement) WithInnerText added in v0.17.0

func (de *DOMHTMLBRElement) WithInnerText(innerText string) *DOMHTMLBRElement

WithInnerText sets the inner text.

func (*DOMHTMLBRElement) WithLang added in v0.17.0

func (de *DOMHTMLBRElement) WithLang(lang string) *DOMHTMLBRElement

WithLang sets the lang.

func (*DOMHTMLBRElement) WithNodeValue added in v0.17.0

func (de *DOMHTMLBRElement) WithNodeValue(nodeValue string) *DOMHTMLBRElement

WithNodeValue sets the node value.

func (*DOMHTMLBRElement) WithOuterHTML added in v0.17.0

func (de *DOMHTMLBRElement) WithOuterHTML(outerHTML string) *DOMHTMLBRElement

WithOuterHTML sets the outer HTML.

func (*DOMHTMLBRElement) WithOuterText added in v0.17.0

func (de *DOMHTMLBRElement) WithOuterText(outerText string) *DOMHTMLBRElement

WithOuterText sets the outer text.

func (*DOMHTMLBRElement) WithPrefix added in v0.17.0

func (de *DOMHTMLBRElement) WithPrefix(prefix string) *DOMHTMLBRElement

WithPrefix sets the prefix.

func (*DOMHTMLBRElement) WithScrollLeft added in v0.17.0

func (de *DOMHTMLBRElement) WithScrollLeft(scrollLeft int) *DOMHTMLBRElement

WithScrollLeft sets the scroll left.

func (*DOMHTMLBRElement) WithScrollTop added in v0.17.0

func (de *DOMHTMLBRElement) WithScrollTop(scrollTop int) *DOMHTMLBRElement

WithScrollTop sets the scroll top.

func (*DOMHTMLBRElement) WithTabIndex added in v0.17.0

func (de *DOMHTMLBRElement) WithTabIndex(tabIndex int) *DOMHTMLBRElement

WithTabIndex sets the tab index.

func (*DOMHTMLBRElement) WithTextContent added in v0.17.0

func (de *DOMHTMLBRElement) WithTextContent(textContent string) *DOMHTMLBRElement

WithTextContent sets the text content.

func (*DOMHTMLBRElement) WithTitle added in v0.17.0

func (de *DOMHTMLBRElement) WithTitle(title string) *DOMHTMLBRElement

WithTitle sets the title.

type DOMHTMLBaseElement

type DOMHTMLBaseElement struct {
	DOMHTMLElement
}

DOMHTMLBaseElement is an idiomatic wrapper over the Objective-C class DOMHTMLBaseElement.

It embeds DOMHTMLElement, promoting that type's methods.

func DOMHTMLBaseElementFromID

func DOMHTMLBaseElementFromID(id objc.ID) *DOMHTMLBaseElement

DOMHTMLBaseElementFromID adopts an existing Objective-C object as a DOMHTMLBaseElement (nil for 0), retaining it and registering a release finalizer.

func NewDOMHTMLBaseElement added in v0.17.0

func NewDOMHTMLBaseElement() *DOMHTMLBaseElement

NewDOMHTMLBaseElement creates a new DOMHTMLBaseElement.

func (*DOMHTMLBaseElement) Href

func (dbe *DOMHTMLBaseElement) Href() string

Href returns the href.

func (*DOMHTMLBaseElement) Target

func (dbe *DOMHTMLBaseElement) Target() string

Target returns the target.

func (*DOMHTMLBaseElement) WithAccessKey added in v0.17.0

func (dbe *DOMHTMLBaseElement) WithAccessKey(accessKey string) *DOMHTMLBaseElement

WithAccessKey sets the access key.

func (*DOMHTMLBaseElement) WithClassName added in v0.17.0

func (dbe *DOMHTMLBaseElement) WithClassName(className string) *DOMHTMLBaseElement

WithClassName sets the class name.

func (*DOMHTMLBaseElement) WithContentEditable added in v0.17.0

func (dbe *DOMHTMLBaseElement) WithContentEditable(contentEditable string) *DOMHTMLBaseElement

WithContentEditable sets the content editable.

func (*DOMHTMLBaseElement) WithDir added in v0.17.0

func (dbe *DOMHTMLBaseElement) WithDir(dir string) *DOMHTMLBaseElement

WithDir sets the dir.

func (*DOMHTMLBaseElement) WithHref added in v0.17.0

func (dbe *DOMHTMLBaseElement) WithHref(href string) *DOMHTMLBaseElement

WithHref sets the href.

func (*DOMHTMLBaseElement) WithIDName added in v0.17.0

func (dbe *DOMHTMLBaseElement) WithIDName(idName string) *DOMHTMLBaseElement

WithIDName sets the ID name.

func (*DOMHTMLBaseElement) WithInnerHTML added in v0.17.0

func (dbe *DOMHTMLBaseElement) WithInnerHTML(innerHTML string) *DOMHTMLBaseElement

WithInnerHTML sets the inner HTML.

func (*DOMHTMLBaseElement) WithInnerText added in v0.17.0

func (dbe *DOMHTMLBaseElement) WithInnerText(innerText string) *DOMHTMLBaseElement

WithInnerText sets the inner text.

func (*DOMHTMLBaseElement) WithLang added in v0.17.0

func (dbe *DOMHTMLBaseElement) WithLang(lang string) *DOMHTMLBaseElement

WithLang sets the lang.

func (*DOMHTMLBaseElement) WithNodeValue added in v0.17.0

func (dbe *DOMHTMLBaseElement) WithNodeValue(nodeValue string) *DOMHTMLBaseElement

WithNodeValue sets the node value.

func (*DOMHTMLBaseElement) WithOuterHTML added in v0.17.0

func (dbe *DOMHTMLBaseElement) WithOuterHTML(outerHTML string) *DOMHTMLBaseElement

WithOuterHTML sets the outer HTML.

func (*DOMHTMLBaseElement) WithOuterText added in v0.17.0

func (dbe *DOMHTMLBaseElement) WithOuterText(outerText string) *DOMHTMLBaseElement

WithOuterText sets the outer text.

func (*DOMHTMLBaseElement) WithPrefix added in v0.17.0

func (dbe *DOMHTMLBaseElement) WithPrefix(prefix string) *DOMHTMLBaseElement

WithPrefix sets the prefix.

func (*DOMHTMLBaseElement) WithScrollLeft added in v0.17.0

func (dbe *DOMHTMLBaseElement) WithScrollLeft(scrollLeft int) *DOMHTMLBaseElement

WithScrollLeft sets the scroll left.

func (*DOMHTMLBaseElement) WithScrollTop added in v0.17.0

func (dbe *DOMHTMLBaseElement) WithScrollTop(scrollTop int) *DOMHTMLBaseElement

WithScrollTop sets the scroll top.

func (*DOMHTMLBaseElement) WithTabIndex added in v0.17.0

func (dbe *DOMHTMLBaseElement) WithTabIndex(tabIndex int) *DOMHTMLBaseElement

WithTabIndex sets the tab index.

func (*DOMHTMLBaseElement) WithTarget added in v0.17.0

func (dbe *DOMHTMLBaseElement) WithTarget(target string) *DOMHTMLBaseElement

WithTarget sets the target.

func (*DOMHTMLBaseElement) WithTextContent added in v0.17.0

func (dbe *DOMHTMLBaseElement) WithTextContent(textContent string) *DOMHTMLBaseElement

WithTextContent sets the text content.

func (*DOMHTMLBaseElement) WithTitle added in v0.17.0

func (dbe *DOMHTMLBaseElement) WithTitle(title string) *DOMHTMLBaseElement

WithTitle sets the title.

type DOMHTMLBaseFontElement

type DOMHTMLBaseFontElement struct {
	DOMHTMLElement
}

DOMHTMLBaseFontElement is an idiomatic wrapper over the Objective-C class DOMHTMLBaseFontElement.

It embeds DOMHTMLElement, promoting that type's methods.

func DOMHTMLBaseFontElementFromID

func DOMHTMLBaseFontElementFromID(id objc.ID) *DOMHTMLBaseFontElement

DOMHTMLBaseFontElementFromID adopts an existing Objective-C object as a DOMHTMLBaseFontElement (nil for 0), retaining it and registering a release finalizer.

func NewDOMHTMLBaseFontElement added in v0.17.0

func NewDOMHTMLBaseFontElement() *DOMHTMLBaseFontElement

NewDOMHTMLBaseFontElement creates a new DOMHTMLBaseFontElement.

func (*DOMHTMLBaseFontElement) Color

func (dbfe *DOMHTMLBaseFontElement) Color() string

Color returns the color.

func (*DOMHTMLBaseFontElement) Face

func (dbfe *DOMHTMLBaseFontElement) Face() string

Face returns the face.

func (*DOMHTMLBaseFontElement) Size

func (dbfe *DOMHTMLBaseFontElement) Size() string

Size returns the size.

func (*DOMHTMLBaseFontElement) WithAccessKey added in v0.17.0

func (dbfe *DOMHTMLBaseFontElement) WithAccessKey(accessKey string) *DOMHTMLBaseFontElement

WithAccessKey sets the access key.

func (*DOMHTMLBaseFontElement) WithClassName added in v0.17.0

func (dbfe *DOMHTMLBaseFontElement) WithClassName(className string) *DOMHTMLBaseFontElement

WithClassName sets the class name.

func (*DOMHTMLBaseFontElement) WithColor added in v0.17.0

func (dbfe *DOMHTMLBaseFontElement) WithColor(color string) *DOMHTMLBaseFontElement

WithColor sets the color.

func (*DOMHTMLBaseFontElement) WithContentEditable added in v0.17.0

func (dbfe *DOMHTMLBaseFontElement) WithContentEditable(contentEditable string) *DOMHTMLBaseFontElement

WithContentEditable sets the content editable.

func (*DOMHTMLBaseFontElement) WithDir added in v0.17.0

WithDir sets the dir.

func (*DOMHTMLBaseFontElement) WithFace added in v0.17.0

WithFace sets the face.

func (*DOMHTMLBaseFontElement) WithIDName added in v0.17.0

func (dbfe *DOMHTMLBaseFontElement) WithIDName(idName string) *DOMHTMLBaseFontElement

WithIDName sets the ID name.

func (*DOMHTMLBaseFontElement) WithInnerHTML added in v0.17.0

func (dbfe *DOMHTMLBaseFontElement) WithInnerHTML(innerHTML string) *DOMHTMLBaseFontElement

WithInnerHTML sets the inner HTML.

func (*DOMHTMLBaseFontElement) WithInnerText added in v0.17.0

func (dbfe *DOMHTMLBaseFontElement) WithInnerText(innerText string) *DOMHTMLBaseFontElement

WithInnerText sets the inner text.

func (*DOMHTMLBaseFontElement) WithLang added in v0.17.0

WithLang sets the lang.

func (*DOMHTMLBaseFontElement) WithNodeValue added in v0.17.0

func (dbfe *DOMHTMLBaseFontElement) WithNodeValue(nodeValue string) *DOMHTMLBaseFontElement

WithNodeValue sets the node value.

func (*DOMHTMLBaseFontElement) WithOuterHTML added in v0.17.0

func (dbfe *DOMHTMLBaseFontElement) WithOuterHTML(outerHTML string) *DOMHTMLBaseFontElement

WithOuterHTML sets the outer HTML.

func (*DOMHTMLBaseFontElement) WithOuterText added in v0.17.0

func (dbfe *DOMHTMLBaseFontElement) WithOuterText(outerText string) *DOMHTMLBaseFontElement

WithOuterText sets the outer text.

func (*DOMHTMLBaseFontElement) WithPrefix added in v0.17.0

func (dbfe *DOMHTMLBaseFontElement) WithPrefix(prefix string) *DOMHTMLBaseFontElement

WithPrefix sets the prefix.

func (*DOMHTMLBaseFontElement) WithScrollLeft added in v0.17.0

func (dbfe *DOMHTMLBaseFontElement) WithScrollLeft(scrollLeft int) *DOMHTMLBaseFontElement

WithScrollLeft sets the scroll left.

func (*DOMHTMLBaseFontElement) WithScrollTop added in v0.17.0

func (dbfe *DOMHTMLBaseFontElement) WithScrollTop(scrollTop int) *DOMHTMLBaseFontElement

WithScrollTop sets the scroll top.

func (*DOMHTMLBaseFontElement) WithSize added in v0.17.0

WithSize sets the size.

func (*DOMHTMLBaseFontElement) WithTabIndex added in v0.17.0

func (dbfe *DOMHTMLBaseFontElement) WithTabIndex(tabIndex int) *DOMHTMLBaseFontElement

WithTabIndex sets the tab index.

func (*DOMHTMLBaseFontElement) WithTextContent added in v0.17.0

func (dbfe *DOMHTMLBaseFontElement) WithTextContent(textContent string) *DOMHTMLBaseFontElement

WithTextContent sets the text content.

func (*DOMHTMLBaseFontElement) WithTitle added in v0.17.0

func (dbfe *DOMHTMLBaseFontElement) WithTitle(title string) *DOMHTMLBaseFontElement

WithTitle sets the title.

type DOMHTMLBodyElement

type DOMHTMLBodyElement struct {
	DOMHTMLElement
}

DOMHTMLBodyElement is an idiomatic wrapper over the Objective-C class DOMHTMLBodyElement.

It embeds DOMHTMLElement, promoting that type's methods.

func DOMHTMLBodyElementFromID

func DOMHTMLBodyElementFromID(id objc.ID) *DOMHTMLBodyElement

DOMHTMLBodyElementFromID adopts an existing Objective-C object as a DOMHTMLBodyElement (nil for 0), retaining it and registering a release finalizer.

func NewDOMHTMLBodyElement added in v0.17.0

func NewDOMHTMLBodyElement() *DOMHTMLBodyElement

NewDOMHTMLBodyElement creates a new DOMHTMLBodyElement.

func (dbe *DOMHTMLBodyElement) ALink() string

ALink returns the a link.

func (*DOMHTMLBodyElement) Background

func (dbe *DOMHTMLBodyElement) Background() string

Background returns the background.

func (*DOMHTMLBodyElement) BgColor

func (dbe *DOMHTMLBodyElement) BgColor() string

BgColor returns the bg color.

func (dbe *DOMHTMLBodyElement) Link() string

Link returns the link.

func (*DOMHTMLBodyElement) Text

func (dbe *DOMHTMLBodyElement) Text() string

Text returns the text.

func (dbe *DOMHTMLBodyElement) VLink() string

VLink returns the v link.

func (dbe *DOMHTMLBodyElement) WithALink(aLink string) *DOMHTMLBodyElement

WithALink sets the a link.

func (*DOMHTMLBodyElement) WithAccessKey added in v0.17.0

func (dbe *DOMHTMLBodyElement) WithAccessKey(accessKey string) *DOMHTMLBodyElement

WithAccessKey sets the access key.

func (*DOMHTMLBodyElement) WithBackground added in v0.17.0

func (dbe *DOMHTMLBodyElement) WithBackground(background string) *DOMHTMLBodyElement

WithBackground sets the background.

func (*DOMHTMLBodyElement) WithBgColor added in v0.17.0

func (dbe *DOMHTMLBodyElement) WithBgColor(bgColor string) *DOMHTMLBodyElement

WithBgColor sets the bg color.

func (*DOMHTMLBodyElement) WithClassName added in v0.17.0

func (dbe *DOMHTMLBodyElement) WithClassName(className string) *DOMHTMLBodyElement

WithClassName sets the class name.

func (*DOMHTMLBodyElement) WithContentEditable added in v0.17.0

func (dbe *DOMHTMLBodyElement) WithContentEditable(contentEditable string) *DOMHTMLBodyElement

WithContentEditable sets the content editable.

func (*DOMHTMLBodyElement) WithDir added in v0.17.0

func (dbe *DOMHTMLBodyElement) WithDir(dir string) *DOMHTMLBodyElement

WithDir sets the dir.

func (*DOMHTMLBodyElement) WithIDName added in v0.17.0

func (dbe *DOMHTMLBodyElement) WithIDName(idName string) *DOMHTMLBodyElement

WithIDName sets the ID name.

func (*DOMHTMLBodyElement) WithInnerHTML added in v0.17.0

func (dbe *DOMHTMLBodyElement) WithInnerHTML(innerHTML string) *DOMHTMLBodyElement

WithInnerHTML sets the inner HTML.

func (*DOMHTMLBodyElement) WithInnerText added in v0.17.0

func (dbe *DOMHTMLBodyElement) WithInnerText(innerText string) *DOMHTMLBodyElement

WithInnerText sets the inner text.

func (*DOMHTMLBodyElement) WithLang added in v0.17.0

func (dbe *DOMHTMLBodyElement) WithLang(lang string) *DOMHTMLBodyElement

WithLang sets the lang.

func (dbe *DOMHTMLBodyElement) WithLink(link string) *DOMHTMLBodyElement

WithLink sets the link.

func (*DOMHTMLBodyElement) WithNodeValue added in v0.17.0

func (dbe *DOMHTMLBodyElement) WithNodeValue(nodeValue string) *DOMHTMLBodyElement

WithNodeValue sets the node value.

func (*DOMHTMLBodyElement) WithOuterHTML added in v0.17.0

func (dbe *DOMHTMLBodyElement) WithOuterHTML(outerHTML string) *DOMHTMLBodyElement

WithOuterHTML sets the outer HTML.

func (*DOMHTMLBodyElement) WithOuterText added in v0.17.0

func (dbe *DOMHTMLBodyElement) WithOuterText(outerText string) *DOMHTMLBodyElement

WithOuterText sets the outer text.

func (*DOMHTMLBodyElement) WithPrefix added in v0.17.0

func (dbe *DOMHTMLBodyElement) WithPrefix(prefix string) *DOMHTMLBodyElement

WithPrefix sets the prefix.

func (*DOMHTMLBodyElement) WithScrollLeft added in v0.17.0

func (dbe *DOMHTMLBodyElement) WithScrollLeft(scrollLeft int) *DOMHTMLBodyElement

WithScrollLeft sets the scroll left.

func (*DOMHTMLBodyElement) WithScrollTop added in v0.17.0

func (dbe *DOMHTMLBodyElement) WithScrollTop(scrollTop int) *DOMHTMLBodyElement

WithScrollTop sets the scroll top.

func (*DOMHTMLBodyElement) WithTabIndex added in v0.17.0

func (dbe *DOMHTMLBodyElement) WithTabIndex(tabIndex int) *DOMHTMLBodyElement

WithTabIndex sets the tab index.

func (*DOMHTMLBodyElement) WithText added in v0.17.0

func (dbe *DOMHTMLBodyElement) WithText(text string) *DOMHTMLBodyElement

WithText sets the text.

func (*DOMHTMLBodyElement) WithTextContent added in v0.17.0

func (dbe *DOMHTMLBodyElement) WithTextContent(textContent string) *DOMHTMLBodyElement

WithTextContent sets the text content.

func (*DOMHTMLBodyElement) WithTitle added in v0.17.0

func (dbe *DOMHTMLBodyElement) WithTitle(title string) *DOMHTMLBodyElement

WithTitle sets the title.

func (dbe *DOMHTMLBodyElement) WithVLink(vLink string) *DOMHTMLBodyElement

WithVLink sets the v link.

type DOMHTMLButtonElement

type DOMHTMLButtonElement struct {
	DOMHTMLElement
}

DOMHTMLButtonElement is an idiomatic wrapper over the Objective-C class DOMHTMLButtonElement.

It embeds DOMHTMLElement, promoting that type's methods.

func DOMHTMLButtonElementFromID

func DOMHTMLButtonElementFromID(id objc.ID) *DOMHTMLButtonElement

DOMHTMLButtonElementFromID adopts an existing Objective-C object as a DOMHTMLButtonElement (nil for 0), retaining it and registering a release finalizer.

func NewDOMHTMLButtonElement added in v0.17.0

func NewDOMHTMLButtonElement() *DOMHTMLButtonElement

NewDOMHTMLButtonElement creates a new DOMHTMLButtonElement.

func (*DOMHTMLButtonElement) Autofocus

func (dbe *DOMHTMLButtonElement) Autofocus() bool

Autofocus wraps the corresponding Objective-C method.

func (*DOMHTMLButtonElement) Disabled

func (dbe *DOMHTMLButtonElement) Disabled() bool

Disabled wraps the corresponding Objective-C method.

func (*DOMHTMLButtonElement) Form

Form returns the form.

func (*DOMHTMLButtonElement) Name

func (dbe *DOMHTMLButtonElement) Name() string

Name returns the name.

func (*DOMHTMLButtonElement) Type

func (dbe *DOMHTMLButtonElement) Type() string

Type returns the type.

func (*DOMHTMLButtonElement) Value

func (dbe *DOMHTMLButtonElement) Value() string

Value returns the value.

func (*DOMHTMLButtonElement) WillValidate

func (dbe *DOMHTMLButtonElement) WillValidate() bool

WillValidate wraps the corresponding Objective-C method.

func (*DOMHTMLButtonElement) WithAccessKey added in v0.17.0

func (dbe *DOMHTMLButtonElement) WithAccessKey(accessKey string) *DOMHTMLButtonElement

WithAccessKey sets the access key.

func (*DOMHTMLButtonElement) WithAutofocus added in v0.17.0

func (dbe *DOMHTMLButtonElement) WithAutofocus(autofocus bool) *DOMHTMLButtonElement

WithAutofocus sets the autofocus.

func (*DOMHTMLButtonElement) WithClassName added in v0.17.0

func (dbe *DOMHTMLButtonElement) WithClassName(className string) *DOMHTMLButtonElement

WithClassName sets the class name.

func (*DOMHTMLButtonElement) WithContentEditable added in v0.17.0

func (dbe *DOMHTMLButtonElement) WithContentEditable(contentEditable string) *DOMHTMLButtonElement

WithContentEditable sets the content editable.

func (*DOMHTMLButtonElement) WithDir added in v0.17.0

WithDir sets the dir.

func (*DOMHTMLButtonElement) WithDisabled added in v0.17.0

func (dbe *DOMHTMLButtonElement) WithDisabled(disabled bool) *DOMHTMLButtonElement

WithDisabled sets the disabled.

func (*DOMHTMLButtonElement) WithIDName added in v0.17.0

func (dbe *DOMHTMLButtonElement) WithIDName(idName string) *DOMHTMLButtonElement

WithIDName sets the ID name.

func (*DOMHTMLButtonElement) WithInnerHTML added in v0.17.0

func (dbe *DOMHTMLButtonElement) WithInnerHTML(innerHTML string) *DOMHTMLButtonElement

WithInnerHTML sets the inner HTML.

func (*DOMHTMLButtonElement) WithInnerText added in v0.17.0

func (dbe *DOMHTMLButtonElement) WithInnerText(innerText string) *DOMHTMLButtonElement

WithInnerText sets the inner text.

func (*DOMHTMLButtonElement) WithLang added in v0.17.0

func (dbe *DOMHTMLButtonElement) WithLang(lang string) *DOMHTMLButtonElement

WithLang sets the lang.

func (*DOMHTMLButtonElement) WithName added in v0.17.0

func (dbe *DOMHTMLButtonElement) WithName(name string) *DOMHTMLButtonElement

WithName sets the name.

func (*DOMHTMLButtonElement) WithNodeValue added in v0.17.0

func (dbe *DOMHTMLButtonElement) WithNodeValue(nodeValue string) *DOMHTMLButtonElement

WithNodeValue sets the node value.

func (*DOMHTMLButtonElement) WithOuterHTML added in v0.17.0

func (dbe *DOMHTMLButtonElement) WithOuterHTML(outerHTML string) *DOMHTMLButtonElement

WithOuterHTML sets the outer HTML.

func (*DOMHTMLButtonElement) WithOuterText added in v0.17.0

func (dbe *DOMHTMLButtonElement) WithOuterText(outerText string) *DOMHTMLButtonElement

WithOuterText sets the outer text.

func (*DOMHTMLButtonElement) WithPrefix added in v0.17.0

func (dbe *DOMHTMLButtonElement) WithPrefix(prefix string) *DOMHTMLButtonElement

WithPrefix sets the prefix.

func (*DOMHTMLButtonElement) WithScrollLeft added in v0.17.0

func (dbe *DOMHTMLButtonElement) WithScrollLeft(scrollLeft int) *DOMHTMLButtonElement

WithScrollLeft sets the scroll left.

func (*DOMHTMLButtonElement) WithScrollTop added in v0.17.0

func (dbe *DOMHTMLButtonElement) WithScrollTop(scrollTop int) *DOMHTMLButtonElement

WithScrollTop sets the scroll top.

func (*DOMHTMLButtonElement) WithTabIndex added in v0.17.0

func (dbe *DOMHTMLButtonElement) WithTabIndex(tabIndex int) *DOMHTMLButtonElement

WithTabIndex sets the tab index.

func (*DOMHTMLButtonElement) WithTextContent added in v0.17.0

func (dbe *DOMHTMLButtonElement) WithTextContent(textContent string) *DOMHTMLButtonElement

WithTextContent sets the text content.

func (*DOMHTMLButtonElement) WithTitle added in v0.17.0

func (dbe *DOMHTMLButtonElement) WithTitle(title string) *DOMHTMLButtonElement

WithTitle sets the title.

func (*DOMHTMLButtonElement) WithType added in v0.17.0

func (dbe *DOMHTMLButtonElement) WithType(type_ string) *DOMHTMLButtonElement

WithType sets the type.

func (*DOMHTMLButtonElement) WithValue added in v0.17.0

func (dbe *DOMHTMLButtonElement) WithValue(value string) *DOMHTMLButtonElement

WithValue sets the value.

type DOMHTMLCollection

type DOMHTMLCollection struct {
	DOMObject
}

DOMHTMLCollection is an idiomatic wrapper over the Objective-C class DOMHTMLCollection.

It embeds DOMObject, promoting that type's methods.

func DOMHTMLCollectionFromID

func DOMHTMLCollectionFromID(id objc.ID) *DOMHTMLCollection

DOMHTMLCollectionFromID adopts an existing Objective-C object as a DOMHTMLCollection (nil for 0), retaining it and registering a release finalizer.

func NewDOMHTMLCollection added in v0.17.0

func NewDOMHTMLCollection() *DOMHTMLCollection

NewDOMHTMLCollection creates a new DOMHTMLCollection.

func (*DOMHTMLCollection) Item

func (dc *DOMHTMLCollection) Item(index int) *DOMNode

Item wraps the corresponding Objective-C method.

func (*DOMHTMLCollection) Length

func (dc *DOMHTMLCollection) Length() int

Length returns the length.

func (*DOMHTMLCollection) NamedItem

func (dc *DOMHTMLCollection) NamedItem(name string) *DOMNode

NamedItem wraps the corresponding Objective-C method.

func (*DOMHTMLCollection) Tags

func (dc *DOMHTMLCollection) Tags(name string) *DOMNodeList

Tags wraps the corresponding Objective-C method.

type DOMHTMLDListElement

type DOMHTMLDListElement struct {
	DOMHTMLElement
}

DOMHTMLDListElement is an idiomatic wrapper over the Objective-C class DOMHTMLDListElement.

It embeds DOMHTMLElement, promoting that type's methods.

func DOMHTMLDListElementFromID

func DOMHTMLDListElementFromID(id objc.ID) *DOMHTMLDListElement

DOMHTMLDListElementFromID adopts an existing Objective-C object as a DOMHTMLDListElement (nil for 0), retaining it and registering a release finalizer.

func NewDOMHTMLDListElement added in v0.17.0

func NewDOMHTMLDListElement() *DOMHTMLDListElement

NewDOMHTMLDListElement creates a new DOMHTMLDListElement.

func (*DOMHTMLDListElement) Compact

func (dle *DOMHTMLDListElement) Compact() bool

Compact wraps the corresponding Objective-C method.

func (*DOMHTMLDListElement) WithAccessKey added in v0.17.0

func (dle *DOMHTMLDListElement) WithAccessKey(accessKey string) *DOMHTMLDListElement

WithAccessKey sets the access key.

func (*DOMHTMLDListElement) WithClassName added in v0.17.0

func (dle *DOMHTMLDListElement) WithClassName(className string) *DOMHTMLDListElement

WithClassName sets the class name.

func (*DOMHTMLDListElement) WithCompact added in v0.17.0

func (dle *DOMHTMLDListElement) WithCompact(compact bool) *DOMHTMLDListElement

WithCompact sets the compact.

func (*DOMHTMLDListElement) WithContentEditable added in v0.17.0

func (dle *DOMHTMLDListElement) WithContentEditable(contentEditable string) *DOMHTMLDListElement

WithContentEditable sets the content editable.

func (*DOMHTMLDListElement) WithDir added in v0.17.0

func (dle *DOMHTMLDListElement) WithDir(dir string) *DOMHTMLDListElement

WithDir sets the dir.

func (*DOMHTMLDListElement) WithIDName added in v0.17.0

func (dle *DOMHTMLDListElement) WithIDName(idName string) *DOMHTMLDListElement

WithIDName sets the ID name.

func (*DOMHTMLDListElement) WithInnerHTML added in v0.17.0

func (dle *DOMHTMLDListElement) WithInnerHTML(innerHTML string) *DOMHTMLDListElement

WithInnerHTML sets the inner HTML.

func (*DOMHTMLDListElement) WithInnerText added in v0.17.0

func (dle *DOMHTMLDListElement) WithInnerText(innerText string) *DOMHTMLDListElement

WithInnerText sets the inner text.

func (*DOMHTMLDListElement) WithLang added in v0.17.0

func (dle *DOMHTMLDListElement) WithLang(lang string) *DOMHTMLDListElement

WithLang sets the lang.

func (*DOMHTMLDListElement) WithNodeValue added in v0.17.0

func (dle *DOMHTMLDListElement) WithNodeValue(nodeValue string) *DOMHTMLDListElement

WithNodeValue sets the node value.

func (*DOMHTMLDListElement) WithOuterHTML added in v0.17.0

func (dle *DOMHTMLDListElement) WithOuterHTML(outerHTML string) *DOMHTMLDListElement

WithOuterHTML sets the outer HTML.

func (*DOMHTMLDListElement) WithOuterText added in v0.17.0

func (dle *DOMHTMLDListElement) WithOuterText(outerText string) *DOMHTMLDListElement

WithOuterText sets the outer text.

func (*DOMHTMLDListElement) WithPrefix added in v0.17.0

func (dle *DOMHTMLDListElement) WithPrefix(prefix string) *DOMHTMLDListElement

WithPrefix sets the prefix.

func (*DOMHTMLDListElement) WithScrollLeft added in v0.17.0

func (dle *DOMHTMLDListElement) WithScrollLeft(scrollLeft int) *DOMHTMLDListElement

WithScrollLeft sets the scroll left.

func (*DOMHTMLDListElement) WithScrollTop added in v0.17.0

func (dle *DOMHTMLDListElement) WithScrollTop(scrollTop int) *DOMHTMLDListElement

WithScrollTop sets the scroll top.

func (*DOMHTMLDListElement) WithTabIndex added in v0.17.0

func (dle *DOMHTMLDListElement) WithTabIndex(tabIndex int) *DOMHTMLDListElement

WithTabIndex sets the tab index.

func (*DOMHTMLDListElement) WithTextContent added in v0.17.0

func (dle *DOMHTMLDListElement) WithTextContent(textContent string) *DOMHTMLDListElement

WithTextContent sets the text content.

func (*DOMHTMLDListElement) WithTitle added in v0.17.0

func (dle *DOMHTMLDListElement) WithTitle(title string) *DOMHTMLDListElement

WithTitle sets the title.

type DOMHTMLDirectoryElement

type DOMHTMLDirectoryElement struct {
	DOMHTMLElement
}

DOMHTMLDirectoryElement is an idiomatic wrapper over the Objective-C class DOMHTMLDirectoryElement.

It embeds DOMHTMLElement, promoting that type's methods.

func DOMHTMLDirectoryElementFromID

func DOMHTMLDirectoryElementFromID(id objc.ID) *DOMHTMLDirectoryElement

DOMHTMLDirectoryElementFromID adopts an existing Objective-C object as a DOMHTMLDirectoryElement (nil for 0), retaining it and registering a release finalizer.

func NewDOMHTMLDirectoryElement added in v0.17.0

func NewDOMHTMLDirectoryElement() *DOMHTMLDirectoryElement

NewDOMHTMLDirectoryElement creates a new DOMHTMLDirectoryElement.

func (*DOMHTMLDirectoryElement) Compact

func (dde *DOMHTMLDirectoryElement) Compact() bool

Compact wraps the corresponding Objective-C method.

func (*DOMHTMLDirectoryElement) WithAccessKey added in v0.17.0

func (dde *DOMHTMLDirectoryElement) WithAccessKey(accessKey string) *DOMHTMLDirectoryElement

WithAccessKey sets the access key.

func (*DOMHTMLDirectoryElement) WithClassName added in v0.17.0

func (dde *DOMHTMLDirectoryElement) WithClassName(className string) *DOMHTMLDirectoryElement

WithClassName sets the class name.

func (*DOMHTMLDirectoryElement) WithCompact added in v0.17.0

func (dde *DOMHTMLDirectoryElement) WithCompact(compact bool) *DOMHTMLDirectoryElement

WithCompact sets the compact.

func (*DOMHTMLDirectoryElement) WithContentEditable added in v0.17.0

func (dde *DOMHTMLDirectoryElement) WithContentEditable(contentEditable string) *DOMHTMLDirectoryElement

WithContentEditable sets the content editable.

func (*DOMHTMLDirectoryElement) WithDir added in v0.17.0

WithDir sets the dir.

func (*DOMHTMLDirectoryElement) WithIDName added in v0.17.0

func (dde *DOMHTMLDirectoryElement) WithIDName(idName string) *DOMHTMLDirectoryElement

WithIDName sets the ID name.

func (*DOMHTMLDirectoryElement) WithInnerHTML added in v0.17.0

func (dde *DOMHTMLDirectoryElement) WithInnerHTML(innerHTML string) *DOMHTMLDirectoryElement

WithInnerHTML sets the inner HTML.

func (*DOMHTMLDirectoryElement) WithInnerText added in v0.17.0

func (dde *DOMHTMLDirectoryElement) WithInnerText(innerText string) *DOMHTMLDirectoryElement

WithInnerText sets the inner text.

func (*DOMHTMLDirectoryElement) WithLang added in v0.17.0

WithLang sets the lang.

func (*DOMHTMLDirectoryElement) WithNodeValue added in v0.17.0

func (dde *DOMHTMLDirectoryElement) WithNodeValue(nodeValue string) *DOMHTMLDirectoryElement

WithNodeValue sets the node value.

func (*DOMHTMLDirectoryElement) WithOuterHTML added in v0.17.0

func (dde *DOMHTMLDirectoryElement) WithOuterHTML(outerHTML string) *DOMHTMLDirectoryElement

WithOuterHTML sets the outer HTML.

func (*DOMHTMLDirectoryElement) WithOuterText added in v0.17.0

func (dde *DOMHTMLDirectoryElement) WithOuterText(outerText string) *DOMHTMLDirectoryElement

WithOuterText sets the outer text.

func (*DOMHTMLDirectoryElement) WithPrefix added in v0.17.0

func (dde *DOMHTMLDirectoryElement) WithPrefix(prefix string) *DOMHTMLDirectoryElement

WithPrefix sets the prefix.

func (*DOMHTMLDirectoryElement) WithScrollLeft added in v0.17.0

func (dde *DOMHTMLDirectoryElement) WithScrollLeft(scrollLeft int) *DOMHTMLDirectoryElement

WithScrollLeft sets the scroll left.

func (*DOMHTMLDirectoryElement) WithScrollTop added in v0.17.0

func (dde *DOMHTMLDirectoryElement) WithScrollTop(scrollTop int) *DOMHTMLDirectoryElement

WithScrollTop sets the scroll top.

func (*DOMHTMLDirectoryElement) WithTabIndex added in v0.17.0

func (dde *DOMHTMLDirectoryElement) WithTabIndex(tabIndex int) *DOMHTMLDirectoryElement

WithTabIndex sets the tab index.

func (*DOMHTMLDirectoryElement) WithTextContent added in v0.17.0

func (dde *DOMHTMLDirectoryElement) WithTextContent(textContent string) *DOMHTMLDirectoryElement

WithTextContent sets the text content.

func (*DOMHTMLDirectoryElement) WithTitle added in v0.17.0

WithTitle sets the title.

type DOMHTMLDivElement

type DOMHTMLDivElement struct {
	DOMHTMLElement
}

DOMHTMLDivElement is an idiomatic wrapper over the Objective-C class DOMHTMLDivElement.

It embeds DOMHTMLElement, promoting that type's methods.

func DOMHTMLDivElementFromID

func DOMHTMLDivElementFromID(id objc.ID) *DOMHTMLDivElement

DOMHTMLDivElementFromID adopts an existing Objective-C object as a DOMHTMLDivElement (nil for 0), retaining it and registering a release finalizer.

func NewDOMHTMLDivElement added in v0.17.0

func NewDOMHTMLDivElement() *DOMHTMLDivElement

NewDOMHTMLDivElement creates a new DOMHTMLDivElement.

func (*DOMHTMLDivElement) Align

func (dde *DOMHTMLDivElement) Align() string

Align returns the align.

func (*DOMHTMLDivElement) WithAccessKey added in v0.17.0

func (dde *DOMHTMLDivElement) WithAccessKey(accessKey string) *DOMHTMLDivElement

WithAccessKey sets the access key.

func (*DOMHTMLDivElement) WithAlign added in v0.17.0

func (dde *DOMHTMLDivElement) WithAlign(align string) *DOMHTMLDivElement

WithAlign sets the align.

func (*DOMHTMLDivElement) WithClassName added in v0.17.0

func (dde *DOMHTMLDivElement) WithClassName(className string) *DOMHTMLDivElement

WithClassName sets the class name.

func (*DOMHTMLDivElement) WithContentEditable added in v0.17.0

func (dde *DOMHTMLDivElement) WithContentEditable(contentEditable string) *DOMHTMLDivElement

WithContentEditable sets the content editable.

func (*DOMHTMLDivElement) WithDir added in v0.17.0

func (dde *DOMHTMLDivElement) WithDir(dir string) *DOMHTMLDivElement

WithDir sets the dir.

func (*DOMHTMLDivElement) WithIDName added in v0.17.0

func (dde *DOMHTMLDivElement) WithIDName(idName string) *DOMHTMLDivElement

WithIDName sets the ID name.

func (*DOMHTMLDivElement) WithInnerHTML added in v0.17.0

func (dde *DOMHTMLDivElement) WithInnerHTML(innerHTML string) *DOMHTMLDivElement

WithInnerHTML sets the inner HTML.

func (*DOMHTMLDivElement) WithInnerText added in v0.17.0

func (dde *DOMHTMLDivElement) WithInnerText(innerText string) *DOMHTMLDivElement

WithInnerText sets the inner text.

func (*DOMHTMLDivElement) WithLang added in v0.17.0

func (dde *DOMHTMLDivElement) WithLang(lang string) *DOMHTMLDivElement

WithLang sets the lang.

func (*DOMHTMLDivElement) WithNodeValue added in v0.17.0

func (dde *DOMHTMLDivElement) WithNodeValue(nodeValue string) *DOMHTMLDivElement

WithNodeValue sets the node value.

func (*DOMHTMLDivElement) WithOuterHTML added in v0.17.0

func (dde *DOMHTMLDivElement) WithOuterHTML(outerHTML string) *DOMHTMLDivElement

WithOuterHTML sets the outer HTML.

func (*DOMHTMLDivElement) WithOuterText added in v0.17.0

func (dde *DOMHTMLDivElement) WithOuterText(outerText string) *DOMHTMLDivElement

WithOuterText sets the outer text.

func (*DOMHTMLDivElement) WithPrefix added in v0.17.0

func (dde *DOMHTMLDivElement) WithPrefix(prefix string) *DOMHTMLDivElement

WithPrefix sets the prefix.

func (*DOMHTMLDivElement) WithScrollLeft added in v0.17.0

func (dde *DOMHTMLDivElement) WithScrollLeft(scrollLeft int) *DOMHTMLDivElement

WithScrollLeft sets the scroll left.

func (*DOMHTMLDivElement) WithScrollTop added in v0.17.0

func (dde *DOMHTMLDivElement) WithScrollTop(scrollTop int) *DOMHTMLDivElement

WithScrollTop sets the scroll top.

func (*DOMHTMLDivElement) WithTabIndex added in v0.17.0

func (dde *DOMHTMLDivElement) WithTabIndex(tabIndex int) *DOMHTMLDivElement

WithTabIndex sets the tab index.

func (*DOMHTMLDivElement) WithTextContent added in v0.17.0

func (dde *DOMHTMLDivElement) WithTextContent(textContent string) *DOMHTMLDivElement

WithTextContent sets the text content.

func (*DOMHTMLDivElement) WithTitle added in v0.17.0

func (dde *DOMHTMLDivElement) WithTitle(title string) *DOMHTMLDivElement

WithTitle sets the title.

type DOMHTMLDocument

type DOMHTMLDocument struct {
	DOMDocument
}

DOMHTMLDocument is an idiomatic wrapper over the Objective-C class DOMHTMLDocument.

It embeds DOMDocument, promoting that type's methods.

func DOMHTMLDocumentFromID

func DOMHTMLDocumentFromID(id objc.ID) *DOMHTMLDocument

DOMHTMLDocumentFromID adopts an existing Objective-C object as a DOMHTMLDocument (nil for 0), retaining it and registering a release finalizer.

func NewDOMHTMLDocument added in v0.17.0

func NewDOMHTMLDocument() *DOMHTMLDocument

NewDOMHTMLDocument creates a new DOMHTMLDocument.

func (*DOMHTMLDocument) AlinkColor

func (dd *DOMHTMLDocument) AlinkColor() string

AlinkColor returns the alink color.

func (*DOMHTMLDocument) BgColor

func (dd *DOMHTMLDocument) BgColor() string

BgColor returns the bg color.

func (*DOMHTMLDocument) CaptureEvents

func (dd *DOMHTMLDocument) CaptureEvents()

CaptureEvents wraps the corresponding Objective-C method.

func (*DOMHTMLDocument) Clear

func (dd *DOMHTMLDocument) Clear()

Clear wraps the corresponding Objective-C method.

func (*DOMHTMLDocument) Close

func (dd *DOMHTMLDocument) Close()

Close wraps the corresponding Objective-C method.

func (*DOMHTMLDocument) CompatMode

func (dd *DOMHTMLDocument) CompatMode() string

CompatMode returns the compat mode.

func (*DOMHTMLDocument) CreateDocumentFragmentWithMarkupStringBaseURL

func (dd *DOMHTMLDocument) CreateDocumentFragmentWithMarkupStringBaseURL(markupString string, baseURL string) *DOMDocumentFragment

CreateDocumentFragmentWithMarkupStringBaseURL creates a document fragment containing the given HTML markup.

func (*DOMHTMLDocument) CreateDocumentFragmentWithText

func (dd *DOMHTMLDocument) CreateDocumentFragmentWithText(text string) *DOMDocumentFragment

CreateDocumentFragmentWithText creates a document fragment containing the given text.

func (*DOMHTMLDocument) DesignMode

func (dd *DOMHTMLDocument) DesignMode() string

DesignMode returns the design mode.

func (*DOMHTMLDocument) Dir

func (dd *DOMHTMLDocument) Dir() string

Dir returns the dir.

func (*DOMHTMLDocument) Embeds

func (dd *DOMHTMLDocument) Embeds() *DOMHTMLCollection

Embeds returns the embeds.

func (*DOMHTMLDocument) FgColor

func (dd *DOMHTMLDocument) FgColor() string

FgColor returns the fg color.

func (*DOMHTMLDocument) Height

func (dd *DOMHTMLDocument) Height() int

Height returns the height.

func (*DOMHTMLDocument) LinkColor

func (dd *DOMHTMLDocument) LinkColor() string

LinkColor returns the link color.

func (*DOMHTMLDocument) Open

func (dd *DOMHTMLDocument) Open()

Open wraps the corresponding Objective-C method.

func (*DOMHTMLDocument) Plugins

func (dd *DOMHTMLDocument) Plugins() *DOMHTMLCollection

Plugins returns the plugins.

func (*DOMHTMLDocument) ReleaseEvents

func (dd *DOMHTMLDocument) ReleaseEvents()

ReleaseEvents wraps the corresponding Objective-C method.

func (*DOMHTMLDocument) Scripts

func (dd *DOMHTMLDocument) Scripts() *DOMHTMLCollection

Scripts returns the scripts.

func (*DOMHTMLDocument) VlinkColor

func (dd *DOMHTMLDocument) VlinkColor() string

VlinkColor returns the vlink color.

func (*DOMHTMLDocument) Width

func (dd *DOMHTMLDocument) Width() int

Width returns the width.

func (*DOMHTMLDocument) WithAlinkColor added in v0.17.0

func (dd *DOMHTMLDocument) WithAlinkColor(alinkColor string) *DOMHTMLDocument

WithAlinkColor sets the alink color.

func (*DOMHTMLDocument) WithBgColor added in v0.17.0

func (dd *DOMHTMLDocument) WithBgColor(bgColor string) *DOMHTMLDocument

WithBgColor sets the bg color.

func (*DOMHTMLDocument) WithBody added in v0.17.0

WithBody sets the body.

func (*DOMHTMLDocument) WithCharset added in v0.17.0

func (dd *DOMHTMLDocument) WithCharset(charset string) *DOMHTMLDocument

WithCharset sets the charset.

func (*DOMHTMLDocument) WithCookie added in v0.17.0

func (dd *DOMHTMLDocument) WithCookie(cookie string) *DOMHTMLDocument

WithCookie sets the cookie.

func (*DOMHTMLDocument) WithDesignMode added in v0.17.0

func (dd *DOMHTMLDocument) WithDesignMode(designMode string) *DOMHTMLDocument

WithDesignMode sets the design mode.

func (*DOMHTMLDocument) WithDir added in v0.17.0

func (dd *DOMHTMLDocument) WithDir(dir string) *DOMHTMLDocument

WithDir sets the dir.

func (*DOMHTMLDocument) WithDocumentURI added in v0.17.0

func (dd *DOMHTMLDocument) WithDocumentURI(documentURI string) *DOMHTMLDocument

WithDocumentURI sets the document URI.

func (*DOMHTMLDocument) WithFgColor added in v0.17.0

func (dd *DOMHTMLDocument) WithFgColor(fgColor string) *DOMHTMLDocument

WithFgColor sets the fg color.

func (*DOMHTMLDocument) WithLinkColor added in v0.17.0

func (dd *DOMHTMLDocument) WithLinkColor(linkColor string) *DOMHTMLDocument

WithLinkColor sets the link color.

func (*DOMHTMLDocument) WithNodeValue added in v0.17.0

func (dd *DOMHTMLDocument) WithNodeValue(nodeValue string) *DOMHTMLDocument

WithNodeValue sets the node value.

func (*DOMHTMLDocument) WithPrefix added in v0.17.0

func (dd *DOMHTMLDocument) WithPrefix(prefix string) *DOMHTMLDocument

WithPrefix sets the prefix.

func (*DOMHTMLDocument) WithSelectedStylesheetSet added in v0.17.0

func (dd *DOMHTMLDocument) WithSelectedStylesheetSet(selectedStylesheetSet string) *DOMHTMLDocument

WithSelectedStylesheetSet sets the selected stylesheet set.

func (*DOMHTMLDocument) WithTextContent added in v0.17.0

func (dd *DOMHTMLDocument) WithTextContent(textContent string) *DOMHTMLDocument

WithTextContent sets the text content.

func (*DOMHTMLDocument) WithTitle added in v0.17.0

func (dd *DOMHTMLDocument) WithTitle(title string) *DOMHTMLDocument

WithTitle sets the title.

func (*DOMHTMLDocument) WithVlinkColor added in v0.17.0

func (dd *DOMHTMLDocument) WithVlinkColor(vlinkColor string) *DOMHTMLDocument

WithVlinkColor sets the vlink color.

func (*DOMHTMLDocument) WithXMLStandalone added in v0.17.0

func (dd *DOMHTMLDocument) WithXMLStandalone(xmlStandalone bool) *DOMHTMLDocument

WithXMLStandalone sets the XML standalone.

func (*DOMHTMLDocument) WithXMLVersion added in v0.17.0

func (dd *DOMHTMLDocument) WithXMLVersion(xmlVersion string) *DOMHTMLDocument

WithXMLVersion sets the XML version.

func (*DOMHTMLDocument) Write

func (dd *DOMHTMLDocument) Write(text string)

Write wraps the corresponding Objective-C method.

func (*DOMHTMLDocument) Writeln

func (dd *DOMHTMLDocument) Writeln(text string)

Writeln wraps the corresponding Objective-C method.

type DOMHTMLElement

type DOMHTMLElement struct {
	DOMElement
}

DOMHTMLElement is an idiomatic wrapper over the Objective-C class DOMHTMLElement.

DOMHTMLElement is an abstract base — you do not construct it directly. Construct one of DOMHTMLAnchorElement, DOMHTMLAppletElement, DOMHTMLAreaElement, DOMHTMLBRElement, DOMHTMLBaseElement, DOMHTMLBaseFontElement, DOMHTMLBodyElement, DOMHTMLButtonElement, DOMHTMLDListElement, DOMHTMLDirectoryElement, DOMHTMLDivElement, DOMHTMLEmbedElement, DOMHTMLFieldSetElement, DOMHTMLFontElement, DOMHTMLFormElement, DOMHTMLFrameElement, DOMHTMLFrameSetElement, DOMHTMLHRElement, DOMHTMLHeadElement, DOMHTMLHeadingElement, DOMHTMLHtmlElement, DOMHTMLIFrameElement, DOMHTMLImageElement, DOMHTMLInputElement, DOMHTMLLIElement, DOMHTMLLabelElement, DOMHTMLLegendElement, DOMHTMLLinkElement, DOMHTMLMapElement, DOMHTMLMarqueeElement, DOMHTMLMenuElement, DOMHTMLMetaElement, DOMHTMLModElement, DOMHTMLOListElement, DOMHTMLObjectElement, DOMHTMLOptGroupElement, DOMHTMLOptionElement, DOMHTMLParagraphElement, DOMHTMLParamElement, DOMHTMLPreElement, DOMHTMLQuoteElement, DOMHTMLScriptElement, DOMHTMLSelectElement, DOMHTMLStyleElement, DOMHTMLTableCaptionElement, DOMHTMLTableCellElement, DOMHTMLTableColElement, DOMHTMLTableElement, DOMHTMLTableRowElement, DOMHTMLTableSectionElement, DOMHTMLTextAreaElement, DOMHTMLTitleElement, DOMHTMLUListElement and pass it where a DOMHTMLElement is accepted.

func DOMHTMLElementFromID

func DOMHTMLElementFromID(id objc.ID) *DOMHTMLElement

DOMHTMLElementFromID adopts an existing Objective-C object as a DOMHTMLElement (nil for 0), retaining it and registering a release finalizer.

func (*DOMHTMLElement) AccessKey

func (de *DOMHTMLElement) AccessKey() string

AccessKey returns the access key.

func (*DOMHTMLElement) Children

func (de *DOMHTMLElement) Children() *DOMHTMLCollection

Children returns the children.

func (*DOMHTMLElement) Click

func (de *DOMHTMLElement) Click()

Click wraps the corresponding Objective-C method.

func (*DOMHTMLElement) ContentEditable

func (de *DOMHTMLElement) ContentEditable() string

ContentEditable returns the content editable.

func (*DOMHTMLElement) Dir

func (de *DOMHTMLElement) Dir() string

Dir returns the dir.

func (*DOMHTMLElement) IDName added in v0.17.0

func (de *DOMHTMLElement) IDName() string

IDName returns the ID name.

func (*DOMHTMLElement) Lang

func (de *DOMHTMLElement) Lang() string

Lang returns the lang.

func (*DOMHTMLElement) OuterText

func (de *DOMHTMLElement) OuterText() string

OuterText returns the outer text.

func (*DOMHTMLElement) TabIndex

func (de *DOMHTMLElement) TabIndex() int

TabIndex returns the tab index.

func (*DOMHTMLElement) Title

func (de *DOMHTMLElement) Title() string

Title returns the title.

func (*DOMHTMLElement) TitleDisplayString

func (de *DOMHTMLElement) TitleDisplayString() string

TitleDisplayString returns the title display string.

func (*DOMHTMLElement) WithAccessKey added in v0.17.0

func (de *DOMHTMLElement) WithAccessKey(accessKey string) *DOMHTMLElement

WithAccessKey sets the access key.

func (*DOMHTMLElement) WithClassName added in v0.17.0

func (de *DOMHTMLElement) WithClassName(className string) *DOMHTMLElement

WithClassName sets the class name.

func (*DOMHTMLElement) WithContentEditable added in v0.17.0

func (de *DOMHTMLElement) WithContentEditable(contentEditable string) *DOMHTMLElement

WithContentEditable sets the content editable.

func (*DOMHTMLElement) WithDir added in v0.17.0

func (de *DOMHTMLElement) WithDir(dir string) *DOMHTMLElement

WithDir sets the dir.

func (*DOMHTMLElement) WithIDName added in v0.17.0

func (de *DOMHTMLElement) WithIDName(idName string) *DOMHTMLElement

WithIDName sets the ID name.

func (*DOMHTMLElement) WithInnerHTML added in v0.17.0

func (de *DOMHTMLElement) WithInnerHTML(innerHTML string) *DOMHTMLElement

WithInnerHTML sets the inner HTML.

func (*DOMHTMLElement) WithInnerText added in v0.17.0

func (de *DOMHTMLElement) WithInnerText(innerText string) *DOMHTMLElement

WithInnerText sets the inner text.

func (*DOMHTMLElement) WithLang added in v0.17.0

func (de *DOMHTMLElement) WithLang(lang string) *DOMHTMLElement

WithLang sets the lang.

func (*DOMHTMLElement) WithNodeValue added in v0.17.0

func (de *DOMHTMLElement) WithNodeValue(nodeValue string) *DOMHTMLElement

WithNodeValue sets the node value.

func (*DOMHTMLElement) WithOuterHTML added in v0.17.0

func (de *DOMHTMLElement) WithOuterHTML(outerHTML string) *DOMHTMLElement

WithOuterHTML sets the outer HTML.

func (*DOMHTMLElement) WithOuterText added in v0.17.0

func (de *DOMHTMLElement) WithOuterText(outerText string) *DOMHTMLElement

WithOuterText sets the outer text.

func (*DOMHTMLElement) WithPrefix added in v0.17.0

func (de *DOMHTMLElement) WithPrefix(prefix string) *DOMHTMLElement

WithPrefix sets the prefix.

func (*DOMHTMLElement) WithScrollLeft added in v0.17.0

func (de *DOMHTMLElement) WithScrollLeft(scrollLeft int) *DOMHTMLElement

WithScrollLeft sets the scroll left.

func (*DOMHTMLElement) WithScrollTop added in v0.17.0

func (de *DOMHTMLElement) WithScrollTop(scrollTop int) *DOMHTMLElement

WithScrollTop sets the scroll top.

func (*DOMHTMLElement) WithTabIndex added in v0.17.0

func (de *DOMHTMLElement) WithTabIndex(tabIndex int) *DOMHTMLElement

WithTabIndex sets the tab index.

func (*DOMHTMLElement) WithTextContent added in v0.17.0

func (de *DOMHTMLElement) WithTextContent(textContent string) *DOMHTMLElement

WithTextContent sets the text content.

func (*DOMHTMLElement) WithTitle added in v0.17.0

func (de *DOMHTMLElement) WithTitle(title string) *DOMHTMLElement

WithTitle sets the title.

type DOMHTMLElementProvider added in v0.17.0

type DOMHTMLElementProvider interface {
	objref.Object
	// contains filtered or unexported methods
}

DOMHTMLElementProvider is accepted wherever a DOMHTMLElement (or one of its subclasses) is expected.

type DOMHTMLEmbedElement

type DOMHTMLEmbedElement struct {
	DOMHTMLElement
}

DOMHTMLEmbedElement is an idiomatic wrapper over the Objective-C class DOMHTMLEmbedElement.

It embeds DOMHTMLElement, promoting that type's methods.

func DOMHTMLEmbedElementFromID

func DOMHTMLEmbedElementFromID(id objc.ID) *DOMHTMLEmbedElement

DOMHTMLEmbedElementFromID adopts an existing Objective-C object as a DOMHTMLEmbedElement (nil for 0), retaining it and registering a release finalizer.

func NewDOMHTMLEmbedElement added in v0.17.0

func NewDOMHTMLEmbedElement() *DOMHTMLEmbedElement

NewDOMHTMLEmbedElement creates a new DOMHTMLEmbedElement.

func (*DOMHTMLEmbedElement) Align

func (dee *DOMHTMLEmbedElement) Align() string

Align returns the align.

func (*DOMHTMLEmbedElement) Height

func (dee *DOMHTMLEmbedElement) Height() int

Height returns the height.

func (*DOMHTMLEmbedElement) Name

func (dee *DOMHTMLEmbedElement) Name() string

Name returns the name.

func (*DOMHTMLEmbedElement) Src

func (dee *DOMHTMLEmbedElement) Src() string

Src returns the src.

func (*DOMHTMLEmbedElement) Type

func (dee *DOMHTMLEmbedElement) Type() string

Type returns the type.

func (*DOMHTMLEmbedElement) Width

func (dee *DOMHTMLEmbedElement) Width() int

Width returns the width.

func (*DOMHTMLEmbedElement) WithAccessKey added in v0.17.0

func (dee *DOMHTMLEmbedElement) WithAccessKey(accessKey string) *DOMHTMLEmbedElement

WithAccessKey sets the access key.

func (*DOMHTMLEmbedElement) WithAlign added in v0.17.0

func (dee *DOMHTMLEmbedElement) WithAlign(align string) *DOMHTMLEmbedElement

WithAlign sets the align.

func (*DOMHTMLEmbedElement) WithClassName added in v0.17.0

func (dee *DOMHTMLEmbedElement) WithClassName(className string) *DOMHTMLEmbedElement

WithClassName sets the class name.

func (*DOMHTMLEmbedElement) WithContentEditable added in v0.17.0

func (dee *DOMHTMLEmbedElement) WithContentEditable(contentEditable string) *DOMHTMLEmbedElement

WithContentEditable sets the content editable.

func (*DOMHTMLEmbedElement) WithDir added in v0.17.0

func (dee *DOMHTMLEmbedElement) WithDir(dir string) *DOMHTMLEmbedElement

WithDir sets the dir.

func (*DOMHTMLEmbedElement) WithHeight added in v0.17.0

func (dee *DOMHTMLEmbedElement) WithHeight(height int) *DOMHTMLEmbedElement

WithHeight sets the height.

func (*DOMHTMLEmbedElement) WithIDName added in v0.17.0

func (dee *DOMHTMLEmbedElement) WithIDName(idName string) *DOMHTMLEmbedElement

WithIDName sets the ID name.

func (*DOMHTMLEmbedElement) WithInnerHTML added in v0.17.0

func (dee *DOMHTMLEmbedElement) WithInnerHTML(innerHTML string) *DOMHTMLEmbedElement

WithInnerHTML sets the inner HTML.

func (*DOMHTMLEmbedElement) WithInnerText added in v0.17.0

func (dee *DOMHTMLEmbedElement) WithInnerText(innerText string) *DOMHTMLEmbedElement

WithInnerText sets the inner text.

func (*DOMHTMLEmbedElement) WithLang added in v0.17.0

func (dee *DOMHTMLEmbedElement) WithLang(lang string) *DOMHTMLEmbedElement

WithLang sets the lang.

func (*DOMHTMLEmbedElement) WithName added in v0.17.0

func (dee *DOMHTMLEmbedElement) WithName(name string) *DOMHTMLEmbedElement

WithName sets the name.

func (*DOMHTMLEmbedElement) WithNodeValue added in v0.17.0

func (dee *DOMHTMLEmbedElement) WithNodeValue(nodeValue string) *DOMHTMLEmbedElement

WithNodeValue sets the node value.

func (*DOMHTMLEmbedElement) WithOuterHTML added in v0.17.0

func (dee *DOMHTMLEmbedElement) WithOuterHTML(outerHTML string) *DOMHTMLEmbedElement

WithOuterHTML sets the outer HTML.

func (*DOMHTMLEmbedElement) WithOuterText added in v0.17.0

func (dee *DOMHTMLEmbedElement) WithOuterText(outerText string) *DOMHTMLEmbedElement

WithOuterText sets the outer text.

func (*DOMHTMLEmbedElement) WithPrefix added in v0.17.0

func (dee *DOMHTMLEmbedElement) WithPrefix(prefix string) *DOMHTMLEmbedElement

WithPrefix sets the prefix.

func (*DOMHTMLEmbedElement) WithScrollLeft added in v0.17.0

func (dee *DOMHTMLEmbedElement) WithScrollLeft(scrollLeft int) *DOMHTMLEmbedElement

WithScrollLeft sets the scroll left.

func (*DOMHTMLEmbedElement) WithScrollTop added in v0.17.0

func (dee *DOMHTMLEmbedElement) WithScrollTop(scrollTop int) *DOMHTMLEmbedElement

WithScrollTop sets the scroll top.

func (*DOMHTMLEmbedElement) WithSrc added in v0.17.0

func (dee *DOMHTMLEmbedElement) WithSrc(src string) *DOMHTMLEmbedElement

WithSrc sets the src.

func (*DOMHTMLEmbedElement) WithTabIndex added in v0.17.0

func (dee *DOMHTMLEmbedElement) WithTabIndex(tabIndex int) *DOMHTMLEmbedElement

WithTabIndex sets the tab index.

func (*DOMHTMLEmbedElement) WithTextContent added in v0.17.0

func (dee *DOMHTMLEmbedElement) WithTextContent(textContent string) *DOMHTMLEmbedElement

WithTextContent sets the text content.

func (*DOMHTMLEmbedElement) WithTitle added in v0.17.0

func (dee *DOMHTMLEmbedElement) WithTitle(title string) *DOMHTMLEmbedElement

WithTitle sets the title.

func (*DOMHTMLEmbedElement) WithType added in v0.17.0

func (dee *DOMHTMLEmbedElement) WithType(type_ string) *DOMHTMLEmbedElement

WithType sets the type.

func (*DOMHTMLEmbedElement) WithWidth added in v0.17.0

func (dee *DOMHTMLEmbedElement) WithWidth(width int) *DOMHTMLEmbedElement

WithWidth sets the width.

type DOMHTMLFieldSetElement

type DOMHTMLFieldSetElement struct {
	DOMHTMLElement
}

DOMHTMLFieldSetElement is an idiomatic wrapper over the Objective-C class DOMHTMLFieldSetElement.

It embeds DOMHTMLElement, promoting that type's methods.

func DOMHTMLFieldSetElementFromID

func DOMHTMLFieldSetElementFromID(id objc.ID) *DOMHTMLFieldSetElement

DOMHTMLFieldSetElementFromID adopts an existing Objective-C object as a DOMHTMLFieldSetElement (nil for 0), retaining it and registering a release finalizer.

func NewDOMHTMLFieldSetElement added in v0.17.0

func NewDOMHTMLFieldSetElement() *DOMHTMLFieldSetElement

NewDOMHTMLFieldSetElement creates a new DOMHTMLFieldSetElement.

func (*DOMHTMLFieldSetElement) Form

Form returns the form.

func (*DOMHTMLFieldSetElement) WithAccessKey added in v0.17.0

func (dfse *DOMHTMLFieldSetElement) WithAccessKey(accessKey string) *DOMHTMLFieldSetElement

WithAccessKey sets the access key.

func (*DOMHTMLFieldSetElement) WithClassName added in v0.17.0

func (dfse *DOMHTMLFieldSetElement) WithClassName(className string) *DOMHTMLFieldSetElement

WithClassName sets the class name.

func (*DOMHTMLFieldSetElement) WithContentEditable added in v0.17.0

func (dfse *DOMHTMLFieldSetElement) WithContentEditable(contentEditable string) *DOMHTMLFieldSetElement

WithContentEditable sets the content editable.

func (*DOMHTMLFieldSetElement) WithDir added in v0.17.0

WithDir sets the dir.

func (*DOMHTMLFieldSetElement) WithIDName added in v0.17.0

func (dfse *DOMHTMLFieldSetElement) WithIDName(idName string) *DOMHTMLFieldSetElement

WithIDName sets the ID name.

func (*DOMHTMLFieldSetElement) WithInnerHTML added in v0.17.0

func (dfse *DOMHTMLFieldSetElement) WithInnerHTML(innerHTML string) *DOMHTMLFieldSetElement

WithInnerHTML sets the inner HTML.

func (*DOMHTMLFieldSetElement) WithInnerText added in v0.17.0

func (dfse *DOMHTMLFieldSetElement) WithInnerText(innerText string) *DOMHTMLFieldSetElement

WithInnerText sets the inner text.

func (*DOMHTMLFieldSetElement) WithLang added in v0.17.0

WithLang sets the lang.

func (*DOMHTMLFieldSetElement) WithNodeValue added in v0.17.0

func (dfse *DOMHTMLFieldSetElement) WithNodeValue(nodeValue string) *DOMHTMLFieldSetElement

WithNodeValue sets the node value.

func (*DOMHTMLFieldSetElement) WithOuterHTML added in v0.17.0

func (dfse *DOMHTMLFieldSetElement) WithOuterHTML(outerHTML string) *DOMHTMLFieldSetElement

WithOuterHTML sets the outer HTML.

func (*DOMHTMLFieldSetElement) WithOuterText added in v0.17.0

func (dfse *DOMHTMLFieldSetElement) WithOuterText(outerText string) *DOMHTMLFieldSetElement

WithOuterText sets the outer text.

func (*DOMHTMLFieldSetElement) WithPrefix added in v0.17.0

func (dfse *DOMHTMLFieldSetElement) WithPrefix(prefix string) *DOMHTMLFieldSetElement

WithPrefix sets the prefix.

func (*DOMHTMLFieldSetElement) WithScrollLeft added in v0.17.0

func (dfse *DOMHTMLFieldSetElement) WithScrollLeft(scrollLeft int) *DOMHTMLFieldSetElement

WithScrollLeft sets the scroll left.

func (*DOMHTMLFieldSetElement) WithScrollTop added in v0.17.0

func (dfse *DOMHTMLFieldSetElement) WithScrollTop(scrollTop int) *DOMHTMLFieldSetElement

WithScrollTop sets the scroll top.

func (*DOMHTMLFieldSetElement) WithTabIndex added in v0.17.0

func (dfse *DOMHTMLFieldSetElement) WithTabIndex(tabIndex int) *DOMHTMLFieldSetElement

WithTabIndex sets the tab index.

func (*DOMHTMLFieldSetElement) WithTextContent added in v0.17.0

func (dfse *DOMHTMLFieldSetElement) WithTextContent(textContent string) *DOMHTMLFieldSetElement

WithTextContent sets the text content.

func (*DOMHTMLFieldSetElement) WithTitle added in v0.17.0

func (dfse *DOMHTMLFieldSetElement) WithTitle(title string) *DOMHTMLFieldSetElement

WithTitle sets the title.

type DOMHTMLFontElement

type DOMHTMLFontElement struct {
	DOMHTMLElement
}

DOMHTMLFontElement is an idiomatic wrapper over the Objective-C class DOMHTMLFontElement.

It embeds DOMHTMLElement, promoting that type's methods.

func DOMHTMLFontElementFromID

func DOMHTMLFontElementFromID(id objc.ID) *DOMHTMLFontElement

DOMHTMLFontElementFromID adopts an existing Objective-C object as a DOMHTMLFontElement (nil for 0), retaining it and registering a release finalizer.

func NewDOMHTMLFontElement added in v0.17.0

func NewDOMHTMLFontElement() *DOMHTMLFontElement

NewDOMHTMLFontElement creates a new DOMHTMLFontElement.

func (*DOMHTMLFontElement) Color

func (dfe *DOMHTMLFontElement) Color() string

Color returns the color.

func (*DOMHTMLFontElement) Face

func (dfe *DOMHTMLFontElement) Face() string

Face returns the face.

func (*DOMHTMLFontElement) Size

func (dfe *DOMHTMLFontElement) Size() string

Size returns the size.

func (*DOMHTMLFontElement) WithAccessKey added in v0.17.0

func (dfe *DOMHTMLFontElement) WithAccessKey(accessKey string) *DOMHTMLFontElement

WithAccessKey sets the access key.

func (*DOMHTMLFontElement) WithClassName added in v0.17.0

func (dfe *DOMHTMLFontElement) WithClassName(className string) *DOMHTMLFontElement

WithClassName sets the class name.

func (*DOMHTMLFontElement) WithColor added in v0.17.0

func (dfe *DOMHTMLFontElement) WithColor(color string) *DOMHTMLFontElement

WithColor sets the color.

func (*DOMHTMLFontElement) WithContentEditable added in v0.17.0

func (dfe *DOMHTMLFontElement) WithContentEditable(contentEditable string) *DOMHTMLFontElement

WithContentEditable sets the content editable.

func (*DOMHTMLFontElement) WithDir added in v0.17.0

func (dfe *DOMHTMLFontElement) WithDir(dir string) *DOMHTMLFontElement

WithDir sets the dir.

func (*DOMHTMLFontElement) WithFace added in v0.17.0

func (dfe *DOMHTMLFontElement) WithFace(face string) *DOMHTMLFontElement

WithFace sets the face.

func (*DOMHTMLFontElement) WithIDName added in v0.17.0

func (dfe *DOMHTMLFontElement) WithIDName(idName string) *DOMHTMLFontElement

WithIDName sets the ID name.

func (*DOMHTMLFontElement) WithInnerHTML added in v0.17.0

func (dfe *DOMHTMLFontElement) WithInnerHTML(innerHTML string) *DOMHTMLFontElement

WithInnerHTML sets the inner HTML.

func (*DOMHTMLFontElement) WithInnerText added in v0.17.0

func (dfe *DOMHTMLFontElement) WithInnerText(innerText string) *DOMHTMLFontElement

WithInnerText sets the inner text.

func (*DOMHTMLFontElement) WithLang added in v0.17.0

func (dfe *DOMHTMLFontElement) WithLang(lang string) *DOMHTMLFontElement

WithLang sets the lang.

func (*DOMHTMLFontElement) WithNodeValue added in v0.17.0

func (dfe *DOMHTMLFontElement) WithNodeValue(nodeValue string) *DOMHTMLFontElement

WithNodeValue sets the node value.

func (*DOMHTMLFontElement) WithOuterHTML added in v0.17.0

func (dfe *DOMHTMLFontElement) WithOuterHTML(outerHTML string) *DOMHTMLFontElement

WithOuterHTML sets the outer HTML.

func (*DOMHTMLFontElement) WithOuterText added in v0.17.0

func (dfe *DOMHTMLFontElement) WithOuterText(outerText string) *DOMHTMLFontElement

WithOuterText sets the outer text.

func (*DOMHTMLFontElement) WithPrefix added in v0.17.0

func (dfe *DOMHTMLFontElement) WithPrefix(prefix string) *DOMHTMLFontElement

WithPrefix sets the prefix.

func (*DOMHTMLFontElement) WithScrollLeft added in v0.17.0

func (dfe *DOMHTMLFontElement) WithScrollLeft(scrollLeft int) *DOMHTMLFontElement

WithScrollLeft sets the scroll left.

func (*DOMHTMLFontElement) WithScrollTop added in v0.17.0

func (dfe *DOMHTMLFontElement) WithScrollTop(scrollTop int) *DOMHTMLFontElement

WithScrollTop sets the scroll top.

func (*DOMHTMLFontElement) WithSize added in v0.17.0

func (dfe *DOMHTMLFontElement) WithSize(size string) *DOMHTMLFontElement

WithSize sets the size.

func (*DOMHTMLFontElement) WithTabIndex added in v0.17.0

func (dfe *DOMHTMLFontElement) WithTabIndex(tabIndex int) *DOMHTMLFontElement

WithTabIndex sets the tab index.

func (*DOMHTMLFontElement) WithTextContent added in v0.17.0

func (dfe *DOMHTMLFontElement) WithTextContent(textContent string) *DOMHTMLFontElement

WithTextContent sets the text content.

func (*DOMHTMLFontElement) WithTitle added in v0.17.0

func (dfe *DOMHTMLFontElement) WithTitle(title string) *DOMHTMLFontElement

WithTitle sets the title.

type DOMHTMLFormElement

type DOMHTMLFormElement struct {
	DOMHTMLElement
}

DOMHTMLFormElement is an idiomatic wrapper over the Objective-C class DOMHTMLFormElement.

It embeds DOMHTMLElement, promoting that type's methods.

func DOMHTMLFormElementFromID

func DOMHTMLFormElementFromID(id objc.ID) *DOMHTMLFormElement

DOMHTMLFormElementFromID adopts an existing Objective-C object as a DOMHTMLFormElement (nil for 0), retaining it and registering a release finalizer.

func NewDOMHTMLFormElement added in v0.17.0

func NewDOMHTMLFormElement() *DOMHTMLFormElement

NewDOMHTMLFormElement creates a new DOMHTMLFormElement.

func (*DOMHTMLFormElement) AcceptCharset

func (dfe *DOMHTMLFormElement) AcceptCharset() string

AcceptCharset returns the accept charset.

func (*DOMHTMLFormElement) Action

func (dfe *DOMHTMLFormElement) Action() string

Action returns the action.

func (*DOMHTMLFormElement) Elements

func (dfe *DOMHTMLFormElement) Elements() *DOMHTMLCollection

Elements returns the elements.

func (*DOMHTMLFormElement) Encoding

func (dfe *DOMHTMLFormElement) Encoding() string

Encoding returns the encoding.

func (*DOMHTMLFormElement) Enctype

func (dfe *DOMHTMLFormElement) Enctype() string

Enctype returns the enctype.

func (*DOMHTMLFormElement) Length

func (dfe *DOMHTMLFormElement) Length() int

Length returns the length.

func (*DOMHTMLFormElement) Method

func (dfe *DOMHTMLFormElement) Method() string

Method returns the method.

func (*DOMHTMLFormElement) Name

func (dfe *DOMHTMLFormElement) Name() string

Name returns the name.

func (*DOMHTMLFormElement) Reset

func (dfe *DOMHTMLFormElement) Reset()

Reset wraps the corresponding Objective-C method.

func (*DOMHTMLFormElement) Submit

func (dfe *DOMHTMLFormElement) Submit()

Submit wraps the corresponding Objective-C method.

func (*DOMHTMLFormElement) Target

func (dfe *DOMHTMLFormElement) Target() string

Target returns the target.

func (*DOMHTMLFormElement) WithAcceptCharset added in v0.17.0

func (dfe *DOMHTMLFormElement) WithAcceptCharset(acceptCharset string) *DOMHTMLFormElement

WithAcceptCharset sets the accept charset.

func (*DOMHTMLFormElement) WithAccessKey added in v0.17.0

func (dfe *DOMHTMLFormElement) WithAccessKey(accessKey string) *DOMHTMLFormElement

WithAccessKey sets the access key.

func (*DOMHTMLFormElement) WithAction added in v0.17.0

func (dfe *DOMHTMLFormElement) WithAction(action string) *DOMHTMLFormElement

WithAction sets the action.

func (*DOMHTMLFormElement) WithClassName added in v0.17.0

func (dfe *DOMHTMLFormElement) WithClassName(className string) *DOMHTMLFormElement

WithClassName sets the class name.

func (*DOMHTMLFormElement) WithContentEditable added in v0.17.0

func (dfe *DOMHTMLFormElement) WithContentEditable(contentEditable string) *DOMHTMLFormElement

WithContentEditable sets the content editable.

func (*DOMHTMLFormElement) WithDir added in v0.17.0

func (dfe *DOMHTMLFormElement) WithDir(dir string) *DOMHTMLFormElement

WithDir sets the dir.

func (*DOMHTMLFormElement) WithEncoding added in v0.17.0

func (dfe *DOMHTMLFormElement) WithEncoding(encoding string) *DOMHTMLFormElement

WithEncoding sets the encoding.

func (*DOMHTMLFormElement) WithEnctype added in v0.17.0

func (dfe *DOMHTMLFormElement) WithEnctype(enctype string) *DOMHTMLFormElement

WithEnctype sets the enctype.

func (*DOMHTMLFormElement) WithIDName added in v0.17.0

func (dfe *DOMHTMLFormElement) WithIDName(idName string) *DOMHTMLFormElement

WithIDName sets the ID name.

func (*DOMHTMLFormElement) WithInnerHTML added in v0.17.0

func (dfe *DOMHTMLFormElement) WithInnerHTML(innerHTML string) *DOMHTMLFormElement

WithInnerHTML sets the inner HTML.

func (*DOMHTMLFormElement) WithInnerText added in v0.17.0

func (dfe *DOMHTMLFormElement) WithInnerText(innerText string) *DOMHTMLFormElement

WithInnerText sets the inner text.

func (*DOMHTMLFormElement) WithLang added in v0.17.0

func (dfe *DOMHTMLFormElement) WithLang(lang string) *DOMHTMLFormElement

WithLang sets the lang.

func (*DOMHTMLFormElement) WithMethod added in v0.17.0

func (dfe *DOMHTMLFormElement) WithMethod(method string) *DOMHTMLFormElement

WithMethod sets the method.

func (*DOMHTMLFormElement) WithName added in v0.17.0

func (dfe *DOMHTMLFormElement) WithName(name string) *DOMHTMLFormElement

WithName sets the name.

func (*DOMHTMLFormElement) WithNodeValue added in v0.17.0

func (dfe *DOMHTMLFormElement) WithNodeValue(nodeValue string) *DOMHTMLFormElement

WithNodeValue sets the node value.

func (*DOMHTMLFormElement) WithOuterHTML added in v0.17.0

func (dfe *DOMHTMLFormElement) WithOuterHTML(outerHTML string) *DOMHTMLFormElement

WithOuterHTML sets the outer HTML.

func (*DOMHTMLFormElement) WithOuterText added in v0.17.0

func (dfe *DOMHTMLFormElement) WithOuterText(outerText string) *DOMHTMLFormElement

WithOuterText sets the outer text.

func (*DOMHTMLFormElement) WithPrefix added in v0.17.0

func (dfe *DOMHTMLFormElement) WithPrefix(prefix string) *DOMHTMLFormElement

WithPrefix sets the prefix.

func (*DOMHTMLFormElement) WithScrollLeft added in v0.17.0

func (dfe *DOMHTMLFormElement) WithScrollLeft(scrollLeft int) *DOMHTMLFormElement

WithScrollLeft sets the scroll left.

func (*DOMHTMLFormElement) WithScrollTop added in v0.17.0

func (dfe *DOMHTMLFormElement) WithScrollTop(scrollTop int) *DOMHTMLFormElement

WithScrollTop sets the scroll top.

func (*DOMHTMLFormElement) WithTabIndex added in v0.17.0

func (dfe *DOMHTMLFormElement) WithTabIndex(tabIndex int) *DOMHTMLFormElement

WithTabIndex sets the tab index.

func (*DOMHTMLFormElement) WithTarget added in v0.17.0

func (dfe *DOMHTMLFormElement) WithTarget(target string) *DOMHTMLFormElement

WithTarget sets the target.

func (*DOMHTMLFormElement) WithTextContent added in v0.17.0

func (dfe *DOMHTMLFormElement) WithTextContent(textContent string) *DOMHTMLFormElement

WithTextContent sets the text content.

func (*DOMHTMLFormElement) WithTitle added in v0.17.0

func (dfe *DOMHTMLFormElement) WithTitle(title string) *DOMHTMLFormElement

WithTitle sets the title.

type DOMHTMLFrameElement

type DOMHTMLFrameElement struct {
	DOMHTMLElement
}

DOMHTMLFrameElement is an idiomatic wrapper over the Objective-C class DOMHTMLFrameElement.

It embeds DOMHTMLElement, promoting that type's methods.

func DOMHTMLFrameElementFromID

func DOMHTMLFrameElementFromID(id objc.ID) *DOMHTMLFrameElement

DOMHTMLFrameElementFromID adopts an existing Objective-C object as a DOMHTMLFrameElement (nil for 0), retaining it and registering a release finalizer.

func NewDOMHTMLFrameElement added in v0.17.0

func NewDOMHTMLFrameElement() *DOMHTMLFrameElement

NewDOMHTMLFrameElement creates a new DOMHTMLFrameElement.

func (*DOMHTMLFrameElement) ContentDocument

func (dfe *DOMHTMLFrameElement) ContentDocument() *DOMDocument

ContentDocument returns the content document.

func (*DOMHTMLFrameElement) ContentFrame

func (dfe *DOMHTMLFrameElement) ContentFrame() *WebFrame

ContentFrame returns the content frame.

func (*DOMHTMLFrameElement) ContentWindow

func (dfe *DOMHTMLFrameElement) ContentWindow() *DOMAbstractView

ContentWindow returns the content window.

func (*DOMHTMLFrameElement) FrameBorder

func (dfe *DOMHTMLFrameElement) FrameBorder() string

FrameBorder returns the frame border.

func (*DOMHTMLFrameElement) Height

func (dfe *DOMHTMLFrameElement) Height() int

Height returns the height.

func (*DOMHTMLFrameElement) Location

func (dfe *DOMHTMLFrameElement) Location() string

Location returns the location.

func (*DOMHTMLFrameElement) LongDesc

func (dfe *DOMHTMLFrameElement) LongDesc() string

LongDesc returns the long desc.

func (*DOMHTMLFrameElement) MarginHeight

func (dfe *DOMHTMLFrameElement) MarginHeight() string

MarginHeight returns the margin height.

func (*DOMHTMLFrameElement) MarginWidth

func (dfe *DOMHTMLFrameElement) MarginWidth() string

MarginWidth returns the margin width.

func (*DOMHTMLFrameElement) Name

func (dfe *DOMHTMLFrameElement) Name() string

Name returns the name.

func (*DOMHTMLFrameElement) NoResize

func (dfe *DOMHTMLFrameElement) NoResize() bool

NoResize wraps the corresponding Objective-C method.

func (*DOMHTMLFrameElement) Scrolling

func (dfe *DOMHTMLFrameElement) Scrolling() string

Scrolling returns the scrolling.

func (*DOMHTMLFrameElement) Src

func (dfe *DOMHTMLFrameElement) Src() string

Src returns the src.

func (*DOMHTMLFrameElement) Width

func (dfe *DOMHTMLFrameElement) Width() int

Width returns the width.

func (*DOMHTMLFrameElement) WithAccessKey added in v0.17.0

func (dfe *DOMHTMLFrameElement) WithAccessKey(accessKey string) *DOMHTMLFrameElement

WithAccessKey sets the access key.

func (*DOMHTMLFrameElement) WithClassName added in v0.17.0

func (dfe *DOMHTMLFrameElement) WithClassName(className string) *DOMHTMLFrameElement

WithClassName sets the class name.

func (*DOMHTMLFrameElement) WithContentEditable added in v0.17.0

func (dfe *DOMHTMLFrameElement) WithContentEditable(contentEditable string) *DOMHTMLFrameElement

WithContentEditable sets the content editable.

func (*DOMHTMLFrameElement) WithDir added in v0.17.0

func (dfe *DOMHTMLFrameElement) WithDir(dir string) *DOMHTMLFrameElement

WithDir sets the dir.

func (*DOMHTMLFrameElement) WithFrameBorder added in v0.17.0

func (dfe *DOMHTMLFrameElement) WithFrameBorder(frameBorder string) *DOMHTMLFrameElement

WithFrameBorder sets the frame border.

func (*DOMHTMLFrameElement) WithIDName added in v0.17.0

func (dfe *DOMHTMLFrameElement) WithIDName(idName string) *DOMHTMLFrameElement

WithIDName sets the ID name.

func (*DOMHTMLFrameElement) WithInnerHTML added in v0.17.0

func (dfe *DOMHTMLFrameElement) WithInnerHTML(innerHTML string) *DOMHTMLFrameElement

WithInnerHTML sets the inner HTML.

func (*DOMHTMLFrameElement) WithInnerText added in v0.17.0

func (dfe *DOMHTMLFrameElement) WithInnerText(innerText string) *DOMHTMLFrameElement

WithInnerText sets the inner text.

func (*DOMHTMLFrameElement) WithLang added in v0.17.0

func (dfe *DOMHTMLFrameElement) WithLang(lang string) *DOMHTMLFrameElement

WithLang sets the lang.

func (*DOMHTMLFrameElement) WithLocation added in v0.17.0

func (dfe *DOMHTMLFrameElement) WithLocation(location string) *DOMHTMLFrameElement

WithLocation sets the location.

func (*DOMHTMLFrameElement) WithLongDesc added in v0.17.0

func (dfe *DOMHTMLFrameElement) WithLongDesc(longDesc string) *DOMHTMLFrameElement

WithLongDesc sets the long desc.

func (*DOMHTMLFrameElement) WithMarginHeight added in v0.17.0

func (dfe *DOMHTMLFrameElement) WithMarginHeight(marginHeight string) *DOMHTMLFrameElement

WithMarginHeight sets the margin height.

func (*DOMHTMLFrameElement) WithMarginWidth added in v0.17.0

func (dfe *DOMHTMLFrameElement) WithMarginWidth(marginWidth string) *DOMHTMLFrameElement

WithMarginWidth sets the margin width.

func (*DOMHTMLFrameElement) WithName added in v0.17.0

func (dfe *DOMHTMLFrameElement) WithName(name string) *DOMHTMLFrameElement

WithName sets the name.

func (*DOMHTMLFrameElement) WithNoResize added in v0.17.0

func (dfe *DOMHTMLFrameElement) WithNoResize(noResize bool) *DOMHTMLFrameElement

WithNoResize sets the no resize.

func (*DOMHTMLFrameElement) WithNodeValue added in v0.17.0

func (dfe *DOMHTMLFrameElement) WithNodeValue(nodeValue string) *DOMHTMLFrameElement

WithNodeValue sets the node value.

func (*DOMHTMLFrameElement) WithOuterHTML added in v0.17.0

func (dfe *DOMHTMLFrameElement) WithOuterHTML(outerHTML string) *DOMHTMLFrameElement

WithOuterHTML sets the outer HTML.

func (*DOMHTMLFrameElement) WithOuterText added in v0.17.0

func (dfe *DOMHTMLFrameElement) WithOuterText(outerText string) *DOMHTMLFrameElement

WithOuterText sets the outer text.

func (*DOMHTMLFrameElement) WithPrefix added in v0.17.0

func (dfe *DOMHTMLFrameElement) WithPrefix(prefix string) *DOMHTMLFrameElement

WithPrefix sets the prefix.

func (*DOMHTMLFrameElement) WithScrollLeft added in v0.17.0

func (dfe *DOMHTMLFrameElement) WithScrollLeft(scrollLeft int) *DOMHTMLFrameElement

WithScrollLeft sets the scroll left.

func (*DOMHTMLFrameElement) WithScrollTop added in v0.17.0

func (dfe *DOMHTMLFrameElement) WithScrollTop(scrollTop int) *DOMHTMLFrameElement

WithScrollTop sets the scroll top.

func (*DOMHTMLFrameElement) WithScrolling added in v0.17.0

func (dfe *DOMHTMLFrameElement) WithScrolling(scrolling string) *DOMHTMLFrameElement

WithScrolling sets the scrolling.

func (*DOMHTMLFrameElement) WithSrc added in v0.17.0

func (dfe *DOMHTMLFrameElement) WithSrc(src string) *DOMHTMLFrameElement

WithSrc sets the src.

func (*DOMHTMLFrameElement) WithTabIndex added in v0.17.0

func (dfe *DOMHTMLFrameElement) WithTabIndex(tabIndex int) *DOMHTMLFrameElement

WithTabIndex sets the tab index.

func (*DOMHTMLFrameElement) WithTextContent added in v0.17.0

func (dfe *DOMHTMLFrameElement) WithTextContent(textContent string) *DOMHTMLFrameElement

WithTextContent sets the text content.

func (*DOMHTMLFrameElement) WithTitle added in v0.17.0

func (dfe *DOMHTMLFrameElement) WithTitle(title string) *DOMHTMLFrameElement

WithTitle sets the title.

type DOMHTMLFrameSetElement

type DOMHTMLFrameSetElement struct {
	DOMHTMLElement
}

DOMHTMLFrameSetElement is an idiomatic wrapper over the Objective-C class DOMHTMLFrameSetElement.

It embeds DOMHTMLElement, promoting that type's methods.

func DOMHTMLFrameSetElementFromID

func DOMHTMLFrameSetElementFromID(id objc.ID) *DOMHTMLFrameSetElement

DOMHTMLFrameSetElementFromID adopts an existing Objective-C object as a DOMHTMLFrameSetElement (nil for 0), retaining it and registering a release finalizer.

func NewDOMHTMLFrameSetElement added in v0.17.0

func NewDOMHTMLFrameSetElement() *DOMHTMLFrameSetElement

NewDOMHTMLFrameSetElement creates a new DOMHTMLFrameSetElement.

func (*DOMHTMLFrameSetElement) Cols

func (dfse *DOMHTMLFrameSetElement) Cols() string

Cols returns the cols.

func (*DOMHTMLFrameSetElement) Rows

func (dfse *DOMHTMLFrameSetElement) Rows() string

Rows returns the rows.

func (*DOMHTMLFrameSetElement) WithAccessKey added in v0.17.0

func (dfse *DOMHTMLFrameSetElement) WithAccessKey(accessKey string) *DOMHTMLFrameSetElement

WithAccessKey sets the access key.

func (*DOMHTMLFrameSetElement) WithClassName added in v0.17.0

func (dfse *DOMHTMLFrameSetElement) WithClassName(className string) *DOMHTMLFrameSetElement

WithClassName sets the class name.

func (*DOMHTMLFrameSetElement) WithCols added in v0.17.0

WithCols sets the cols.

func (*DOMHTMLFrameSetElement) WithContentEditable added in v0.17.0

func (dfse *DOMHTMLFrameSetElement) WithContentEditable(contentEditable string) *DOMHTMLFrameSetElement

WithContentEditable sets the content editable.

func (*DOMHTMLFrameSetElement) WithDir added in v0.17.0

WithDir sets the dir.

func (*DOMHTMLFrameSetElement) WithIDName added in v0.17.0

func (dfse *DOMHTMLFrameSetElement) WithIDName(idName string) *DOMHTMLFrameSetElement

WithIDName sets the ID name.

func (*DOMHTMLFrameSetElement) WithInnerHTML added in v0.17.0

func (dfse *DOMHTMLFrameSetElement) WithInnerHTML(innerHTML string) *DOMHTMLFrameSetElement

WithInnerHTML sets the inner HTML.

func (*DOMHTMLFrameSetElement) WithInnerText added in v0.17.0

func (dfse *DOMHTMLFrameSetElement) WithInnerText(innerText string) *DOMHTMLFrameSetElement

WithInnerText sets the inner text.

func (*DOMHTMLFrameSetElement) WithLang added in v0.17.0

WithLang sets the lang.

func (*DOMHTMLFrameSetElement) WithNodeValue added in v0.17.0

func (dfse *DOMHTMLFrameSetElement) WithNodeValue(nodeValue string) *DOMHTMLFrameSetElement

WithNodeValue sets the node value.

func (*DOMHTMLFrameSetElement) WithOuterHTML added in v0.17.0

func (dfse *DOMHTMLFrameSetElement) WithOuterHTML(outerHTML string) *DOMHTMLFrameSetElement

WithOuterHTML sets the outer HTML.

func (*DOMHTMLFrameSetElement) WithOuterText added in v0.17.0

func (dfse *DOMHTMLFrameSetElement) WithOuterText(outerText string) *DOMHTMLFrameSetElement

WithOuterText sets the outer text.

func (*DOMHTMLFrameSetElement) WithPrefix added in v0.17.0

func (dfse *DOMHTMLFrameSetElement) WithPrefix(prefix string) *DOMHTMLFrameSetElement

WithPrefix sets the prefix.

func (*DOMHTMLFrameSetElement) WithRows added in v0.17.0

WithRows sets the rows.

func (*DOMHTMLFrameSetElement) WithScrollLeft added in v0.17.0

func (dfse *DOMHTMLFrameSetElement) WithScrollLeft(scrollLeft int) *DOMHTMLFrameSetElement

WithScrollLeft sets the scroll left.

func (*DOMHTMLFrameSetElement) WithScrollTop added in v0.17.0

func (dfse *DOMHTMLFrameSetElement) WithScrollTop(scrollTop int) *DOMHTMLFrameSetElement

WithScrollTop sets the scroll top.

func (*DOMHTMLFrameSetElement) WithTabIndex added in v0.17.0

func (dfse *DOMHTMLFrameSetElement) WithTabIndex(tabIndex int) *DOMHTMLFrameSetElement

WithTabIndex sets the tab index.

func (*DOMHTMLFrameSetElement) WithTextContent added in v0.17.0

func (dfse *DOMHTMLFrameSetElement) WithTextContent(textContent string) *DOMHTMLFrameSetElement

WithTextContent sets the text content.

func (*DOMHTMLFrameSetElement) WithTitle added in v0.17.0

func (dfse *DOMHTMLFrameSetElement) WithTitle(title string) *DOMHTMLFrameSetElement

WithTitle sets the title.

type DOMHTMLHRElement

type DOMHTMLHRElement struct {
	DOMHTMLElement
}

DOMHTMLHRElement is an idiomatic wrapper over the Objective-C class DOMHTMLHRElement.

It embeds DOMHTMLElement, promoting that type's methods.

func DOMHTMLHRElementFromID

func DOMHTMLHRElementFromID(id objc.ID) *DOMHTMLHRElement

DOMHTMLHRElementFromID adopts an existing Objective-C object as a DOMHTMLHRElement (nil for 0), retaining it and registering a release finalizer.

func NewDOMHTMLHRElement added in v0.17.0

func NewDOMHTMLHRElement() *DOMHTMLHRElement

NewDOMHTMLHRElement creates a new DOMHTMLHRElement.

func (*DOMHTMLHRElement) Align

func (de *DOMHTMLHRElement) Align() string

Align returns the align.

func (*DOMHTMLHRElement) NoShade

func (de *DOMHTMLHRElement) NoShade() bool

NoShade wraps the corresponding Objective-C method.

func (*DOMHTMLHRElement) Size

func (de *DOMHTMLHRElement) Size() string

Size returns the size.

func (*DOMHTMLHRElement) Width

func (de *DOMHTMLHRElement) Width() string

Width returns the width.

func (*DOMHTMLHRElement) WithAccessKey added in v0.17.0

func (de *DOMHTMLHRElement) WithAccessKey(accessKey string) *DOMHTMLHRElement

WithAccessKey sets the access key.

func (*DOMHTMLHRElement) WithAlign added in v0.17.0

func (de *DOMHTMLHRElement) WithAlign(align string) *DOMHTMLHRElement

WithAlign sets the align.

func (*DOMHTMLHRElement) WithClassName added in v0.17.0

func (de *DOMHTMLHRElement) WithClassName(className string) *DOMHTMLHRElement

WithClassName sets the class name.

func (*DOMHTMLHRElement) WithContentEditable added in v0.17.0

func (de *DOMHTMLHRElement) WithContentEditable(contentEditable string) *DOMHTMLHRElement

WithContentEditable sets the content editable.

func (*DOMHTMLHRElement) WithDir added in v0.17.0

func (de *DOMHTMLHRElement) WithDir(dir string) *DOMHTMLHRElement

WithDir sets the dir.

func (*DOMHTMLHRElement) WithIDName added in v0.17.0

func (de *DOMHTMLHRElement) WithIDName(idName string) *DOMHTMLHRElement

WithIDName sets the ID name.

func (*DOMHTMLHRElement) WithInnerHTML added in v0.17.0

func (de *DOMHTMLHRElement) WithInnerHTML(innerHTML string) *DOMHTMLHRElement

WithInnerHTML sets the inner HTML.

func (*DOMHTMLHRElement) WithInnerText added in v0.17.0

func (de *DOMHTMLHRElement) WithInnerText(innerText string) *DOMHTMLHRElement

WithInnerText sets the inner text.

func (*DOMHTMLHRElement) WithLang added in v0.17.0

func (de *DOMHTMLHRElement) WithLang(lang string) *DOMHTMLHRElement

WithLang sets the lang.

func (*DOMHTMLHRElement) WithNoShade added in v0.17.0

func (de *DOMHTMLHRElement) WithNoShade(noShade bool) *DOMHTMLHRElement

WithNoShade sets the no shade.

func (*DOMHTMLHRElement) WithNodeValue added in v0.17.0

func (de *DOMHTMLHRElement) WithNodeValue(nodeValue string) *DOMHTMLHRElement

WithNodeValue sets the node value.

func (*DOMHTMLHRElement) WithOuterHTML added in v0.17.0

func (de *DOMHTMLHRElement) WithOuterHTML(outerHTML string) *DOMHTMLHRElement

WithOuterHTML sets the outer HTML.

func (*DOMHTMLHRElement) WithOuterText added in v0.17.0

func (de *DOMHTMLHRElement) WithOuterText(outerText string) *DOMHTMLHRElement

WithOuterText sets the outer text.

func (*DOMHTMLHRElement) WithPrefix added in v0.17.0

func (de *DOMHTMLHRElement) WithPrefix(prefix string) *DOMHTMLHRElement

WithPrefix sets the prefix.

func (*DOMHTMLHRElement) WithScrollLeft added in v0.17.0

func (de *DOMHTMLHRElement) WithScrollLeft(scrollLeft int) *DOMHTMLHRElement

WithScrollLeft sets the scroll left.

func (*DOMHTMLHRElement) WithScrollTop added in v0.17.0

func (de *DOMHTMLHRElement) WithScrollTop(scrollTop int) *DOMHTMLHRElement

WithScrollTop sets the scroll top.

func (*DOMHTMLHRElement) WithSize added in v0.17.0

func (de *DOMHTMLHRElement) WithSize(size string) *DOMHTMLHRElement

WithSize sets the size.

func (*DOMHTMLHRElement) WithTabIndex added in v0.17.0

func (de *DOMHTMLHRElement) WithTabIndex(tabIndex int) *DOMHTMLHRElement

WithTabIndex sets the tab index.

func (*DOMHTMLHRElement) WithTextContent added in v0.17.0

func (de *DOMHTMLHRElement) WithTextContent(textContent string) *DOMHTMLHRElement

WithTextContent sets the text content.

func (*DOMHTMLHRElement) WithTitle added in v0.17.0

func (de *DOMHTMLHRElement) WithTitle(title string) *DOMHTMLHRElement

WithTitle sets the title.

func (*DOMHTMLHRElement) WithWidth added in v0.17.0

func (de *DOMHTMLHRElement) WithWidth(width string) *DOMHTMLHRElement

WithWidth sets the width.

type DOMHTMLHeadElement

type DOMHTMLHeadElement struct {
	DOMHTMLElement
}

DOMHTMLHeadElement is an idiomatic wrapper over the Objective-C class DOMHTMLHeadElement.

It embeds DOMHTMLElement, promoting that type's methods.

func DOMHTMLHeadElementFromID

func DOMHTMLHeadElementFromID(id objc.ID) *DOMHTMLHeadElement

DOMHTMLHeadElementFromID adopts an existing Objective-C object as a DOMHTMLHeadElement (nil for 0), retaining it and registering a release finalizer.

func NewDOMHTMLHeadElement added in v0.17.0

func NewDOMHTMLHeadElement() *DOMHTMLHeadElement

NewDOMHTMLHeadElement creates a new DOMHTMLHeadElement.

func (*DOMHTMLHeadElement) Profile

func (dhe *DOMHTMLHeadElement) Profile() string

Profile returns the profile.

func (*DOMHTMLHeadElement) WithAccessKey added in v0.17.0

func (dhe *DOMHTMLHeadElement) WithAccessKey(accessKey string) *DOMHTMLHeadElement

WithAccessKey sets the access key.

func (*DOMHTMLHeadElement) WithClassName added in v0.17.0

func (dhe *DOMHTMLHeadElement) WithClassName(className string) *DOMHTMLHeadElement

WithClassName sets the class name.

func (*DOMHTMLHeadElement) WithContentEditable added in v0.17.0

func (dhe *DOMHTMLHeadElement) WithContentEditable(contentEditable string) *DOMHTMLHeadElement

WithContentEditable sets the content editable.

func (*DOMHTMLHeadElement) WithDir added in v0.17.0

func (dhe *DOMHTMLHeadElement) WithDir(dir string) *DOMHTMLHeadElement

WithDir sets the dir.

func (*DOMHTMLHeadElement) WithIDName added in v0.17.0

func (dhe *DOMHTMLHeadElement) WithIDName(idName string) *DOMHTMLHeadElement

WithIDName sets the ID name.

func (*DOMHTMLHeadElement) WithInnerHTML added in v0.17.0

func (dhe *DOMHTMLHeadElement) WithInnerHTML(innerHTML string) *DOMHTMLHeadElement

WithInnerHTML sets the inner HTML.

func (*DOMHTMLHeadElement) WithInnerText added in v0.17.0

func (dhe *DOMHTMLHeadElement) WithInnerText(innerText string) *DOMHTMLHeadElement

WithInnerText sets the inner text.

func (*DOMHTMLHeadElement) WithLang added in v0.17.0

func (dhe *DOMHTMLHeadElement) WithLang(lang string) *DOMHTMLHeadElement

WithLang sets the lang.

func (*DOMHTMLHeadElement) WithNodeValue added in v0.17.0

func (dhe *DOMHTMLHeadElement) WithNodeValue(nodeValue string) *DOMHTMLHeadElement

WithNodeValue sets the node value.

func (*DOMHTMLHeadElement) WithOuterHTML added in v0.17.0

func (dhe *DOMHTMLHeadElement) WithOuterHTML(outerHTML string) *DOMHTMLHeadElement

WithOuterHTML sets the outer HTML.

func (*DOMHTMLHeadElement) WithOuterText added in v0.17.0

func (dhe *DOMHTMLHeadElement) WithOuterText(outerText string) *DOMHTMLHeadElement

WithOuterText sets the outer text.

func (*DOMHTMLHeadElement) WithPrefix added in v0.17.0

func (dhe *DOMHTMLHeadElement) WithPrefix(prefix string) *DOMHTMLHeadElement

WithPrefix sets the prefix.

func (*DOMHTMLHeadElement) WithProfile added in v0.17.0

func (dhe *DOMHTMLHeadElement) WithProfile(profile string) *DOMHTMLHeadElement

WithProfile sets the profile.

func (*DOMHTMLHeadElement) WithScrollLeft added in v0.17.0

func (dhe *DOMHTMLHeadElement) WithScrollLeft(scrollLeft int) *DOMHTMLHeadElement

WithScrollLeft sets the scroll left.

func (*DOMHTMLHeadElement) WithScrollTop added in v0.17.0

func (dhe *DOMHTMLHeadElement) WithScrollTop(scrollTop int) *DOMHTMLHeadElement

WithScrollTop sets the scroll top.

func (*DOMHTMLHeadElement) WithTabIndex added in v0.17.0

func (dhe *DOMHTMLHeadElement) WithTabIndex(tabIndex int) *DOMHTMLHeadElement

WithTabIndex sets the tab index.

func (*DOMHTMLHeadElement) WithTextContent added in v0.17.0

func (dhe *DOMHTMLHeadElement) WithTextContent(textContent string) *DOMHTMLHeadElement

WithTextContent sets the text content.

func (*DOMHTMLHeadElement) WithTitle added in v0.17.0

func (dhe *DOMHTMLHeadElement) WithTitle(title string) *DOMHTMLHeadElement

WithTitle sets the title.

type DOMHTMLHeadingElement

type DOMHTMLHeadingElement struct {
	DOMHTMLElement
}

DOMHTMLHeadingElement is an idiomatic wrapper over the Objective-C class DOMHTMLHeadingElement.

It embeds DOMHTMLElement, promoting that type's methods.

func DOMHTMLHeadingElementFromID

func DOMHTMLHeadingElementFromID(id objc.ID) *DOMHTMLHeadingElement

DOMHTMLHeadingElementFromID adopts an existing Objective-C object as a DOMHTMLHeadingElement (nil for 0), retaining it and registering a release finalizer.

func NewDOMHTMLHeadingElement added in v0.17.0

func NewDOMHTMLHeadingElement() *DOMHTMLHeadingElement

NewDOMHTMLHeadingElement creates a new DOMHTMLHeadingElement.

func (*DOMHTMLHeadingElement) Align

func (dhe *DOMHTMLHeadingElement) Align() string

Align returns the align.

func (*DOMHTMLHeadingElement) WithAccessKey added in v0.17.0

func (dhe *DOMHTMLHeadingElement) WithAccessKey(accessKey string) *DOMHTMLHeadingElement

WithAccessKey sets the access key.

func (*DOMHTMLHeadingElement) WithAlign added in v0.17.0

func (dhe *DOMHTMLHeadingElement) WithAlign(align string) *DOMHTMLHeadingElement

WithAlign sets the align.

func (*DOMHTMLHeadingElement) WithClassName added in v0.17.0

func (dhe *DOMHTMLHeadingElement) WithClassName(className string) *DOMHTMLHeadingElement

WithClassName sets the class name.

func (*DOMHTMLHeadingElement) WithContentEditable added in v0.17.0

func (dhe *DOMHTMLHeadingElement) WithContentEditable(contentEditable string) *DOMHTMLHeadingElement

WithContentEditable sets the content editable.

func (*DOMHTMLHeadingElement) WithDir added in v0.17.0

WithDir sets the dir.

func (*DOMHTMLHeadingElement) WithIDName added in v0.17.0

func (dhe *DOMHTMLHeadingElement) WithIDName(idName string) *DOMHTMLHeadingElement

WithIDName sets the ID name.

func (*DOMHTMLHeadingElement) WithInnerHTML added in v0.17.0

func (dhe *DOMHTMLHeadingElement) WithInnerHTML(innerHTML string) *DOMHTMLHeadingElement

WithInnerHTML sets the inner HTML.

func (*DOMHTMLHeadingElement) WithInnerText added in v0.17.0

func (dhe *DOMHTMLHeadingElement) WithInnerText(innerText string) *DOMHTMLHeadingElement

WithInnerText sets the inner text.

func (*DOMHTMLHeadingElement) WithLang added in v0.17.0

func (dhe *DOMHTMLHeadingElement) WithLang(lang string) *DOMHTMLHeadingElement

WithLang sets the lang.

func (*DOMHTMLHeadingElement) WithNodeValue added in v0.17.0

func (dhe *DOMHTMLHeadingElement) WithNodeValue(nodeValue string) *DOMHTMLHeadingElement

WithNodeValue sets the node value.

func (*DOMHTMLHeadingElement) WithOuterHTML added in v0.17.0

func (dhe *DOMHTMLHeadingElement) WithOuterHTML(outerHTML string) *DOMHTMLHeadingElement

WithOuterHTML sets the outer HTML.

func (*DOMHTMLHeadingElement) WithOuterText added in v0.17.0

func (dhe *DOMHTMLHeadingElement) WithOuterText(outerText string) *DOMHTMLHeadingElement

WithOuterText sets the outer text.

func (*DOMHTMLHeadingElement) WithPrefix added in v0.17.0

func (dhe *DOMHTMLHeadingElement) WithPrefix(prefix string) *DOMHTMLHeadingElement

WithPrefix sets the prefix.

func (*DOMHTMLHeadingElement) WithScrollLeft added in v0.17.0

func (dhe *DOMHTMLHeadingElement) WithScrollLeft(scrollLeft int) *DOMHTMLHeadingElement

WithScrollLeft sets the scroll left.

func (*DOMHTMLHeadingElement) WithScrollTop added in v0.17.0

func (dhe *DOMHTMLHeadingElement) WithScrollTop(scrollTop int) *DOMHTMLHeadingElement

WithScrollTop sets the scroll top.

func (*DOMHTMLHeadingElement) WithTabIndex added in v0.17.0

func (dhe *DOMHTMLHeadingElement) WithTabIndex(tabIndex int) *DOMHTMLHeadingElement

WithTabIndex sets the tab index.

func (*DOMHTMLHeadingElement) WithTextContent added in v0.17.0

func (dhe *DOMHTMLHeadingElement) WithTextContent(textContent string) *DOMHTMLHeadingElement

WithTextContent sets the text content.

func (*DOMHTMLHeadingElement) WithTitle added in v0.17.0

func (dhe *DOMHTMLHeadingElement) WithTitle(title string) *DOMHTMLHeadingElement

WithTitle sets the title.

type DOMHTMLHtmlElement

type DOMHTMLHtmlElement struct {
	DOMHTMLElement
}

DOMHTMLHtmlElement is an idiomatic wrapper over the Objective-C class DOMHTMLHtmlElement.

It embeds DOMHTMLElement, promoting that type's methods.

func DOMHTMLHtmlElementFromID

func DOMHTMLHtmlElementFromID(id objc.ID) *DOMHTMLHtmlElement

DOMHTMLHtmlElementFromID adopts an existing Objective-C object as a DOMHTMLHtmlElement (nil for 0), retaining it and registering a release finalizer.

func NewDOMHTMLHtmlElement added in v0.17.0

func NewDOMHTMLHtmlElement() *DOMHTMLHtmlElement

NewDOMHTMLHtmlElement creates a new DOMHTMLHtmlElement.

func (*DOMHTMLHtmlElement) WithAccessKey added in v0.17.0

func (dhe *DOMHTMLHtmlElement) WithAccessKey(accessKey string) *DOMHTMLHtmlElement

WithAccessKey sets the access key.

func (*DOMHTMLHtmlElement) WithClassName added in v0.17.0

func (dhe *DOMHTMLHtmlElement) WithClassName(className string) *DOMHTMLHtmlElement

WithClassName sets the class name.

func (*DOMHTMLHtmlElement) WithContentEditable added in v0.17.0

func (dhe *DOMHTMLHtmlElement) WithContentEditable(contentEditable string) *DOMHTMLHtmlElement

WithContentEditable sets the content editable.

func (*DOMHTMLHtmlElement) WithDir added in v0.17.0

func (dhe *DOMHTMLHtmlElement) WithDir(dir string) *DOMHTMLHtmlElement

WithDir sets the dir.

func (*DOMHTMLHtmlElement) WithIDName added in v0.17.0

func (dhe *DOMHTMLHtmlElement) WithIDName(idName string) *DOMHTMLHtmlElement

WithIDName sets the ID name.

func (*DOMHTMLHtmlElement) WithInnerHTML added in v0.17.0

func (dhe *DOMHTMLHtmlElement) WithInnerHTML(innerHTML string) *DOMHTMLHtmlElement

WithInnerHTML sets the inner HTML.

func (*DOMHTMLHtmlElement) WithInnerText added in v0.17.0

func (dhe *DOMHTMLHtmlElement) WithInnerText(innerText string) *DOMHTMLHtmlElement

WithInnerText sets the inner text.

func (*DOMHTMLHtmlElement) WithLang added in v0.17.0

func (dhe *DOMHTMLHtmlElement) WithLang(lang string) *DOMHTMLHtmlElement

WithLang sets the lang.

func (*DOMHTMLHtmlElement) WithNodeValue added in v0.17.0

func (dhe *DOMHTMLHtmlElement) WithNodeValue(nodeValue string) *DOMHTMLHtmlElement

WithNodeValue sets the node value.

func (*DOMHTMLHtmlElement) WithOuterHTML added in v0.17.0

func (dhe *DOMHTMLHtmlElement) WithOuterHTML(outerHTML string) *DOMHTMLHtmlElement

WithOuterHTML sets the outer HTML.

func (*DOMHTMLHtmlElement) WithOuterText added in v0.17.0

func (dhe *DOMHTMLHtmlElement) WithOuterText(outerText string) *DOMHTMLHtmlElement

WithOuterText sets the outer text.

func (*DOMHTMLHtmlElement) WithPrefix added in v0.17.0

func (dhe *DOMHTMLHtmlElement) WithPrefix(prefix string) *DOMHTMLHtmlElement

WithPrefix sets the prefix.

func (*DOMHTMLHtmlElement) WithScrollLeft added in v0.17.0

func (dhe *DOMHTMLHtmlElement) WithScrollLeft(scrollLeft int) *DOMHTMLHtmlElement

WithScrollLeft sets the scroll left.

func (*DOMHTMLHtmlElement) WithScrollTop added in v0.17.0

func (dhe *DOMHTMLHtmlElement) WithScrollTop(scrollTop int) *DOMHTMLHtmlElement

WithScrollTop sets the scroll top.

func (*DOMHTMLHtmlElement) WithTabIndex added in v0.17.0

func (dhe *DOMHTMLHtmlElement) WithTabIndex(tabIndex int) *DOMHTMLHtmlElement

WithTabIndex sets the tab index.

func (*DOMHTMLHtmlElement) WithTextContent added in v0.17.0

func (dhe *DOMHTMLHtmlElement) WithTextContent(textContent string) *DOMHTMLHtmlElement

WithTextContent sets the text content.

func (*DOMHTMLHtmlElement) WithTitle added in v0.17.0

func (dhe *DOMHTMLHtmlElement) WithTitle(title string) *DOMHTMLHtmlElement

WithTitle sets the title.

type DOMHTMLIFrameElement

type DOMHTMLIFrameElement struct {
	DOMHTMLElement
}

DOMHTMLIFrameElement is an idiomatic wrapper over the Objective-C class DOMHTMLIFrameElement.

It embeds DOMHTMLElement, promoting that type's methods.

func DOMHTMLIFrameElementFromID

func DOMHTMLIFrameElementFromID(id objc.ID) *DOMHTMLIFrameElement

DOMHTMLIFrameElementFromID adopts an existing Objective-C object as a DOMHTMLIFrameElement (nil for 0), retaining it and registering a release finalizer.

func NewDOMHTMLIFrameElement added in v0.17.0

func NewDOMHTMLIFrameElement() *DOMHTMLIFrameElement

NewDOMHTMLIFrameElement creates a new DOMHTMLIFrameElement.

func (*DOMHTMLIFrameElement) Align

func (dfe *DOMHTMLIFrameElement) Align() string

Align returns the align.

func (*DOMHTMLIFrameElement) ContentDocument

func (dfe *DOMHTMLIFrameElement) ContentDocument() *DOMDocument

ContentDocument returns the content document.

func (*DOMHTMLIFrameElement) ContentFrame

func (dfe *DOMHTMLIFrameElement) ContentFrame() *WebFrame

ContentFrame returns the content frame.

func (*DOMHTMLIFrameElement) ContentWindow

func (dfe *DOMHTMLIFrameElement) ContentWindow() *DOMAbstractView

ContentWindow returns the content window.

func (*DOMHTMLIFrameElement) FrameBorder

func (dfe *DOMHTMLIFrameElement) FrameBorder() string

FrameBorder returns the frame border.

func (*DOMHTMLIFrameElement) Height

func (dfe *DOMHTMLIFrameElement) Height() string

Height returns the height.

func (*DOMHTMLIFrameElement) LongDesc

func (dfe *DOMHTMLIFrameElement) LongDesc() string

LongDesc returns the long desc.

func (*DOMHTMLIFrameElement) MarginHeight

func (dfe *DOMHTMLIFrameElement) MarginHeight() string

MarginHeight returns the margin height.

func (*DOMHTMLIFrameElement) MarginWidth

func (dfe *DOMHTMLIFrameElement) MarginWidth() string

MarginWidth returns the margin width.

func (*DOMHTMLIFrameElement) Name

func (dfe *DOMHTMLIFrameElement) Name() string

Name returns the name.

func (*DOMHTMLIFrameElement) Scrolling

func (dfe *DOMHTMLIFrameElement) Scrolling() string

Scrolling returns the scrolling.

func (*DOMHTMLIFrameElement) Src

func (dfe *DOMHTMLIFrameElement) Src() string

Src returns the src.

func (*DOMHTMLIFrameElement) Width

func (dfe *DOMHTMLIFrameElement) Width() string

Width returns the width.

func (*DOMHTMLIFrameElement) WithAccessKey added in v0.17.0

func (dfe *DOMHTMLIFrameElement) WithAccessKey(accessKey string) *DOMHTMLIFrameElement

WithAccessKey sets the access key.

func (*DOMHTMLIFrameElement) WithAlign added in v0.17.0

func (dfe *DOMHTMLIFrameElement) WithAlign(align string) *DOMHTMLIFrameElement

WithAlign sets the align.

func (*DOMHTMLIFrameElement) WithClassName added in v0.17.0

func (dfe *DOMHTMLIFrameElement) WithClassName(className string) *DOMHTMLIFrameElement

WithClassName sets the class name.

func (*DOMHTMLIFrameElement) WithContentEditable added in v0.17.0

func (dfe *DOMHTMLIFrameElement) WithContentEditable(contentEditable string) *DOMHTMLIFrameElement

WithContentEditable sets the content editable.

func (*DOMHTMLIFrameElement) WithDir added in v0.17.0

WithDir sets the dir.

func (*DOMHTMLIFrameElement) WithFrameBorder added in v0.17.0

func (dfe *DOMHTMLIFrameElement) WithFrameBorder(frameBorder string) *DOMHTMLIFrameElement

WithFrameBorder sets the frame border.

func (*DOMHTMLIFrameElement) WithHeight added in v0.17.0

func (dfe *DOMHTMLIFrameElement) WithHeight(height string) *DOMHTMLIFrameElement

WithHeight sets the height.

func (*DOMHTMLIFrameElement) WithIDName added in v0.17.0

func (dfe *DOMHTMLIFrameElement) WithIDName(idName string) *DOMHTMLIFrameElement

WithIDName sets the ID name.

func (*DOMHTMLIFrameElement) WithInnerHTML added in v0.17.0

func (dfe *DOMHTMLIFrameElement) WithInnerHTML(innerHTML string) *DOMHTMLIFrameElement

WithInnerHTML sets the inner HTML.

func (*DOMHTMLIFrameElement) WithInnerText added in v0.17.0

func (dfe *DOMHTMLIFrameElement) WithInnerText(innerText string) *DOMHTMLIFrameElement

WithInnerText sets the inner text.

func (*DOMHTMLIFrameElement) WithLang added in v0.17.0

func (dfe *DOMHTMLIFrameElement) WithLang(lang string) *DOMHTMLIFrameElement

WithLang sets the lang.

func (*DOMHTMLIFrameElement) WithLongDesc added in v0.17.0

func (dfe *DOMHTMLIFrameElement) WithLongDesc(longDesc string) *DOMHTMLIFrameElement

WithLongDesc sets the long desc.

func (*DOMHTMLIFrameElement) WithMarginHeight added in v0.17.0

func (dfe *DOMHTMLIFrameElement) WithMarginHeight(marginHeight string) *DOMHTMLIFrameElement

WithMarginHeight sets the margin height.

func (*DOMHTMLIFrameElement) WithMarginWidth added in v0.17.0

func (dfe *DOMHTMLIFrameElement) WithMarginWidth(marginWidth string) *DOMHTMLIFrameElement

WithMarginWidth sets the margin width.

func (*DOMHTMLIFrameElement) WithName added in v0.17.0

func (dfe *DOMHTMLIFrameElement) WithName(name string) *DOMHTMLIFrameElement

WithName sets the name.

func (*DOMHTMLIFrameElement) WithNodeValue added in v0.17.0

func (dfe *DOMHTMLIFrameElement) WithNodeValue(nodeValue string) *DOMHTMLIFrameElement

WithNodeValue sets the node value.

func (*DOMHTMLIFrameElement) WithOuterHTML added in v0.17.0

func (dfe *DOMHTMLIFrameElement) WithOuterHTML(outerHTML string) *DOMHTMLIFrameElement

WithOuterHTML sets the outer HTML.

func (*DOMHTMLIFrameElement) WithOuterText added in v0.17.0

func (dfe *DOMHTMLIFrameElement) WithOuterText(outerText string) *DOMHTMLIFrameElement

WithOuterText sets the outer text.

func (*DOMHTMLIFrameElement) WithPrefix added in v0.17.0

func (dfe *DOMHTMLIFrameElement) WithPrefix(prefix string) *DOMHTMLIFrameElement

WithPrefix sets the prefix.

func (*DOMHTMLIFrameElement) WithScrollLeft added in v0.17.0

func (dfe *DOMHTMLIFrameElement) WithScrollLeft(scrollLeft int) *DOMHTMLIFrameElement

WithScrollLeft sets the scroll left.

func (*DOMHTMLIFrameElement) WithScrollTop added in v0.17.0

func (dfe *DOMHTMLIFrameElement) WithScrollTop(scrollTop int) *DOMHTMLIFrameElement

WithScrollTop sets the scroll top.

func (*DOMHTMLIFrameElement) WithScrolling added in v0.17.0

func (dfe *DOMHTMLIFrameElement) WithScrolling(scrolling string) *DOMHTMLIFrameElement

WithScrolling sets the scrolling.

func (*DOMHTMLIFrameElement) WithSrc added in v0.17.0

WithSrc sets the src.

func (*DOMHTMLIFrameElement) WithTabIndex added in v0.17.0

func (dfe *DOMHTMLIFrameElement) WithTabIndex(tabIndex int) *DOMHTMLIFrameElement

WithTabIndex sets the tab index.

func (*DOMHTMLIFrameElement) WithTextContent added in v0.17.0

func (dfe *DOMHTMLIFrameElement) WithTextContent(textContent string) *DOMHTMLIFrameElement

WithTextContent sets the text content.

func (*DOMHTMLIFrameElement) WithTitle added in v0.17.0

func (dfe *DOMHTMLIFrameElement) WithTitle(title string) *DOMHTMLIFrameElement

WithTitle sets the title.

func (*DOMHTMLIFrameElement) WithWidth added in v0.17.0

func (dfe *DOMHTMLIFrameElement) WithWidth(width string) *DOMHTMLIFrameElement

WithWidth sets the width.

type DOMHTMLImageElement

type DOMHTMLImageElement struct {
	DOMHTMLElement
}

DOMHTMLImageElement is an idiomatic wrapper over the Objective-C class DOMHTMLImageElement.

It embeds DOMHTMLElement, promoting that type's methods.

func DOMHTMLImageElementFromID

func DOMHTMLImageElementFromID(id objc.ID) *DOMHTMLImageElement

DOMHTMLImageElementFromID adopts an existing Objective-C object as a DOMHTMLImageElement (nil for 0), retaining it and registering a release finalizer.

func NewDOMHTMLImageElement added in v0.17.0

func NewDOMHTMLImageElement() *DOMHTMLImageElement

NewDOMHTMLImageElement creates a new DOMHTMLImageElement.

func (*DOMHTMLImageElement) AbsoluteImageURL

func (die *DOMHTMLImageElement) AbsoluteImageURL() string

AbsoluteImageURL returns the absolute image URL.

func (*DOMHTMLImageElement) Align

func (die *DOMHTMLImageElement) Align() string

Align returns the align.

func (*DOMHTMLImageElement) Alt

func (die *DOMHTMLImageElement) Alt() string

Alt returns the alt.

func (*DOMHTMLImageElement) AltDisplayString

func (die *DOMHTMLImageElement) AltDisplayString() string

AltDisplayString returns the alt display string.

func (*DOMHTMLImageElement) Border

func (die *DOMHTMLImageElement) Border() string

Border returns the border.

func (*DOMHTMLImageElement) Complete

func (die *DOMHTMLImageElement) Complete() bool

Complete wraps the corresponding Objective-C method.

func (*DOMHTMLImageElement) Height

func (die *DOMHTMLImageElement) Height() int

Height returns the height.

func (*DOMHTMLImageElement) Hspace

func (die *DOMHTMLImageElement) Hspace() int

Hspace returns the hspace.

func (*DOMHTMLImageElement) IsMap

func (die *DOMHTMLImageElement) IsMap() bool

IsMap reports whether the object is map.

func (*DOMHTMLImageElement) LongDesc

func (die *DOMHTMLImageElement) LongDesc() string

LongDesc returns the long desc.

func (*DOMHTMLImageElement) Lowsrc

func (die *DOMHTMLImageElement) Lowsrc() string

Lowsrc returns the lowsrc.

func (*DOMHTMLImageElement) Name

func (die *DOMHTMLImageElement) Name() string

Name returns the name.

func (*DOMHTMLImageElement) NaturalHeight

func (die *DOMHTMLImageElement) NaturalHeight() int

NaturalHeight returns the natural height.

func (*DOMHTMLImageElement) NaturalWidth

func (die *DOMHTMLImageElement) NaturalWidth() int

NaturalWidth returns the natural width.

func (*DOMHTMLImageElement) Src

func (die *DOMHTMLImageElement) Src() string

Src returns the src.

func (*DOMHTMLImageElement) UseMap

func (die *DOMHTMLImageElement) UseMap() string

UseMap returns the use map.

func (*DOMHTMLImageElement) Vspace

func (die *DOMHTMLImageElement) Vspace() int

Vspace returns the vspace.

func (*DOMHTMLImageElement) Width

func (die *DOMHTMLImageElement) Width() int

Width returns the width.

func (*DOMHTMLImageElement) WithAccessKey added in v0.17.0

func (die *DOMHTMLImageElement) WithAccessKey(accessKey string) *DOMHTMLImageElement

WithAccessKey sets the access key.

func (*DOMHTMLImageElement) WithAlign added in v0.17.0

func (die *DOMHTMLImageElement) WithAlign(align string) *DOMHTMLImageElement

WithAlign sets the align.

func (*DOMHTMLImageElement) WithAlt added in v0.17.0

func (die *DOMHTMLImageElement) WithAlt(alt string) *DOMHTMLImageElement

WithAlt sets the alt.

func (*DOMHTMLImageElement) WithBorder added in v0.17.0

func (die *DOMHTMLImageElement) WithBorder(border string) *DOMHTMLImageElement

WithBorder sets the border.

func (*DOMHTMLImageElement) WithClassName added in v0.17.0

func (die *DOMHTMLImageElement) WithClassName(className string) *DOMHTMLImageElement

WithClassName sets the class name.

func (*DOMHTMLImageElement) WithContentEditable added in v0.17.0

func (die *DOMHTMLImageElement) WithContentEditable(contentEditable string) *DOMHTMLImageElement

WithContentEditable sets the content editable.

func (*DOMHTMLImageElement) WithDir added in v0.17.0

func (die *DOMHTMLImageElement) WithDir(dir string) *DOMHTMLImageElement

WithDir sets the dir.

func (*DOMHTMLImageElement) WithHeight added in v0.17.0

func (die *DOMHTMLImageElement) WithHeight(height int) *DOMHTMLImageElement

WithHeight sets the height.

func (*DOMHTMLImageElement) WithHspace added in v0.17.0

func (die *DOMHTMLImageElement) WithHspace(hspace int) *DOMHTMLImageElement

WithHspace sets the hspace.

func (*DOMHTMLImageElement) WithIDName added in v0.17.0

func (die *DOMHTMLImageElement) WithIDName(idName string) *DOMHTMLImageElement

WithIDName sets the ID name.

func (*DOMHTMLImageElement) WithInnerHTML added in v0.17.0

func (die *DOMHTMLImageElement) WithInnerHTML(innerHTML string) *DOMHTMLImageElement

WithInnerHTML sets the inner HTML.

func (*DOMHTMLImageElement) WithInnerText added in v0.17.0

func (die *DOMHTMLImageElement) WithInnerText(innerText string) *DOMHTMLImageElement

WithInnerText sets the inner text.

func (*DOMHTMLImageElement) WithIsMap added in v0.17.0

func (die *DOMHTMLImageElement) WithIsMap(isMap bool) *DOMHTMLImageElement

WithIsMap sets the is map.

func (*DOMHTMLImageElement) WithLang added in v0.17.0

func (die *DOMHTMLImageElement) WithLang(lang string) *DOMHTMLImageElement

WithLang sets the lang.

func (*DOMHTMLImageElement) WithLongDesc added in v0.17.0

func (die *DOMHTMLImageElement) WithLongDesc(longDesc string) *DOMHTMLImageElement

WithLongDesc sets the long desc.

func (*DOMHTMLImageElement) WithLowsrc added in v0.17.0

func (die *DOMHTMLImageElement) WithLowsrc(lowsrc string) *DOMHTMLImageElement

WithLowsrc sets the lowsrc.

func (*DOMHTMLImageElement) WithName added in v0.17.0

func (die *DOMHTMLImageElement) WithName(name string) *DOMHTMLImageElement

WithName sets the name.

func (*DOMHTMLImageElement) WithNodeValue added in v0.17.0

func (die *DOMHTMLImageElement) WithNodeValue(nodeValue string) *DOMHTMLImageElement

WithNodeValue sets the node value.

func (*DOMHTMLImageElement) WithOuterHTML added in v0.17.0

func (die *DOMHTMLImageElement) WithOuterHTML(outerHTML string) *DOMHTMLImageElement

WithOuterHTML sets the outer HTML.

func (*DOMHTMLImageElement) WithOuterText added in v0.17.0

func (die *DOMHTMLImageElement) WithOuterText(outerText string) *DOMHTMLImageElement

WithOuterText sets the outer text.

func (*DOMHTMLImageElement) WithPrefix added in v0.17.0

func (die *DOMHTMLImageElement) WithPrefix(prefix string) *DOMHTMLImageElement

WithPrefix sets the prefix.

func (*DOMHTMLImageElement) WithScrollLeft added in v0.17.0

func (die *DOMHTMLImageElement) WithScrollLeft(scrollLeft int) *DOMHTMLImageElement

WithScrollLeft sets the scroll left.

func (*DOMHTMLImageElement) WithScrollTop added in v0.17.0

func (die *DOMHTMLImageElement) WithScrollTop(scrollTop int) *DOMHTMLImageElement

WithScrollTop sets the scroll top.

func (*DOMHTMLImageElement) WithSrc added in v0.17.0

func (die *DOMHTMLImageElement) WithSrc(src string) *DOMHTMLImageElement

WithSrc sets the src.

func (*DOMHTMLImageElement) WithTabIndex added in v0.17.0

func (die *DOMHTMLImageElement) WithTabIndex(tabIndex int) *DOMHTMLImageElement

WithTabIndex sets the tab index.

func (*DOMHTMLImageElement) WithTextContent added in v0.17.0

func (die *DOMHTMLImageElement) WithTextContent(textContent string) *DOMHTMLImageElement

WithTextContent sets the text content.

func (*DOMHTMLImageElement) WithTitle added in v0.17.0

func (die *DOMHTMLImageElement) WithTitle(title string) *DOMHTMLImageElement

WithTitle sets the title.

func (*DOMHTMLImageElement) WithUseMap added in v0.17.0

func (die *DOMHTMLImageElement) WithUseMap(useMap string) *DOMHTMLImageElement

WithUseMap sets the use map.

func (*DOMHTMLImageElement) WithVspace added in v0.17.0

func (die *DOMHTMLImageElement) WithVspace(vspace int) *DOMHTMLImageElement

WithVspace sets the vspace.

func (*DOMHTMLImageElement) WithWidth added in v0.17.0

func (die *DOMHTMLImageElement) WithWidth(width int) *DOMHTMLImageElement

WithWidth sets the width.

func (*DOMHTMLImageElement) X

func (die *DOMHTMLImageElement) X() int

X returns the x.

func (*DOMHTMLImageElement) Y

func (die *DOMHTMLImageElement) Y() int

Y returns the y.

type DOMHTMLInputElement

type DOMHTMLInputElement struct {
	DOMHTMLElement
}

DOMHTMLInputElement is an idiomatic wrapper over the Objective-C class DOMHTMLInputElement.

It embeds DOMHTMLElement, promoting that type's methods.

func DOMHTMLInputElementFromID

func DOMHTMLInputElementFromID(id objc.ID) *DOMHTMLInputElement

DOMHTMLInputElementFromID adopts an existing Objective-C object as a DOMHTMLInputElement (nil for 0), retaining it and registering a release finalizer.

func NewDOMHTMLInputElement added in v0.17.0

func NewDOMHTMLInputElement() *DOMHTMLInputElement

NewDOMHTMLInputElement creates a new DOMHTMLInputElement.

func (*DOMHTMLInputElement) AbsoluteImageURL

func (die *DOMHTMLInputElement) AbsoluteImageURL() string

AbsoluteImageURL returns the absolute image URL.

func (*DOMHTMLInputElement) Accept

func (die *DOMHTMLInputElement) Accept() string

Accept returns the accept.

func (*DOMHTMLInputElement) Align

func (die *DOMHTMLInputElement) Align() string

Align returns the align.

func (*DOMHTMLInputElement) Alt

func (die *DOMHTMLInputElement) Alt() string

Alt returns the alt.

func (*DOMHTMLInputElement) AltDisplayString

func (die *DOMHTMLInputElement) AltDisplayString() string

AltDisplayString returns the alt display string.

func (*DOMHTMLInputElement) Autofocus

func (die *DOMHTMLInputElement) Autofocus() bool

Autofocus wraps the corresponding Objective-C method.

func (*DOMHTMLInputElement) Checked

func (die *DOMHTMLInputElement) Checked() bool

Checked wraps the corresponding Objective-C method.

func (*DOMHTMLInputElement) DefaultChecked

func (die *DOMHTMLInputElement) DefaultChecked() bool

DefaultChecked wraps the corresponding Objective-C method.

func (*DOMHTMLInputElement) DefaultValue

func (die *DOMHTMLInputElement) DefaultValue() string

DefaultValue returns the default value.

func (*DOMHTMLInputElement) Disabled

func (die *DOMHTMLInputElement) Disabled() bool

Disabled wraps the corresponding Objective-C method.

func (*DOMHTMLInputElement) Files

func (die *DOMHTMLInputElement) Files() *DOMFileList

Files returns the files.

func (*DOMHTMLInputElement) Form

Form returns the form.

func (*DOMHTMLInputElement) Indeterminate

func (die *DOMHTMLInputElement) Indeterminate() bool

Indeterminate wraps the corresponding Objective-C method.

func (*DOMHTMLInputElement) MaxLength

func (die *DOMHTMLInputElement) MaxLength() int

MaxLength returns the max length.

func (*DOMHTMLInputElement) Multiple

func (die *DOMHTMLInputElement) Multiple() bool

Multiple wraps the corresponding Objective-C method.

func (*DOMHTMLInputElement) Name

func (die *DOMHTMLInputElement) Name() string

Name returns the name.

func (*DOMHTMLInputElement) ReadOnly

func (die *DOMHTMLInputElement) ReadOnly() bool

ReadOnly wraps the corresponding Objective-C method.

func (*DOMHTMLInputElement) Select

func (die *DOMHTMLInputElement) Select()

Select wraps the corresponding Objective-C method.

func (*DOMHTMLInputElement) SelectionEnd

func (die *DOMHTMLInputElement) SelectionEnd() int

SelectionEnd returns the selection end.

func (*DOMHTMLInputElement) SelectionStart

func (die *DOMHTMLInputElement) SelectionStart() int

SelectionStart returns the selection start.

func (*DOMHTMLInputElement) SetSelectionRangeEnd

func (die *DOMHTMLInputElement) SetSelectionRangeEnd(start int, end int)

SetSelectionRangeEnd wraps the corresponding Objective-C method.

func (*DOMHTMLInputElement) Size

func (die *DOMHTMLInputElement) Size() string

Size returns the size.

func (*DOMHTMLInputElement) Src

func (die *DOMHTMLInputElement) Src() string

Src returns the src.

func (*DOMHTMLInputElement) Type

func (die *DOMHTMLInputElement) Type() string

Type returns the type.

func (*DOMHTMLInputElement) UseMap

func (die *DOMHTMLInputElement) UseMap() string

UseMap returns the use map.

func (*DOMHTMLInputElement) Value

func (die *DOMHTMLInputElement) Value() string

Value returns the value.

func (*DOMHTMLInputElement) WillValidate

func (die *DOMHTMLInputElement) WillValidate() bool

WillValidate wraps the corresponding Objective-C method.

func (*DOMHTMLInputElement) WithAccept added in v0.17.0

func (die *DOMHTMLInputElement) WithAccept(accept string) *DOMHTMLInputElement

WithAccept sets the accept.

func (*DOMHTMLInputElement) WithAccessKey added in v0.17.0

func (die *DOMHTMLInputElement) WithAccessKey(accessKey string) *DOMHTMLInputElement

WithAccessKey sets the access key.

func (*DOMHTMLInputElement) WithAlign added in v0.17.0

func (die *DOMHTMLInputElement) WithAlign(align string) *DOMHTMLInputElement

WithAlign sets the align.

func (*DOMHTMLInputElement) WithAlt added in v0.17.0

func (die *DOMHTMLInputElement) WithAlt(alt string) *DOMHTMLInputElement

WithAlt sets the alt.

func (*DOMHTMLInputElement) WithAutofocus added in v0.17.0

func (die *DOMHTMLInputElement) WithAutofocus(autofocus bool) *DOMHTMLInputElement

WithAutofocus sets the autofocus.

func (*DOMHTMLInputElement) WithChecked added in v0.17.0

func (die *DOMHTMLInputElement) WithChecked(checked bool) *DOMHTMLInputElement

WithChecked sets the checked.

func (*DOMHTMLInputElement) WithClassName added in v0.17.0

func (die *DOMHTMLInputElement) WithClassName(className string) *DOMHTMLInputElement

WithClassName sets the class name.

func (*DOMHTMLInputElement) WithContentEditable added in v0.17.0

func (die *DOMHTMLInputElement) WithContentEditable(contentEditable string) *DOMHTMLInputElement

WithContentEditable sets the content editable.

func (*DOMHTMLInputElement) WithDefaultChecked added in v0.17.0

func (die *DOMHTMLInputElement) WithDefaultChecked(defaultChecked bool) *DOMHTMLInputElement

WithDefaultChecked sets the default checked.

func (*DOMHTMLInputElement) WithDefaultValue added in v0.17.0

func (die *DOMHTMLInputElement) WithDefaultValue(defaultValue string) *DOMHTMLInputElement

WithDefaultValue sets the default value.

func (*DOMHTMLInputElement) WithDir added in v0.17.0

func (die *DOMHTMLInputElement) WithDir(dir string) *DOMHTMLInputElement

WithDir sets the dir.

func (*DOMHTMLInputElement) WithDisabled added in v0.17.0

func (die *DOMHTMLInputElement) WithDisabled(disabled bool) *DOMHTMLInputElement

WithDisabled sets the disabled.

func (*DOMHTMLInputElement) WithFiles added in v0.17.0

func (die *DOMHTMLInputElement) WithFiles(files *DOMFileList) *DOMHTMLInputElement

WithFiles sets the files.

func (*DOMHTMLInputElement) WithIDName added in v0.17.0

func (die *DOMHTMLInputElement) WithIDName(idName string) *DOMHTMLInputElement

WithIDName sets the ID name.

func (*DOMHTMLInputElement) WithIndeterminate added in v0.17.0

func (die *DOMHTMLInputElement) WithIndeterminate(indeterminate bool) *DOMHTMLInputElement

WithIndeterminate sets the indeterminate.

func (*DOMHTMLInputElement) WithInnerHTML added in v0.17.0

func (die *DOMHTMLInputElement) WithInnerHTML(innerHTML string) *DOMHTMLInputElement

WithInnerHTML sets the inner HTML.

func (*DOMHTMLInputElement) WithInnerText added in v0.17.0

func (die *DOMHTMLInputElement) WithInnerText(innerText string) *DOMHTMLInputElement

WithInnerText sets the inner text.

func (*DOMHTMLInputElement) WithLang added in v0.17.0

func (die *DOMHTMLInputElement) WithLang(lang string) *DOMHTMLInputElement

WithLang sets the lang.

func (*DOMHTMLInputElement) WithMaxLength added in v0.17.0

func (die *DOMHTMLInputElement) WithMaxLength(maxLength int) *DOMHTMLInputElement

WithMaxLength sets the max length.

func (*DOMHTMLInputElement) WithMultiple added in v0.17.0

func (die *DOMHTMLInputElement) WithMultiple(multiple bool) *DOMHTMLInputElement

WithMultiple sets the multiple.

func (*DOMHTMLInputElement) WithName added in v0.17.0

func (die *DOMHTMLInputElement) WithName(name string) *DOMHTMLInputElement

WithName sets the name.

func (*DOMHTMLInputElement) WithNodeValue added in v0.17.0

func (die *DOMHTMLInputElement) WithNodeValue(nodeValue string) *DOMHTMLInputElement

WithNodeValue sets the node value.

func (*DOMHTMLInputElement) WithOuterHTML added in v0.17.0

func (die *DOMHTMLInputElement) WithOuterHTML(outerHTML string) *DOMHTMLInputElement

WithOuterHTML sets the outer HTML.

func (*DOMHTMLInputElement) WithOuterText added in v0.17.0

func (die *DOMHTMLInputElement) WithOuterText(outerText string) *DOMHTMLInputElement

WithOuterText sets the outer text.

func (*DOMHTMLInputElement) WithPrefix added in v0.17.0

func (die *DOMHTMLInputElement) WithPrefix(prefix string) *DOMHTMLInputElement

WithPrefix sets the prefix.

func (*DOMHTMLInputElement) WithReadOnly added in v0.17.0

func (die *DOMHTMLInputElement) WithReadOnly(readOnly bool) *DOMHTMLInputElement

WithReadOnly sets the read only.

func (*DOMHTMLInputElement) WithScrollLeft added in v0.17.0

func (die *DOMHTMLInputElement) WithScrollLeft(scrollLeft int) *DOMHTMLInputElement

WithScrollLeft sets the scroll left.

func (*DOMHTMLInputElement) WithScrollTop added in v0.17.0

func (die *DOMHTMLInputElement) WithScrollTop(scrollTop int) *DOMHTMLInputElement

WithScrollTop sets the scroll top.

func (*DOMHTMLInputElement) WithSelectionEnd added in v0.17.0

func (die *DOMHTMLInputElement) WithSelectionEnd(selectionEnd int) *DOMHTMLInputElement

WithSelectionEnd sets the selection end.

func (*DOMHTMLInputElement) WithSelectionStart added in v0.17.0

func (die *DOMHTMLInputElement) WithSelectionStart(selectionStart int) *DOMHTMLInputElement

WithSelectionStart sets the selection start.

func (*DOMHTMLInputElement) WithSize added in v0.17.0

func (die *DOMHTMLInputElement) WithSize(size string) *DOMHTMLInputElement

WithSize sets the size.

func (*DOMHTMLInputElement) WithSrc added in v0.17.0

func (die *DOMHTMLInputElement) WithSrc(src string) *DOMHTMLInputElement

WithSrc sets the src.

func (*DOMHTMLInputElement) WithTabIndex added in v0.17.0

func (die *DOMHTMLInputElement) WithTabIndex(tabIndex int) *DOMHTMLInputElement

WithTabIndex sets the tab index.

func (*DOMHTMLInputElement) WithTextContent added in v0.17.0

func (die *DOMHTMLInputElement) WithTextContent(textContent string) *DOMHTMLInputElement

WithTextContent sets the text content.

func (*DOMHTMLInputElement) WithTitle added in v0.17.0

func (die *DOMHTMLInputElement) WithTitle(title string) *DOMHTMLInputElement

WithTitle sets the title.

func (*DOMHTMLInputElement) WithType added in v0.17.0

func (die *DOMHTMLInputElement) WithType(type_ string) *DOMHTMLInputElement

WithType sets the type.

func (*DOMHTMLInputElement) WithUseMap added in v0.17.0

func (die *DOMHTMLInputElement) WithUseMap(useMap string) *DOMHTMLInputElement

WithUseMap sets the use map.

func (*DOMHTMLInputElement) WithValue added in v0.17.0

func (die *DOMHTMLInputElement) WithValue(value string) *DOMHTMLInputElement

WithValue sets the value.

type DOMHTMLLIElement

type DOMHTMLLIElement struct {
	DOMHTMLElement
}

DOMHTMLLIElement is an idiomatic wrapper over the Objective-C class DOMHTMLLIElement.

It embeds DOMHTMLElement, promoting that type's methods.

func DOMHTMLLIElementFromID

func DOMHTMLLIElementFromID(id objc.ID) *DOMHTMLLIElement

DOMHTMLLIElementFromID adopts an existing Objective-C object as a DOMHTMLLIElement (nil for 0), retaining it and registering a release finalizer.

func NewDOMHTMLLIElement added in v0.17.0

func NewDOMHTMLLIElement() *DOMHTMLLIElement

NewDOMHTMLLIElement creates a new DOMHTMLLIElement.

func (*DOMHTMLLIElement) Type

func (de *DOMHTMLLIElement) Type() string

Type returns the type.

func (*DOMHTMLLIElement) Value

func (de *DOMHTMLLIElement) Value() int

Value returns the value.

func (*DOMHTMLLIElement) WithAccessKey added in v0.17.0

func (de *DOMHTMLLIElement) WithAccessKey(accessKey string) *DOMHTMLLIElement

WithAccessKey sets the access key.

func (*DOMHTMLLIElement) WithClassName added in v0.17.0

func (de *DOMHTMLLIElement) WithClassName(className string) *DOMHTMLLIElement

WithClassName sets the class name.

func (*DOMHTMLLIElement) WithContentEditable added in v0.17.0

func (de *DOMHTMLLIElement) WithContentEditable(contentEditable string) *DOMHTMLLIElement

WithContentEditable sets the content editable.

func (*DOMHTMLLIElement) WithDir added in v0.17.0

func (de *DOMHTMLLIElement) WithDir(dir string) *DOMHTMLLIElement

WithDir sets the dir.

func (*DOMHTMLLIElement) WithIDName added in v0.17.0

func (de *DOMHTMLLIElement) WithIDName(idName string) *DOMHTMLLIElement

WithIDName sets the ID name.

func (*DOMHTMLLIElement) WithInnerHTML added in v0.17.0

func (de *DOMHTMLLIElement) WithInnerHTML(innerHTML string) *DOMHTMLLIElement

WithInnerHTML sets the inner HTML.

func (*DOMHTMLLIElement) WithInnerText added in v0.17.0

func (de *DOMHTMLLIElement) WithInnerText(innerText string) *DOMHTMLLIElement

WithInnerText sets the inner text.

func (*DOMHTMLLIElement) WithLang added in v0.17.0

func (de *DOMHTMLLIElement) WithLang(lang string) *DOMHTMLLIElement

WithLang sets the lang.

func (*DOMHTMLLIElement) WithNodeValue added in v0.17.0

func (de *DOMHTMLLIElement) WithNodeValue(nodeValue string) *DOMHTMLLIElement

WithNodeValue sets the node value.

func (*DOMHTMLLIElement) WithOuterHTML added in v0.17.0

func (de *DOMHTMLLIElement) WithOuterHTML(outerHTML string) *DOMHTMLLIElement

WithOuterHTML sets the outer HTML.

func (*DOMHTMLLIElement) WithOuterText added in v0.17.0

func (de *DOMHTMLLIElement) WithOuterText(outerText string) *DOMHTMLLIElement

WithOuterText sets the outer text.

func (*DOMHTMLLIElement) WithPrefix added in v0.17.0

func (de *DOMHTMLLIElement) WithPrefix(prefix string) *DOMHTMLLIElement

WithPrefix sets the prefix.

func (*DOMHTMLLIElement) WithScrollLeft added in v0.17.0

func (de *DOMHTMLLIElement) WithScrollLeft(scrollLeft int) *DOMHTMLLIElement

WithScrollLeft sets the scroll left.

func (*DOMHTMLLIElement) WithScrollTop added in v0.17.0

func (de *DOMHTMLLIElement) WithScrollTop(scrollTop int) *DOMHTMLLIElement

WithScrollTop sets the scroll top.

func (*DOMHTMLLIElement) WithTabIndex added in v0.17.0

func (de *DOMHTMLLIElement) WithTabIndex(tabIndex int) *DOMHTMLLIElement

WithTabIndex sets the tab index.

func (*DOMHTMLLIElement) WithTextContent added in v0.17.0

func (de *DOMHTMLLIElement) WithTextContent(textContent string) *DOMHTMLLIElement

WithTextContent sets the text content.

func (*DOMHTMLLIElement) WithTitle added in v0.17.0

func (de *DOMHTMLLIElement) WithTitle(title string) *DOMHTMLLIElement

WithTitle sets the title.

func (*DOMHTMLLIElement) WithType added in v0.17.0

func (de *DOMHTMLLIElement) WithType(type_ string) *DOMHTMLLIElement

WithType sets the type.

func (*DOMHTMLLIElement) WithValue added in v0.17.0

func (de *DOMHTMLLIElement) WithValue(value int) *DOMHTMLLIElement

WithValue sets the value.

type DOMHTMLLabelElement

type DOMHTMLLabelElement struct {
	DOMHTMLElement
}

DOMHTMLLabelElement is an idiomatic wrapper over the Objective-C class DOMHTMLLabelElement.

It embeds DOMHTMLElement, promoting that type's methods.

func DOMHTMLLabelElementFromID

func DOMHTMLLabelElementFromID(id objc.ID) *DOMHTMLLabelElement

DOMHTMLLabelElementFromID adopts an existing Objective-C object as a DOMHTMLLabelElement (nil for 0), retaining it and registering a release finalizer.

func NewDOMHTMLLabelElement added in v0.17.0

func NewDOMHTMLLabelElement() *DOMHTMLLabelElement

NewDOMHTMLLabelElement creates a new DOMHTMLLabelElement.

func (*DOMHTMLLabelElement) Form

Form returns the form.

func (*DOMHTMLLabelElement) HTMLFor added in v0.17.0

func (dle *DOMHTMLLabelElement) HTMLFor() string

HTMLFor returns the HTML for.

func (*DOMHTMLLabelElement) WithAccessKey added in v0.17.0

func (dle *DOMHTMLLabelElement) WithAccessKey(accessKey string) *DOMHTMLLabelElement

WithAccessKey sets the access key.

func (*DOMHTMLLabelElement) WithClassName added in v0.17.0

func (dle *DOMHTMLLabelElement) WithClassName(className string) *DOMHTMLLabelElement

WithClassName sets the class name.

func (*DOMHTMLLabelElement) WithContentEditable added in v0.17.0

func (dle *DOMHTMLLabelElement) WithContentEditable(contentEditable string) *DOMHTMLLabelElement

WithContentEditable sets the content editable.

func (*DOMHTMLLabelElement) WithDir added in v0.17.0

func (dle *DOMHTMLLabelElement) WithDir(dir string) *DOMHTMLLabelElement

WithDir sets the dir.

func (*DOMHTMLLabelElement) WithHTMLFor added in v0.17.0

func (dle *DOMHTMLLabelElement) WithHTMLFor(htmlFor string) *DOMHTMLLabelElement

WithHTMLFor sets the HTML for.

func (*DOMHTMLLabelElement) WithIDName added in v0.17.0

func (dle *DOMHTMLLabelElement) WithIDName(idName string) *DOMHTMLLabelElement

WithIDName sets the ID name.

func (*DOMHTMLLabelElement) WithInnerHTML added in v0.17.0

func (dle *DOMHTMLLabelElement) WithInnerHTML(innerHTML string) *DOMHTMLLabelElement

WithInnerHTML sets the inner HTML.

func (*DOMHTMLLabelElement) WithInnerText added in v0.17.0

func (dle *DOMHTMLLabelElement) WithInnerText(innerText string) *DOMHTMLLabelElement

WithInnerText sets the inner text.

func (*DOMHTMLLabelElement) WithLang added in v0.17.0

func (dle *DOMHTMLLabelElement) WithLang(lang string) *DOMHTMLLabelElement

WithLang sets the lang.

func (*DOMHTMLLabelElement) WithNodeValue added in v0.17.0

func (dle *DOMHTMLLabelElement) WithNodeValue(nodeValue string) *DOMHTMLLabelElement

WithNodeValue sets the node value.

func (*DOMHTMLLabelElement) WithOuterHTML added in v0.17.0

func (dle *DOMHTMLLabelElement) WithOuterHTML(outerHTML string) *DOMHTMLLabelElement

WithOuterHTML sets the outer HTML.

func (*DOMHTMLLabelElement) WithOuterText added in v0.17.0

func (dle *DOMHTMLLabelElement) WithOuterText(outerText string) *DOMHTMLLabelElement

WithOuterText sets the outer text.

func (*DOMHTMLLabelElement) WithPrefix added in v0.17.0

func (dle *DOMHTMLLabelElement) WithPrefix(prefix string) *DOMHTMLLabelElement

WithPrefix sets the prefix.

func (*DOMHTMLLabelElement) WithScrollLeft added in v0.17.0

func (dle *DOMHTMLLabelElement) WithScrollLeft(scrollLeft int) *DOMHTMLLabelElement

WithScrollLeft sets the scroll left.

func (*DOMHTMLLabelElement) WithScrollTop added in v0.17.0

func (dle *DOMHTMLLabelElement) WithScrollTop(scrollTop int) *DOMHTMLLabelElement

WithScrollTop sets the scroll top.

func (*DOMHTMLLabelElement) WithTabIndex added in v0.17.0

func (dle *DOMHTMLLabelElement) WithTabIndex(tabIndex int) *DOMHTMLLabelElement

WithTabIndex sets the tab index.

func (*DOMHTMLLabelElement) WithTextContent added in v0.17.0

func (dle *DOMHTMLLabelElement) WithTextContent(textContent string) *DOMHTMLLabelElement

WithTextContent sets the text content.

func (*DOMHTMLLabelElement) WithTitle added in v0.17.0

func (dle *DOMHTMLLabelElement) WithTitle(title string) *DOMHTMLLabelElement

WithTitle sets the title.

type DOMHTMLLegendElement

type DOMHTMLLegendElement struct {
	DOMHTMLElement
}

DOMHTMLLegendElement is an idiomatic wrapper over the Objective-C class DOMHTMLLegendElement.

It embeds DOMHTMLElement, promoting that type's methods.

func DOMHTMLLegendElementFromID

func DOMHTMLLegendElementFromID(id objc.ID) *DOMHTMLLegendElement

DOMHTMLLegendElementFromID adopts an existing Objective-C object as a DOMHTMLLegendElement (nil for 0), retaining it and registering a release finalizer.

func NewDOMHTMLLegendElement added in v0.17.0

func NewDOMHTMLLegendElement() *DOMHTMLLegendElement

NewDOMHTMLLegendElement creates a new DOMHTMLLegendElement.

func (*DOMHTMLLegendElement) Align

func (dle *DOMHTMLLegendElement) Align() string

Align returns the align.

func (*DOMHTMLLegendElement) Form

Form returns the form.

func (*DOMHTMLLegendElement) WithAccessKey added in v0.17.0

func (dle *DOMHTMLLegendElement) WithAccessKey(accessKey string) *DOMHTMLLegendElement

WithAccessKey sets the access key.

func (*DOMHTMLLegendElement) WithAlign added in v0.17.0

func (dle *DOMHTMLLegendElement) WithAlign(align string) *DOMHTMLLegendElement

WithAlign sets the align.

func (*DOMHTMLLegendElement) WithClassName added in v0.17.0

func (dle *DOMHTMLLegendElement) WithClassName(className string) *DOMHTMLLegendElement

WithClassName sets the class name.

func (*DOMHTMLLegendElement) WithContentEditable added in v0.17.0

func (dle *DOMHTMLLegendElement) WithContentEditable(contentEditable string) *DOMHTMLLegendElement

WithContentEditable sets the content editable.

func (*DOMHTMLLegendElement) WithDir added in v0.17.0

WithDir sets the dir.

func (*DOMHTMLLegendElement) WithIDName added in v0.17.0

func (dle *DOMHTMLLegendElement) WithIDName(idName string) *DOMHTMLLegendElement

WithIDName sets the ID name.

func (*DOMHTMLLegendElement) WithInnerHTML added in v0.17.0

func (dle *DOMHTMLLegendElement) WithInnerHTML(innerHTML string) *DOMHTMLLegendElement

WithInnerHTML sets the inner HTML.

func (*DOMHTMLLegendElement) WithInnerText added in v0.17.0

func (dle *DOMHTMLLegendElement) WithInnerText(innerText string) *DOMHTMLLegendElement

WithInnerText sets the inner text.

func (*DOMHTMLLegendElement) WithLang added in v0.17.0

func (dle *DOMHTMLLegendElement) WithLang(lang string) *DOMHTMLLegendElement

WithLang sets the lang.

func (*DOMHTMLLegendElement) WithNodeValue added in v0.17.0

func (dle *DOMHTMLLegendElement) WithNodeValue(nodeValue string) *DOMHTMLLegendElement

WithNodeValue sets the node value.

func (*DOMHTMLLegendElement) WithOuterHTML added in v0.17.0

func (dle *DOMHTMLLegendElement) WithOuterHTML(outerHTML string) *DOMHTMLLegendElement

WithOuterHTML sets the outer HTML.

func (*DOMHTMLLegendElement) WithOuterText added in v0.17.0

func (dle *DOMHTMLLegendElement) WithOuterText(outerText string) *DOMHTMLLegendElement

WithOuterText sets the outer text.

func (*DOMHTMLLegendElement) WithPrefix added in v0.17.0

func (dle *DOMHTMLLegendElement) WithPrefix(prefix string) *DOMHTMLLegendElement

WithPrefix sets the prefix.

func (*DOMHTMLLegendElement) WithScrollLeft added in v0.17.0

func (dle *DOMHTMLLegendElement) WithScrollLeft(scrollLeft int) *DOMHTMLLegendElement

WithScrollLeft sets the scroll left.

func (*DOMHTMLLegendElement) WithScrollTop added in v0.17.0

func (dle *DOMHTMLLegendElement) WithScrollTop(scrollTop int) *DOMHTMLLegendElement

WithScrollTop sets the scroll top.

func (*DOMHTMLLegendElement) WithTabIndex added in v0.17.0

func (dle *DOMHTMLLegendElement) WithTabIndex(tabIndex int) *DOMHTMLLegendElement

WithTabIndex sets the tab index.

func (*DOMHTMLLegendElement) WithTextContent added in v0.17.0

func (dle *DOMHTMLLegendElement) WithTextContent(textContent string) *DOMHTMLLegendElement

WithTextContent sets the text content.

func (*DOMHTMLLegendElement) WithTitle added in v0.17.0

func (dle *DOMHTMLLegendElement) WithTitle(title string) *DOMHTMLLegendElement

WithTitle sets the title.

type DOMHTMLLinkElement

type DOMHTMLLinkElement struct {
	DOMHTMLElement
}

DOMHTMLLinkElement is an idiomatic wrapper over the Objective-C class DOMHTMLLinkElement.

It embeds DOMHTMLElement, promoting that type's methods.

func DOMHTMLLinkElementFromID

func DOMHTMLLinkElementFromID(id objc.ID) *DOMHTMLLinkElement

DOMHTMLLinkElementFromID adopts an existing Objective-C object as a DOMHTMLLinkElement (nil for 0), retaining it and registering a release finalizer.

func NewDOMHTMLLinkElement added in v0.17.0

func NewDOMHTMLLinkElement() *DOMHTMLLinkElement

NewDOMHTMLLinkElement creates a new DOMHTMLLinkElement.

func (*DOMHTMLLinkElement) AbsoluteLinkURL

func (dle *DOMHTMLLinkElement) AbsoluteLinkURL() string

AbsoluteLinkURL returns the absolute link URL.

func (*DOMHTMLLinkElement) Charset

func (dle *DOMHTMLLinkElement) Charset() string

Charset returns the charset.

func (*DOMHTMLLinkElement) Disabled

func (dle *DOMHTMLLinkElement) Disabled() bool

Disabled wraps the corresponding Objective-C method.

func (*DOMHTMLLinkElement) Href

func (dle *DOMHTMLLinkElement) Href() string

Href returns the href.

func (*DOMHTMLLinkElement) Hreflang

func (dle *DOMHTMLLinkElement) Hreflang() string

Hreflang returns the hreflang.

func (*DOMHTMLLinkElement) Media

func (dle *DOMHTMLLinkElement) Media() string

Media returns the media.

func (*DOMHTMLLinkElement) Rel

func (dle *DOMHTMLLinkElement) Rel() string

Rel returns the rel.

func (*DOMHTMLLinkElement) Rev

func (dle *DOMHTMLLinkElement) Rev() string

Rev returns the rev.

func (*DOMHTMLLinkElement) Target

func (dle *DOMHTMLLinkElement) Target() string

Target returns the target.

func (*DOMHTMLLinkElement) Type

func (dle *DOMHTMLLinkElement) Type() string

Type returns the type.

func (*DOMHTMLLinkElement) WithAccessKey added in v0.17.0

func (dle *DOMHTMLLinkElement) WithAccessKey(accessKey string) *DOMHTMLLinkElement

WithAccessKey sets the access key.

func (*DOMHTMLLinkElement) WithCharset added in v0.17.0

func (dle *DOMHTMLLinkElement) WithCharset(charset string) *DOMHTMLLinkElement

WithCharset sets the charset.

func (*DOMHTMLLinkElement) WithClassName added in v0.17.0

func (dle *DOMHTMLLinkElement) WithClassName(className string) *DOMHTMLLinkElement

WithClassName sets the class name.

func (*DOMHTMLLinkElement) WithContentEditable added in v0.17.0

func (dle *DOMHTMLLinkElement) WithContentEditable(contentEditable string) *DOMHTMLLinkElement

WithContentEditable sets the content editable.

func (*DOMHTMLLinkElement) WithDir added in v0.17.0

func (dle *DOMHTMLLinkElement) WithDir(dir string) *DOMHTMLLinkElement

WithDir sets the dir.

func (*DOMHTMLLinkElement) WithDisabled added in v0.17.0

func (dle *DOMHTMLLinkElement) WithDisabled(disabled bool) *DOMHTMLLinkElement

WithDisabled sets the disabled.

func (*DOMHTMLLinkElement) WithHref added in v0.17.0

func (dle *DOMHTMLLinkElement) WithHref(href string) *DOMHTMLLinkElement

WithHref sets the href.

func (*DOMHTMLLinkElement) WithHreflang added in v0.17.0

func (dle *DOMHTMLLinkElement) WithHreflang(hreflang string) *DOMHTMLLinkElement

WithHreflang sets the hreflang.

func (*DOMHTMLLinkElement) WithIDName added in v0.17.0

func (dle *DOMHTMLLinkElement) WithIDName(idName string) *DOMHTMLLinkElement

WithIDName sets the ID name.

func (*DOMHTMLLinkElement) WithInnerHTML added in v0.17.0

func (dle *DOMHTMLLinkElement) WithInnerHTML(innerHTML string) *DOMHTMLLinkElement

WithInnerHTML sets the inner HTML.

func (*DOMHTMLLinkElement) WithInnerText added in v0.17.0

func (dle *DOMHTMLLinkElement) WithInnerText(innerText string) *DOMHTMLLinkElement

WithInnerText sets the inner text.

func (*DOMHTMLLinkElement) WithLang added in v0.17.0

func (dle *DOMHTMLLinkElement) WithLang(lang string) *DOMHTMLLinkElement

WithLang sets the lang.

func (*DOMHTMLLinkElement) WithMedia added in v0.17.0

func (dle *DOMHTMLLinkElement) WithMedia(media string) *DOMHTMLLinkElement

WithMedia sets the media.

func (*DOMHTMLLinkElement) WithNodeValue added in v0.17.0

func (dle *DOMHTMLLinkElement) WithNodeValue(nodeValue string) *DOMHTMLLinkElement

WithNodeValue sets the node value.

func (*DOMHTMLLinkElement) WithOuterHTML added in v0.17.0

func (dle *DOMHTMLLinkElement) WithOuterHTML(outerHTML string) *DOMHTMLLinkElement

WithOuterHTML sets the outer HTML.

func (*DOMHTMLLinkElement) WithOuterText added in v0.17.0

func (dle *DOMHTMLLinkElement) WithOuterText(outerText string) *DOMHTMLLinkElement

WithOuterText sets the outer text.

func (*DOMHTMLLinkElement) WithPrefix added in v0.17.0

func (dle *DOMHTMLLinkElement) WithPrefix(prefix string) *DOMHTMLLinkElement

WithPrefix sets the prefix.

func (*DOMHTMLLinkElement) WithRel added in v0.17.0

func (dle *DOMHTMLLinkElement) WithRel(rel string) *DOMHTMLLinkElement

WithRel sets the rel.

func (*DOMHTMLLinkElement) WithRev added in v0.17.0

func (dle *DOMHTMLLinkElement) WithRev(rev string) *DOMHTMLLinkElement

WithRev sets the rev.

func (*DOMHTMLLinkElement) WithScrollLeft added in v0.17.0

func (dle *DOMHTMLLinkElement) WithScrollLeft(scrollLeft int) *DOMHTMLLinkElement

WithScrollLeft sets the scroll left.

func (*DOMHTMLLinkElement) WithScrollTop added in v0.17.0

func (dle *DOMHTMLLinkElement) WithScrollTop(scrollTop int) *DOMHTMLLinkElement

WithScrollTop sets the scroll top.

func (*DOMHTMLLinkElement) WithTabIndex added in v0.17.0

func (dle *DOMHTMLLinkElement) WithTabIndex(tabIndex int) *DOMHTMLLinkElement

WithTabIndex sets the tab index.

func (*DOMHTMLLinkElement) WithTarget added in v0.17.0

func (dle *DOMHTMLLinkElement) WithTarget(target string) *DOMHTMLLinkElement

WithTarget sets the target.

func (*DOMHTMLLinkElement) WithTextContent added in v0.17.0

func (dle *DOMHTMLLinkElement) WithTextContent(textContent string) *DOMHTMLLinkElement

WithTextContent sets the text content.

func (*DOMHTMLLinkElement) WithTitle added in v0.17.0

func (dle *DOMHTMLLinkElement) WithTitle(title string) *DOMHTMLLinkElement

WithTitle sets the title.

func (*DOMHTMLLinkElement) WithType added in v0.17.0

func (dle *DOMHTMLLinkElement) WithType(type_ string) *DOMHTMLLinkElement

WithType sets the type.

type DOMHTMLMapElement

type DOMHTMLMapElement struct {
	DOMHTMLElement
}

DOMHTMLMapElement is an idiomatic wrapper over the Objective-C class DOMHTMLMapElement.

It embeds DOMHTMLElement, promoting that type's methods.

func DOMHTMLMapElementFromID

func DOMHTMLMapElementFromID(id objc.ID) *DOMHTMLMapElement

DOMHTMLMapElementFromID adopts an existing Objective-C object as a DOMHTMLMapElement (nil for 0), retaining it and registering a release finalizer.

func NewDOMHTMLMapElement added in v0.17.0

func NewDOMHTMLMapElement() *DOMHTMLMapElement

NewDOMHTMLMapElement creates a new DOMHTMLMapElement.

func (*DOMHTMLMapElement) Areas

func (dme *DOMHTMLMapElement) Areas() *DOMHTMLCollection

Areas returns the areas.

func (*DOMHTMLMapElement) Name

func (dme *DOMHTMLMapElement) Name() string

Name returns the name.

func (*DOMHTMLMapElement) WithAccessKey added in v0.17.0

func (dme *DOMHTMLMapElement) WithAccessKey(accessKey string) *DOMHTMLMapElement

WithAccessKey sets the access key.

func (*DOMHTMLMapElement) WithClassName added in v0.17.0

func (dme *DOMHTMLMapElement) WithClassName(className string) *DOMHTMLMapElement

WithClassName sets the class name.

func (*DOMHTMLMapElement) WithContentEditable added in v0.17.0

func (dme *DOMHTMLMapElement) WithContentEditable(contentEditable string) *DOMHTMLMapElement

WithContentEditable sets the content editable.

func (*DOMHTMLMapElement) WithDir added in v0.17.0

func (dme *DOMHTMLMapElement) WithDir(dir string) *DOMHTMLMapElement

WithDir sets the dir.

func (*DOMHTMLMapElement) WithIDName added in v0.17.0

func (dme *DOMHTMLMapElement) WithIDName(idName string) *DOMHTMLMapElement

WithIDName sets the ID name.

func (*DOMHTMLMapElement) WithInnerHTML added in v0.17.0

func (dme *DOMHTMLMapElement) WithInnerHTML(innerHTML string) *DOMHTMLMapElement

WithInnerHTML sets the inner HTML.

func (*DOMHTMLMapElement) WithInnerText added in v0.17.0

func (dme *DOMHTMLMapElement) WithInnerText(innerText string) *DOMHTMLMapElement

WithInnerText sets the inner text.

func (*DOMHTMLMapElement) WithLang added in v0.17.0

func (dme *DOMHTMLMapElement) WithLang(lang string) *DOMHTMLMapElement

WithLang sets the lang.

func (*DOMHTMLMapElement) WithName added in v0.17.0

func (dme *DOMHTMLMapElement) WithName(name string) *DOMHTMLMapElement

WithName sets the name.

func (*DOMHTMLMapElement) WithNodeValue added in v0.17.0

func (dme *DOMHTMLMapElement) WithNodeValue(nodeValue string) *DOMHTMLMapElement

WithNodeValue sets the node value.

func (*DOMHTMLMapElement) WithOuterHTML added in v0.17.0

func (dme *DOMHTMLMapElement) WithOuterHTML(outerHTML string) *DOMHTMLMapElement

WithOuterHTML sets the outer HTML.

func (*DOMHTMLMapElement) WithOuterText added in v0.17.0

func (dme *DOMHTMLMapElement) WithOuterText(outerText string) *DOMHTMLMapElement

WithOuterText sets the outer text.

func (*DOMHTMLMapElement) WithPrefix added in v0.17.0

func (dme *DOMHTMLMapElement) WithPrefix(prefix string) *DOMHTMLMapElement

WithPrefix sets the prefix.

func (*DOMHTMLMapElement) WithScrollLeft added in v0.17.0

func (dme *DOMHTMLMapElement) WithScrollLeft(scrollLeft int) *DOMHTMLMapElement

WithScrollLeft sets the scroll left.

func (*DOMHTMLMapElement) WithScrollTop added in v0.17.0

func (dme *DOMHTMLMapElement) WithScrollTop(scrollTop int) *DOMHTMLMapElement

WithScrollTop sets the scroll top.

func (*DOMHTMLMapElement) WithTabIndex added in v0.17.0

func (dme *DOMHTMLMapElement) WithTabIndex(tabIndex int) *DOMHTMLMapElement

WithTabIndex sets the tab index.

func (*DOMHTMLMapElement) WithTextContent added in v0.17.0

func (dme *DOMHTMLMapElement) WithTextContent(textContent string) *DOMHTMLMapElement

WithTextContent sets the text content.

func (*DOMHTMLMapElement) WithTitle added in v0.17.0

func (dme *DOMHTMLMapElement) WithTitle(title string) *DOMHTMLMapElement

WithTitle sets the title.

type DOMHTMLMarqueeElement

type DOMHTMLMarqueeElement struct {
	DOMHTMLElement
}

DOMHTMLMarqueeElement is an idiomatic wrapper over the Objective-C class DOMHTMLMarqueeElement.

It embeds DOMHTMLElement, promoting that type's methods.

func DOMHTMLMarqueeElementFromID

func DOMHTMLMarqueeElementFromID(id objc.ID) *DOMHTMLMarqueeElement

DOMHTMLMarqueeElementFromID adopts an existing Objective-C object as a DOMHTMLMarqueeElement (nil for 0), retaining it and registering a release finalizer.

func NewDOMHTMLMarqueeElement added in v0.17.0

func NewDOMHTMLMarqueeElement() *DOMHTMLMarqueeElement

NewDOMHTMLMarqueeElement creates a new DOMHTMLMarqueeElement.

func (*DOMHTMLMarqueeElement) Start

func (dme *DOMHTMLMarqueeElement) Start()

Start wraps the corresponding Objective-C method.

func (*DOMHTMLMarqueeElement) Stop

func (dme *DOMHTMLMarqueeElement) Stop()

Stop wraps the corresponding Objective-C method.

func (*DOMHTMLMarqueeElement) WithAccessKey added in v0.17.0

func (dme *DOMHTMLMarqueeElement) WithAccessKey(accessKey string) *DOMHTMLMarqueeElement

WithAccessKey sets the access key.

func (*DOMHTMLMarqueeElement) WithClassName added in v0.17.0

func (dme *DOMHTMLMarqueeElement) WithClassName(className string) *DOMHTMLMarqueeElement

WithClassName sets the class name.

func (*DOMHTMLMarqueeElement) WithContentEditable added in v0.17.0

func (dme *DOMHTMLMarqueeElement) WithContentEditable(contentEditable string) *DOMHTMLMarqueeElement

WithContentEditable sets the content editable.

func (*DOMHTMLMarqueeElement) WithDir added in v0.17.0

WithDir sets the dir.

func (*DOMHTMLMarqueeElement) WithIDName added in v0.17.0

func (dme *DOMHTMLMarqueeElement) WithIDName(idName string) *DOMHTMLMarqueeElement

WithIDName sets the ID name.

func (*DOMHTMLMarqueeElement) WithInnerHTML added in v0.17.0

func (dme *DOMHTMLMarqueeElement) WithInnerHTML(innerHTML string) *DOMHTMLMarqueeElement

WithInnerHTML sets the inner HTML.

func (*DOMHTMLMarqueeElement) WithInnerText added in v0.17.0

func (dme *DOMHTMLMarqueeElement) WithInnerText(innerText string) *DOMHTMLMarqueeElement

WithInnerText sets the inner text.

func (*DOMHTMLMarqueeElement) WithLang added in v0.17.0

func (dme *DOMHTMLMarqueeElement) WithLang(lang string) *DOMHTMLMarqueeElement

WithLang sets the lang.

func (*DOMHTMLMarqueeElement) WithNodeValue added in v0.17.0

func (dme *DOMHTMLMarqueeElement) WithNodeValue(nodeValue string) *DOMHTMLMarqueeElement

WithNodeValue sets the node value.

func (*DOMHTMLMarqueeElement) WithOuterHTML added in v0.17.0

func (dme *DOMHTMLMarqueeElement) WithOuterHTML(outerHTML string) *DOMHTMLMarqueeElement

WithOuterHTML sets the outer HTML.

func (*DOMHTMLMarqueeElement) WithOuterText added in v0.17.0

func (dme *DOMHTMLMarqueeElement) WithOuterText(outerText string) *DOMHTMLMarqueeElement

WithOuterText sets the outer text.

func (*DOMHTMLMarqueeElement) WithPrefix added in v0.17.0

func (dme *DOMHTMLMarqueeElement) WithPrefix(prefix string) *DOMHTMLMarqueeElement

WithPrefix sets the prefix.

func (*DOMHTMLMarqueeElement) WithScrollLeft added in v0.17.0

func (dme *DOMHTMLMarqueeElement) WithScrollLeft(scrollLeft int) *DOMHTMLMarqueeElement

WithScrollLeft sets the scroll left.

func (*DOMHTMLMarqueeElement) WithScrollTop added in v0.17.0

func (dme *DOMHTMLMarqueeElement) WithScrollTop(scrollTop int) *DOMHTMLMarqueeElement

WithScrollTop sets the scroll top.

func (*DOMHTMLMarqueeElement) WithTabIndex added in v0.17.0

func (dme *DOMHTMLMarqueeElement) WithTabIndex(tabIndex int) *DOMHTMLMarqueeElement

WithTabIndex sets the tab index.

func (*DOMHTMLMarqueeElement) WithTextContent added in v0.17.0

func (dme *DOMHTMLMarqueeElement) WithTextContent(textContent string) *DOMHTMLMarqueeElement

WithTextContent sets the text content.

func (*DOMHTMLMarqueeElement) WithTitle added in v0.17.0

func (dme *DOMHTMLMarqueeElement) WithTitle(title string) *DOMHTMLMarqueeElement

WithTitle sets the title.

type DOMHTMLMenuElement

type DOMHTMLMenuElement struct {
	DOMHTMLElement
}

DOMHTMLMenuElement is an idiomatic wrapper over the Objective-C class DOMHTMLMenuElement.

It embeds DOMHTMLElement, promoting that type's methods.

func DOMHTMLMenuElementFromID

func DOMHTMLMenuElementFromID(id objc.ID) *DOMHTMLMenuElement

DOMHTMLMenuElementFromID adopts an existing Objective-C object as a DOMHTMLMenuElement (nil for 0), retaining it and registering a release finalizer.

func NewDOMHTMLMenuElement added in v0.17.0

func NewDOMHTMLMenuElement() *DOMHTMLMenuElement

NewDOMHTMLMenuElement creates a new DOMHTMLMenuElement.

func (*DOMHTMLMenuElement) Compact

func (dme *DOMHTMLMenuElement) Compact() bool

Compact wraps the corresponding Objective-C method.

func (*DOMHTMLMenuElement) WithAccessKey added in v0.17.0

func (dme *DOMHTMLMenuElement) WithAccessKey(accessKey string) *DOMHTMLMenuElement

WithAccessKey sets the access key.

func (*DOMHTMLMenuElement) WithClassName added in v0.17.0

func (dme *DOMHTMLMenuElement) WithClassName(className string) *DOMHTMLMenuElement

WithClassName sets the class name.

func (*DOMHTMLMenuElement) WithCompact added in v0.17.0

func (dme *DOMHTMLMenuElement) WithCompact(compact bool) *DOMHTMLMenuElement

WithCompact sets the compact.

func (*DOMHTMLMenuElement) WithContentEditable added in v0.17.0

func (dme *DOMHTMLMenuElement) WithContentEditable(contentEditable string) *DOMHTMLMenuElement

WithContentEditable sets the content editable.

func (*DOMHTMLMenuElement) WithDir added in v0.17.0

func (dme *DOMHTMLMenuElement) WithDir(dir string) *DOMHTMLMenuElement

WithDir sets the dir.

func (*DOMHTMLMenuElement) WithIDName added in v0.17.0

func (dme *DOMHTMLMenuElement) WithIDName(idName string) *DOMHTMLMenuElement

WithIDName sets the ID name.

func (*DOMHTMLMenuElement) WithInnerHTML added in v0.17.0

func (dme *DOMHTMLMenuElement) WithInnerHTML(innerHTML string) *DOMHTMLMenuElement

WithInnerHTML sets the inner HTML.

func (*DOMHTMLMenuElement) WithInnerText added in v0.17.0

func (dme *DOMHTMLMenuElement) WithInnerText(innerText string) *DOMHTMLMenuElement

WithInnerText sets the inner text.

func (*DOMHTMLMenuElement) WithLang added in v0.17.0

func (dme *DOMHTMLMenuElement) WithLang(lang string) *DOMHTMLMenuElement

WithLang sets the lang.

func (*DOMHTMLMenuElement) WithNodeValue added in v0.17.0

func (dme *DOMHTMLMenuElement) WithNodeValue(nodeValue string) *DOMHTMLMenuElement

WithNodeValue sets the node value.

func (*DOMHTMLMenuElement) WithOuterHTML added in v0.17.0

func (dme *DOMHTMLMenuElement) WithOuterHTML(outerHTML string) *DOMHTMLMenuElement

WithOuterHTML sets the outer HTML.

func (*DOMHTMLMenuElement) WithOuterText added in v0.17.0

func (dme *DOMHTMLMenuElement) WithOuterText(outerText string) *DOMHTMLMenuElement

WithOuterText sets the outer text.

func (*DOMHTMLMenuElement) WithPrefix added in v0.17.0

func (dme *DOMHTMLMenuElement) WithPrefix(prefix string) *DOMHTMLMenuElement

WithPrefix sets the prefix.

func (*DOMHTMLMenuElement) WithScrollLeft added in v0.17.0

func (dme *DOMHTMLMenuElement) WithScrollLeft(scrollLeft int) *DOMHTMLMenuElement

WithScrollLeft sets the scroll left.

func (*DOMHTMLMenuElement) WithScrollTop added in v0.17.0

func (dme *DOMHTMLMenuElement) WithScrollTop(scrollTop int) *DOMHTMLMenuElement

WithScrollTop sets the scroll top.

func (*DOMHTMLMenuElement) WithTabIndex added in v0.17.0

func (dme *DOMHTMLMenuElement) WithTabIndex(tabIndex int) *DOMHTMLMenuElement

WithTabIndex sets the tab index.

func (*DOMHTMLMenuElement) WithTextContent added in v0.17.0

func (dme *DOMHTMLMenuElement) WithTextContent(textContent string) *DOMHTMLMenuElement

WithTextContent sets the text content.

func (*DOMHTMLMenuElement) WithTitle added in v0.17.0

func (dme *DOMHTMLMenuElement) WithTitle(title string) *DOMHTMLMenuElement

WithTitle sets the title.

type DOMHTMLMetaElement

type DOMHTMLMetaElement struct {
	DOMHTMLElement
}

DOMHTMLMetaElement is an idiomatic wrapper over the Objective-C class DOMHTMLMetaElement.

It embeds DOMHTMLElement, promoting that type's methods.

func DOMHTMLMetaElementFromID

func DOMHTMLMetaElementFromID(id objc.ID) *DOMHTMLMetaElement

DOMHTMLMetaElementFromID adopts an existing Objective-C object as a DOMHTMLMetaElement (nil for 0), retaining it and registering a release finalizer.

func NewDOMHTMLMetaElement added in v0.17.0

func NewDOMHTMLMetaElement() *DOMHTMLMetaElement

NewDOMHTMLMetaElement creates a new DOMHTMLMetaElement.

func (*DOMHTMLMetaElement) Content

func (dme *DOMHTMLMetaElement) Content() string

Content returns the content.

func (*DOMHTMLMetaElement) HTTPEquiv added in v0.17.0

func (dme *DOMHTMLMetaElement) HTTPEquiv() string

HTTPEquiv returns the HTTP equiv.

func (*DOMHTMLMetaElement) Name

func (dme *DOMHTMLMetaElement) Name() string

Name returns the name.

func (*DOMHTMLMetaElement) Scheme

func (dme *DOMHTMLMetaElement) Scheme() string

Scheme returns the scheme.

func (*DOMHTMLMetaElement) WithAccessKey added in v0.17.0

func (dme *DOMHTMLMetaElement) WithAccessKey(accessKey string) *DOMHTMLMetaElement

WithAccessKey sets the access key.

func (*DOMHTMLMetaElement) WithClassName added in v0.17.0

func (dme *DOMHTMLMetaElement) WithClassName(className string) *DOMHTMLMetaElement

WithClassName sets the class name.

func (*DOMHTMLMetaElement) WithContent added in v0.17.0

func (dme *DOMHTMLMetaElement) WithContent(content string) *DOMHTMLMetaElement

WithContent sets the content.

func (*DOMHTMLMetaElement) WithContentEditable added in v0.17.0

func (dme *DOMHTMLMetaElement) WithContentEditable(contentEditable string) *DOMHTMLMetaElement

WithContentEditable sets the content editable.

func (*DOMHTMLMetaElement) WithDir added in v0.17.0

func (dme *DOMHTMLMetaElement) WithDir(dir string) *DOMHTMLMetaElement

WithDir sets the dir.

func (*DOMHTMLMetaElement) WithHTTPEquiv added in v0.17.0

func (dme *DOMHTMLMetaElement) WithHTTPEquiv(httpEquiv string) *DOMHTMLMetaElement

WithHTTPEquiv sets the HTTP equiv.

func (*DOMHTMLMetaElement) WithIDName added in v0.17.0

func (dme *DOMHTMLMetaElement) WithIDName(idName string) *DOMHTMLMetaElement

WithIDName sets the ID name.

func (*DOMHTMLMetaElement) WithInnerHTML added in v0.17.0

func (dme *DOMHTMLMetaElement) WithInnerHTML(innerHTML string) *DOMHTMLMetaElement

WithInnerHTML sets the inner HTML.

func (*DOMHTMLMetaElement) WithInnerText added in v0.17.0

func (dme *DOMHTMLMetaElement) WithInnerText(innerText string) *DOMHTMLMetaElement

WithInnerText sets the inner text.

func (*DOMHTMLMetaElement) WithLang added in v0.17.0

func (dme *DOMHTMLMetaElement) WithLang(lang string) *DOMHTMLMetaElement

WithLang sets the lang.

func (*DOMHTMLMetaElement) WithName added in v0.17.0

func (dme *DOMHTMLMetaElement) WithName(name string) *DOMHTMLMetaElement

WithName sets the name.

func (*DOMHTMLMetaElement) WithNodeValue added in v0.17.0

func (dme *DOMHTMLMetaElement) WithNodeValue(nodeValue string) *DOMHTMLMetaElement

WithNodeValue sets the node value.

func (*DOMHTMLMetaElement) WithOuterHTML added in v0.17.0

func (dme *DOMHTMLMetaElement) WithOuterHTML(outerHTML string) *DOMHTMLMetaElement

WithOuterHTML sets the outer HTML.

func (*DOMHTMLMetaElement) WithOuterText added in v0.17.0

func (dme *DOMHTMLMetaElement) WithOuterText(outerText string) *DOMHTMLMetaElement

WithOuterText sets the outer text.

func (*DOMHTMLMetaElement) WithPrefix added in v0.17.0

func (dme *DOMHTMLMetaElement) WithPrefix(prefix string) *DOMHTMLMetaElement

WithPrefix sets the prefix.

func (*DOMHTMLMetaElement) WithScheme added in v0.17.0

func (dme *DOMHTMLMetaElement) WithScheme(scheme string) *DOMHTMLMetaElement

WithScheme sets the scheme.

func (*DOMHTMLMetaElement) WithScrollLeft added in v0.17.0

func (dme *DOMHTMLMetaElement) WithScrollLeft(scrollLeft int) *DOMHTMLMetaElement

WithScrollLeft sets the scroll left.

func (*DOMHTMLMetaElement) WithScrollTop added in v0.17.0

func (dme *DOMHTMLMetaElement) WithScrollTop(scrollTop int) *DOMHTMLMetaElement

WithScrollTop sets the scroll top.

func (*DOMHTMLMetaElement) WithTabIndex added in v0.17.0

func (dme *DOMHTMLMetaElement) WithTabIndex(tabIndex int) *DOMHTMLMetaElement

WithTabIndex sets the tab index.

func (*DOMHTMLMetaElement) WithTextContent added in v0.17.0

func (dme *DOMHTMLMetaElement) WithTextContent(textContent string) *DOMHTMLMetaElement

WithTextContent sets the text content.

func (*DOMHTMLMetaElement) WithTitle added in v0.17.0

func (dme *DOMHTMLMetaElement) WithTitle(title string) *DOMHTMLMetaElement

WithTitle sets the title.

type DOMHTMLModElement

type DOMHTMLModElement struct {
	DOMHTMLElement
}

DOMHTMLModElement is an idiomatic wrapper over the Objective-C class DOMHTMLModElement.

It embeds DOMHTMLElement, promoting that type's methods.

func DOMHTMLModElementFromID

func DOMHTMLModElementFromID(id objc.ID) *DOMHTMLModElement

DOMHTMLModElementFromID adopts an existing Objective-C object as a DOMHTMLModElement (nil for 0), retaining it and registering a release finalizer.

func NewDOMHTMLModElement added in v0.17.0

func NewDOMHTMLModElement() *DOMHTMLModElement

NewDOMHTMLModElement creates a new DOMHTMLModElement.

func (*DOMHTMLModElement) Cite

func (dme *DOMHTMLModElement) Cite() string

Cite returns the cite.

func (*DOMHTMLModElement) DateTime

func (dme *DOMHTMLModElement) DateTime() string

DateTime returns the date time.

func (*DOMHTMLModElement) WithAccessKey added in v0.17.0

func (dme *DOMHTMLModElement) WithAccessKey(accessKey string) *DOMHTMLModElement

WithAccessKey sets the access key.

func (*DOMHTMLModElement) WithCite added in v0.17.0

func (dme *DOMHTMLModElement) WithCite(cite string) *DOMHTMLModElement

WithCite sets the cite.

func (*DOMHTMLModElement) WithClassName added in v0.17.0

func (dme *DOMHTMLModElement) WithClassName(className string) *DOMHTMLModElement

WithClassName sets the class name.

func (*DOMHTMLModElement) WithContentEditable added in v0.17.0

func (dme *DOMHTMLModElement) WithContentEditable(contentEditable string) *DOMHTMLModElement

WithContentEditable sets the content editable.

func (*DOMHTMLModElement) WithDateTime added in v0.17.0

func (dme *DOMHTMLModElement) WithDateTime(dateTime string) *DOMHTMLModElement

WithDateTime sets the date time.

func (*DOMHTMLModElement) WithDir added in v0.17.0

func (dme *DOMHTMLModElement) WithDir(dir string) *DOMHTMLModElement

WithDir sets the dir.

func (*DOMHTMLModElement) WithIDName added in v0.17.0

func (dme *DOMHTMLModElement) WithIDName(idName string) *DOMHTMLModElement

WithIDName sets the ID name.

func (*DOMHTMLModElement) WithInnerHTML added in v0.17.0

func (dme *DOMHTMLModElement) WithInnerHTML(innerHTML string) *DOMHTMLModElement

WithInnerHTML sets the inner HTML.

func (*DOMHTMLModElement) WithInnerText added in v0.17.0

func (dme *DOMHTMLModElement) WithInnerText(innerText string) *DOMHTMLModElement

WithInnerText sets the inner text.

func (*DOMHTMLModElement) WithLang added in v0.17.0

func (dme *DOMHTMLModElement) WithLang(lang string) *DOMHTMLModElement

WithLang sets the lang.

func (*DOMHTMLModElement) WithNodeValue added in v0.17.0

func (dme *DOMHTMLModElement) WithNodeValue(nodeValue string) *DOMHTMLModElement

WithNodeValue sets the node value.

func (*DOMHTMLModElement) WithOuterHTML added in v0.17.0

func (dme *DOMHTMLModElement) WithOuterHTML(outerHTML string) *DOMHTMLModElement

WithOuterHTML sets the outer HTML.

func (*DOMHTMLModElement) WithOuterText added in v0.17.0

func (dme *DOMHTMLModElement) WithOuterText(outerText string) *DOMHTMLModElement

WithOuterText sets the outer text.

func (*DOMHTMLModElement) WithPrefix added in v0.17.0

func (dme *DOMHTMLModElement) WithPrefix(prefix string) *DOMHTMLModElement

WithPrefix sets the prefix.

func (*DOMHTMLModElement) WithScrollLeft added in v0.17.0

func (dme *DOMHTMLModElement) WithScrollLeft(scrollLeft int) *DOMHTMLModElement

WithScrollLeft sets the scroll left.

func (*DOMHTMLModElement) WithScrollTop added in v0.17.0

func (dme *DOMHTMLModElement) WithScrollTop(scrollTop int) *DOMHTMLModElement

WithScrollTop sets the scroll top.

func (*DOMHTMLModElement) WithTabIndex added in v0.17.0

func (dme *DOMHTMLModElement) WithTabIndex(tabIndex int) *DOMHTMLModElement

WithTabIndex sets the tab index.

func (*DOMHTMLModElement) WithTextContent added in v0.17.0

func (dme *DOMHTMLModElement) WithTextContent(textContent string) *DOMHTMLModElement

WithTextContent sets the text content.

func (*DOMHTMLModElement) WithTitle added in v0.17.0

func (dme *DOMHTMLModElement) WithTitle(title string) *DOMHTMLModElement

WithTitle sets the title.

type DOMHTMLOListElement

type DOMHTMLOListElement struct {
	DOMHTMLElement
}

DOMHTMLOListElement is an idiomatic wrapper over the Objective-C class DOMHTMLOListElement.

It embeds DOMHTMLElement, promoting that type's methods.

func DOMHTMLOListElementFromID

func DOMHTMLOListElementFromID(id objc.ID) *DOMHTMLOListElement

DOMHTMLOListElementFromID adopts an existing Objective-C object as a DOMHTMLOListElement (nil for 0), retaining it and registering a release finalizer.

func NewDOMHTMLOListElement added in v0.17.0

func NewDOMHTMLOListElement() *DOMHTMLOListElement

NewDOMHTMLOListElement creates a new DOMHTMLOListElement.

func (*DOMHTMLOListElement) Compact

func (dle *DOMHTMLOListElement) Compact() bool

Compact wraps the corresponding Objective-C method.

func (*DOMHTMLOListElement) Start

func (dle *DOMHTMLOListElement) Start() int

Start returns the start.

func (*DOMHTMLOListElement) Type

func (dle *DOMHTMLOListElement) Type() string

Type returns the type.

func (*DOMHTMLOListElement) WithAccessKey added in v0.17.0

func (dle *DOMHTMLOListElement) WithAccessKey(accessKey string) *DOMHTMLOListElement

WithAccessKey sets the access key.

func (*DOMHTMLOListElement) WithClassName added in v0.17.0

func (dle *DOMHTMLOListElement) WithClassName(className string) *DOMHTMLOListElement

WithClassName sets the class name.

func (*DOMHTMLOListElement) WithCompact added in v0.17.0

func (dle *DOMHTMLOListElement) WithCompact(compact bool) *DOMHTMLOListElement

WithCompact sets the compact.

func (*DOMHTMLOListElement) WithContentEditable added in v0.17.0

func (dle *DOMHTMLOListElement) WithContentEditable(contentEditable string) *DOMHTMLOListElement

WithContentEditable sets the content editable.

func (*DOMHTMLOListElement) WithDir added in v0.17.0

func (dle *DOMHTMLOListElement) WithDir(dir string) *DOMHTMLOListElement

WithDir sets the dir.

func (*DOMHTMLOListElement) WithIDName added in v0.17.0

func (dle *DOMHTMLOListElement) WithIDName(idName string) *DOMHTMLOListElement

WithIDName sets the ID name.

func (*DOMHTMLOListElement) WithInnerHTML added in v0.17.0

func (dle *DOMHTMLOListElement) WithInnerHTML(innerHTML string) *DOMHTMLOListElement

WithInnerHTML sets the inner HTML.

func (*DOMHTMLOListElement) WithInnerText added in v0.17.0

func (dle *DOMHTMLOListElement) WithInnerText(innerText string) *DOMHTMLOListElement

WithInnerText sets the inner text.

func (*DOMHTMLOListElement) WithLang added in v0.17.0

func (dle *DOMHTMLOListElement) WithLang(lang string) *DOMHTMLOListElement

WithLang sets the lang.

func (*DOMHTMLOListElement) WithNodeValue added in v0.17.0

func (dle *DOMHTMLOListElement) WithNodeValue(nodeValue string) *DOMHTMLOListElement

WithNodeValue sets the node value.

func (*DOMHTMLOListElement) WithOuterHTML added in v0.17.0

func (dle *DOMHTMLOListElement) WithOuterHTML(outerHTML string) *DOMHTMLOListElement

WithOuterHTML sets the outer HTML.

func (*DOMHTMLOListElement) WithOuterText added in v0.17.0

func (dle *DOMHTMLOListElement) WithOuterText(outerText string) *DOMHTMLOListElement

WithOuterText sets the outer text.

func (*DOMHTMLOListElement) WithPrefix added in v0.17.0

func (dle *DOMHTMLOListElement) WithPrefix(prefix string) *DOMHTMLOListElement

WithPrefix sets the prefix.

func (*DOMHTMLOListElement) WithScrollLeft added in v0.17.0

func (dle *DOMHTMLOListElement) WithScrollLeft(scrollLeft int) *DOMHTMLOListElement

WithScrollLeft sets the scroll left.

func (*DOMHTMLOListElement) WithScrollTop added in v0.17.0

func (dle *DOMHTMLOListElement) WithScrollTop(scrollTop int) *DOMHTMLOListElement

WithScrollTop sets the scroll top.

func (*DOMHTMLOListElement) WithStart added in v0.17.0

func (dle *DOMHTMLOListElement) WithStart(start int) *DOMHTMLOListElement

WithStart sets the start.

func (*DOMHTMLOListElement) WithTabIndex added in v0.17.0

func (dle *DOMHTMLOListElement) WithTabIndex(tabIndex int) *DOMHTMLOListElement

WithTabIndex sets the tab index.

func (*DOMHTMLOListElement) WithTextContent added in v0.17.0

func (dle *DOMHTMLOListElement) WithTextContent(textContent string) *DOMHTMLOListElement

WithTextContent sets the text content.

func (*DOMHTMLOListElement) WithTitle added in v0.17.0

func (dle *DOMHTMLOListElement) WithTitle(title string) *DOMHTMLOListElement

WithTitle sets the title.

func (*DOMHTMLOListElement) WithType added in v0.17.0

func (dle *DOMHTMLOListElement) WithType(type_ string) *DOMHTMLOListElement

WithType sets the type.

type DOMHTMLObjectElement

type DOMHTMLObjectElement struct {
	DOMHTMLElement
}

DOMHTMLObjectElement is an idiomatic wrapper over the Objective-C class DOMHTMLObjectElement.

It embeds DOMHTMLElement, promoting that type's methods.

func DOMHTMLObjectElementFromID

func DOMHTMLObjectElementFromID(id objc.ID) *DOMHTMLObjectElement

DOMHTMLObjectElementFromID adopts an existing Objective-C object as a DOMHTMLObjectElement (nil for 0), retaining it and registering a release finalizer.

func NewDOMHTMLObjectElement added in v0.17.0

func NewDOMHTMLObjectElement() *DOMHTMLObjectElement

NewDOMHTMLObjectElement creates a new DOMHTMLObjectElement.

func (*DOMHTMLObjectElement) AbsoluteImageURL

func (doe *DOMHTMLObjectElement) AbsoluteImageURL() string

AbsoluteImageURL returns the absolute image URL.

func (*DOMHTMLObjectElement) Align

func (doe *DOMHTMLObjectElement) Align() string

Align returns the align.

func (*DOMHTMLObjectElement) Archive

func (doe *DOMHTMLObjectElement) Archive() string

Archive returns the archive.

func (*DOMHTMLObjectElement) Border

func (doe *DOMHTMLObjectElement) Border() string

Border returns the border.

func (*DOMHTMLObjectElement) Code

func (doe *DOMHTMLObjectElement) Code() string

Code returns the code.

func (*DOMHTMLObjectElement) CodeBase

func (doe *DOMHTMLObjectElement) CodeBase() string

CodeBase returns the code base.

func (*DOMHTMLObjectElement) CodeType

func (doe *DOMHTMLObjectElement) CodeType() string

CodeType returns the code type.

func (*DOMHTMLObjectElement) ContentDocument

func (doe *DOMHTMLObjectElement) ContentDocument() *DOMDocument

ContentDocument returns the content document.

func (*DOMHTMLObjectElement) ContentFrame

func (doe *DOMHTMLObjectElement) ContentFrame() *WebFrame

ContentFrame returns the content frame.

func (*DOMHTMLObjectElement) Data

func (doe *DOMHTMLObjectElement) Data() string

Data returns the data.

func (*DOMHTMLObjectElement) Declare

func (doe *DOMHTMLObjectElement) Declare() bool

Declare wraps the corresponding Objective-C method.

func (*DOMHTMLObjectElement) Form

Form returns the form.

func (*DOMHTMLObjectElement) Height

func (doe *DOMHTMLObjectElement) Height() string

Height returns the height.

func (*DOMHTMLObjectElement) Hspace

func (doe *DOMHTMLObjectElement) Hspace() int

Hspace returns the hspace.

func (*DOMHTMLObjectElement) Name

func (doe *DOMHTMLObjectElement) Name() string

Name returns the name.

func (*DOMHTMLObjectElement) Standby

func (doe *DOMHTMLObjectElement) Standby() string

Standby returns the standby.

func (*DOMHTMLObjectElement) Type

func (doe *DOMHTMLObjectElement) Type() string

Type returns the type.

func (*DOMHTMLObjectElement) UseMap

func (doe *DOMHTMLObjectElement) UseMap() string

UseMap returns the use map.

func (*DOMHTMLObjectElement) Vspace

func (doe *DOMHTMLObjectElement) Vspace() int

Vspace returns the vspace.

func (*DOMHTMLObjectElement) Width

func (doe *DOMHTMLObjectElement) Width() string

Width returns the width.

func (*DOMHTMLObjectElement) WithAccessKey added in v0.17.0

func (doe *DOMHTMLObjectElement) WithAccessKey(accessKey string) *DOMHTMLObjectElement

WithAccessKey sets the access key.

func (*DOMHTMLObjectElement) WithAlign added in v0.17.0

func (doe *DOMHTMLObjectElement) WithAlign(align string) *DOMHTMLObjectElement

WithAlign sets the align.

func (*DOMHTMLObjectElement) WithArchive added in v0.17.0

func (doe *DOMHTMLObjectElement) WithArchive(archive string) *DOMHTMLObjectElement

WithArchive sets the archive.

func (*DOMHTMLObjectElement) WithBorder added in v0.17.0

func (doe *DOMHTMLObjectElement) WithBorder(border string) *DOMHTMLObjectElement

WithBorder sets the border.

func (*DOMHTMLObjectElement) WithClassName added in v0.17.0

func (doe *DOMHTMLObjectElement) WithClassName(className string) *DOMHTMLObjectElement

WithClassName sets the class name.

func (*DOMHTMLObjectElement) WithCode added in v0.17.0

func (doe *DOMHTMLObjectElement) WithCode(code string) *DOMHTMLObjectElement

WithCode sets the code.

func (*DOMHTMLObjectElement) WithCodeBase added in v0.17.0

func (doe *DOMHTMLObjectElement) WithCodeBase(codeBase string) *DOMHTMLObjectElement

WithCodeBase sets the code base.

func (*DOMHTMLObjectElement) WithCodeType added in v0.17.0

func (doe *DOMHTMLObjectElement) WithCodeType(codeType string) *DOMHTMLObjectElement

WithCodeType sets the code type.

func (*DOMHTMLObjectElement) WithContentEditable added in v0.17.0

func (doe *DOMHTMLObjectElement) WithContentEditable(contentEditable string) *DOMHTMLObjectElement

WithContentEditable sets the content editable.

func (*DOMHTMLObjectElement) WithData added in v0.17.0

func (doe *DOMHTMLObjectElement) WithData(data string) *DOMHTMLObjectElement

WithData sets the data.

func (*DOMHTMLObjectElement) WithDeclare added in v0.17.0

func (doe *DOMHTMLObjectElement) WithDeclare(declare bool) *DOMHTMLObjectElement

WithDeclare sets the declare.

func (*DOMHTMLObjectElement) WithDir added in v0.17.0

WithDir sets the dir.

func (*DOMHTMLObjectElement) WithHeight added in v0.17.0

func (doe *DOMHTMLObjectElement) WithHeight(height string) *DOMHTMLObjectElement

WithHeight sets the height.

func (*DOMHTMLObjectElement) WithHspace added in v0.17.0

func (doe *DOMHTMLObjectElement) WithHspace(hspace int) *DOMHTMLObjectElement

WithHspace sets the hspace.

func (*DOMHTMLObjectElement) WithIDName added in v0.17.0

func (doe *DOMHTMLObjectElement) WithIDName(idName string) *DOMHTMLObjectElement

WithIDName sets the ID name.

func (*DOMHTMLObjectElement) WithInnerHTML added in v0.17.0

func (doe *DOMHTMLObjectElement) WithInnerHTML(innerHTML string) *DOMHTMLObjectElement

WithInnerHTML sets the inner HTML.

func (*DOMHTMLObjectElement) WithInnerText added in v0.17.0

func (doe *DOMHTMLObjectElement) WithInnerText(innerText string) *DOMHTMLObjectElement

WithInnerText sets the inner text.

func (*DOMHTMLObjectElement) WithLang added in v0.17.0

func (doe *DOMHTMLObjectElement) WithLang(lang string) *DOMHTMLObjectElement

WithLang sets the lang.

func (*DOMHTMLObjectElement) WithName added in v0.17.0

func (doe *DOMHTMLObjectElement) WithName(name string) *DOMHTMLObjectElement

WithName sets the name.

func (*DOMHTMLObjectElement) WithNodeValue added in v0.17.0

func (doe *DOMHTMLObjectElement) WithNodeValue(nodeValue string) *DOMHTMLObjectElement

WithNodeValue sets the node value.

func (*DOMHTMLObjectElement) WithOuterHTML added in v0.17.0

func (doe *DOMHTMLObjectElement) WithOuterHTML(outerHTML string) *DOMHTMLObjectElement

WithOuterHTML sets the outer HTML.

func (*DOMHTMLObjectElement) WithOuterText added in v0.17.0

func (doe *DOMHTMLObjectElement) WithOuterText(outerText string) *DOMHTMLObjectElement

WithOuterText sets the outer text.

func (*DOMHTMLObjectElement) WithPrefix added in v0.17.0

func (doe *DOMHTMLObjectElement) WithPrefix(prefix string) *DOMHTMLObjectElement

WithPrefix sets the prefix.

func (*DOMHTMLObjectElement) WithScrollLeft added in v0.17.0

func (doe *DOMHTMLObjectElement) WithScrollLeft(scrollLeft int) *DOMHTMLObjectElement

WithScrollLeft sets the scroll left.

func (*DOMHTMLObjectElement) WithScrollTop added in v0.17.0

func (doe *DOMHTMLObjectElement) WithScrollTop(scrollTop int) *DOMHTMLObjectElement

WithScrollTop sets the scroll top.

func (*DOMHTMLObjectElement) WithStandby added in v0.17.0

func (doe *DOMHTMLObjectElement) WithStandby(standby string) *DOMHTMLObjectElement

WithStandby sets the standby.

func (*DOMHTMLObjectElement) WithTabIndex added in v0.17.0

func (doe *DOMHTMLObjectElement) WithTabIndex(tabIndex int) *DOMHTMLObjectElement

WithTabIndex sets the tab index.

func (*DOMHTMLObjectElement) WithTextContent added in v0.17.0

func (doe *DOMHTMLObjectElement) WithTextContent(textContent string) *DOMHTMLObjectElement

WithTextContent sets the text content.

func (*DOMHTMLObjectElement) WithTitle added in v0.17.0

func (doe *DOMHTMLObjectElement) WithTitle(title string) *DOMHTMLObjectElement

WithTitle sets the title.

func (*DOMHTMLObjectElement) WithType added in v0.17.0

func (doe *DOMHTMLObjectElement) WithType(type_ string) *DOMHTMLObjectElement

WithType sets the type.

func (*DOMHTMLObjectElement) WithUseMap added in v0.17.0

func (doe *DOMHTMLObjectElement) WithUseMap(useMap string) *DOMHTMLObjectElement

WithUseMap sets the use map.

func (*DOMHTMLObjectElement) WithVspace added in v0.17.0

func (doe *DOMHTMLObjectElement) WithVspace(vspace int) *DOMHTMLObjectElement

WithVspace sets the vspace.

func (*DOMHTMLObjectElement) WithWidth added in v0.17.0

func (doe *DOMHTMLObjectElement) WithWidth(width string) *DOMHTMLObjectElement

WithWidth sets the width.

type DOMHTMLOptGroupElement

type DOMHTMLOptGroupElement struct {
	DOMHTMLElement
}

DOMHTMLOptGroupElement is an idiomatic wrapper over the Objective-C class DOMHTMLOptGroupElement.

It embeds DOMHTMLElement, promoting that type's methods.

func DOMHTMLOptGroupElementFromID

func DOMHTMLOptGroupElementFromID(id objc.ID) *DOMHTMLOptGroupElement

DOMHTMLOptGroupElementFromID adopts an existing Objective-C object as a DOMHTMLOptGroupElement (nil for 0), retaining it and registering a release finalizer.

func NewDOMHTMLOptGroupElement added in v0.17.0

func NewDOMHTMLOptGroupElement() *DOMHTMLOptGroupElement

NewDOMHTMLOptGroupElement creates a new DOMHTMLOptGroupElement.

func (*DOMHTMLOptGroupElement) Disabled

func (doge *DOMHTMLOptGroupElement) Disabled() bool

Disabled wraps the corresponding Objective-C method.

func (*DOMHTMLOptGroupElement) Label

func (doge *DOMHTMLOptGroupElement) Label() string

Label returns the label.

func (*DOMHTMLOptGroupElement) WithAccessKey added in v0.17.0

func (doge *DOMHTMLOptGroupElement) WithAccessKey(accessKey string) *DOMHTMLOptGroupElement

WithAccessKey sets the access key.

func (*DOMHTMLOptGroupElement) WithClassName added in v0.17.0

func (doge *DOMHTMLOptGroupElement) WithClassName(className string) *DOMHTMLOptGroupElement

WithClassName sets the class name.

func (*DOMHTMLOptGroupElement) WithContentEditable added in v0.17.0

func (doge *DOMHTMLOptGroupElement) WithContentEditable(contentEditable string) *DOMHTMLOptGroupElement

WithContentEditable sets the content editable.

func (*DOMHTMLOptGroupElement) WithDir added in v0.17.0

WithDir sets the dir.

func (*DOMHTMLOptGroupElement) WithDisabled added in v0.17.0

func (doge *DOMHTMLOptGroupElement) WithDisabled(disabled bool) *DOMHTMLOptGroupElement

WithDisabled sets the disabled.

func (*DOMHTMLOptGroupElement) WithIDName added in v0.17.0

func (doge *DOMHTMLOptGroupElement) WithIDName(idName string) *DOMHTMLOptGroupElement

WithIDName sets the ID name.

func (*DOMHTMLOptGroupElement) WithInnerHTML added in v0.17.0

func (doge *DOMHTMLOptGroupElement) WithInnerHTML(innerHTML string) *DOMHTMLOptGroupElement

WithInnerHTML sets the inner HTML.

func (*DOMHTMLOptGroupElement) WithInnerText added in v0.17.0

func (doge *DOMHTMLOptGroupElement) WithInnerText(innerText string) *DOMHTMLOptGroupElement

WithInnerText sets the inner text.

func (*DOMHTMLOptGroupElement) WithLabel added in v0.17.0

func (doge *DOMHTMLOptGroupElement) WithLabel(label string) *DOMHTMLOptGroupElement

WithLabel sets the label.

func (*DOMHTMLOptGroupElement) WithLang added in v0.17.0

WithLang sets the lang.

func (*DOMHTMLOptGroupElement) WithNodeValue added in v0.17.0

func (doge *DOMHTMLOptGroupElement) WithNodeValue(nodeValue string) *DOMHTMLOptGroupElement

WithNodeValue sets the node value.

func (*DOMHTMLOptGroupElement) WithOuterHTML added in v0.17.0

func (doge *DOMHTMLOptGroupElement) WithOuterHTML(outerHTML string) *DOMHTMLOptGroupElement

WithOuterHTML sets the outer HTML.

func (*DOMHTMLOptGroupElement) WithOuterText added in v0.17.0

func (doge *DOMHTMLOptGroupElement) WithOuterText(outerText string) *DOMHTMLOptGroupElement

WithOuterText sets the outer text.

func (*DOMHTMLOptGroupElement) WithPrefix added in v0.17.0

func (doge *DOMHTMLOptGroupElement) WithPrefix(prefix string) *DOMHTMLOptGroupElement

WithPrefix sets the prefix.

func (*DOMHTMLOptGroupElement) WithScrollLeft added in v0.17.0

func (doge *DOMHTMLOptGroupElement) WithScrollLeft(scrollLeft int) *DOMHTMLOptGroupElement

WithScrollLeft sets the scroll left.

func (*DOMHTMLOptGroupElement) WithScrollTop added in v0.17.0

func (doge *DOMHTMLOptGroupElement) WithScrollTop(scrollTop int) *DOMHTMLOptGroupElement

WithScrollTop sets the scroll top.

func (*DOMHTMLOptGroupElement) WithTabIndex added in v0.17.0

func (doge *DOMHTMLOptGroupElement) WithTabIndex(tabIndex int) *DOMHTMLOptGroupElement

WithTabIndex sets the tab index.

func (*DOMHTMLOptGroupElement) WithTextContent added in v0.17.0

func (doge *DOMHTMLOptGroupElement) WithTextContent(textContent string) *DOMHTMLOptGroupElement

WithTextContent sets the text content.

func (*DOMHTMLOptGroupElement) WithTitle added in v0.17.0

func (doge *DOMHTMLOptGroupElement) WithTitle(title string) *DOMHTMLOptGroupElement

WithTitle sets the title.

type DOMHTMLOptionElement

type DOMHTMLOptionElement struct {
	DOMHTMLElement
}

DOMHTMLOptionElement is an idiomatic wrapper over the Objective-C class DOMHTMLOptionElement.

It embeds DOMHTMLElement, promoting that type's methods.

func DOMHTMLOptionElementFromID

func DOMHTMLOptionElementFromID(id objc.ID) *DOMHTMLOptionElement

DOMHTMLOptionElementFromID adopts an existing Objective-C object as a DOMHTMLOptionElement (nil for 0), retaining it and registering a release finalizer.

func NewDOMHTMLOptionElement added in v0.17.0

func NewDOMHTMLOptionElement() *DOMHTMLOptionElement

NewDOMHTMLOptionElement creates a new DOMHTMLOptionElement.

func (*DOMHTMLOptionElement) DefaultSelected

func (doe *DOMHTMLOptionElement) DefaultSelected() bool

DefaultSelected wraps the corresponding Objective-C method.

func (*DOMHTMLOptionElement) Disabled

func (doe *DOMHTMLOptionElement) Disabled() bool

Disabled wraps the corresponding Objective-C method.

func (*DOMHTMLOptionElement) Form

Form returns the form.

func (*DOMHTMLOptionElement) Index

func (doe *DOMHTMLOptionElement) Index() int

Index returns the index.

func (*DOMHTMLOptionElement) Label

func (doe *DOMHTMLOptionElement) Label() string

Label returns the label.

func (*DOMHTMLOptionElement) Selected

func (doe *DOMHTMLOptionElement) Selected() bool

Selected wraps the corresponding Objective-C method.

func (*DOMHTMLOptionElement) Text

func (doe *DOMHTMLOptionElement) Text() string

Text returns the text.

func (*DOMHTMLOptionElement) Value

func (doe *DOMHTMLOptionElement) Value() string

Value returns the value.

func (*DOMHTMLOptionElement) WithAccessKey added in v0.17.0

func (doe *DOMHTMLOptionElement) WithAccessKey(accessKey string) *DOMHTMLOptionElement

WithAccessKey sets the access key.

func (*DOMHTMLOptionElement) WithClassName added in v0.17.0

func (doe *DOMHTMLOptionElement) WithClassName(className string) *DOMHTMLOptionElement

WithClassName sets the class name.

func (*DOMHTMLOptionElement) WithContentEditable added in v0.17.0

func (doe *DOMHTMLOptionElement) WithContentEditable(contentEditable string) *DOMHTMLOptionElement

WithContentEditable sets the content editable.

func (*DOMHTMLOptionElement) WithDefaultSelected added in v0.17.0

func (doe *DOMHTMLOptionElement) WithDefaultSelected(defaultSelected bool) *DOMHTMLOptionElement

WithDefaultSelected sets the default selected.

func (*DOMHTMLOptionElement) WithDir added in v0.17.0

WithDir sets the dir.

func (*DOMHTMLOptionElement) WithDisabled added in v0.17.0

func (doe *DOMHTMLOptionElement) WithDisabled(disabled bool) *DOMHTMLOptionElement

WithDisabled sets the disabled.

func (*DOMHTMLOptionElement) WithIDName added in v0.17.0

func (doe *DOMHTMLOptionElement) WithIDName(idName string) *DOMHTMLOptionElement

WithIDName sets the ID name.

func (*DOMHTMLOptionElement) WithInnerHTML added in v0.17.0

func (doe *DOMHTMLOptionElement) WithInnerHTML(innerHTML string) *DOMHTMLOptionElement

WithInnerHTML sets the inner HTML.

func (*DOMHTMLOptionElement) WithInnerText added in v0.17.0

func (doe *DOMHTMLOptionElement) WithInnerText(innerText string) *DOMHTMLOptionElement

WithInnerText sets the inner text.

func (*DOMHTMLOptionElement) WithLabel added in v0.17.0

func (doe *DOMHTMLOptionElement) WithLabel(label string) *DOMHTMLOptionElement

WithLabel sets the label.

func (*DOMHTMLOptionElement) WithLang added in v0.17.0

func (doe *DOMHTMLOptionElement) WithLang(lang string) *DOMHTMLOptionElement

WithLang sets the lang.

func (*DOMHTMLOptionElement) WithNodeValue added in v0.17.0

func (doe *DOMHTMLOptionElement) WithNodeValue(nodeValue string) *DOMHTMLOptionElement

WithNodeValue sets the node value.

func (*DOMHTMLOptionElement) WithOuterHTML added in v0.17.0

func (doe *DOMHTMLOptionElement) WithOuterHTML(outerHTML string) *DOMHTMLOptionElement

WithOuterHTML sets the outer HTML.

func (*DOMHTMLOptionElement) WithOuterText added in v0.17.0

func (doe *DOMHTMLOptionElement) WithOuterText(outerText string) *DOMHTMLOptionElement

WithOuterText sets the outer text.

func (*DOMHTMLOptionElement) WithPrefix added in v0.17.0

func (doe *DOMHTMLOptionElement) WithPrefix(prefix string) *DOMHTMLOptionElement

WithPrefix sets the prefix.

func (*DOMHTMLOptionElement) WithScrollLeft added in v0.17.0

func (doe *DOMHTMLOptionElement) WithScrollLeft(scrollLeft int) *DOMHTMLOptionElement

WithScrollLeft sets the scroll left.

func (*DOMHTMLOptionElement) WithScrollTop added in v0.17.0

func (doe *DOMHTMLOptionElement) WithScrollTop(scrollTop int) *DOMHTMLOptionElement

WithScrollTop sets the scroll top.

func (*DOMHTMLOptionElement) WithSelected added in v0.17.0

func (doe *DOMHTMLOptionElement) WithSelected(selected bool) *DOMHTMLOptionElement

WithSelected sets the selected.

func (*DOMHTMLOptionElement) WithTabIndex added in v0.17.0

func (doe *DOMHTMLOptionElement) WithTabIndex(tabIndex int) *DOMHTMLOptionElement

WithTabIndex sets the tab index.

func (*DOMHTMLOptionElement) WithTextContent added in v0.17.0

func (doe *DOMHTMLOptionElement) WithTextContent(textContent string) *DOMHTMLOptionElement

WithTextContent sets the text content.

func (*DOMHTMLOptionElement) WithTitle added in v0.17.0

func (doe *DOMHTMLOptionElement) WithTitle(title string) *DOMHTMLOptionElement

WithTitle sets the title.

func (*DOMHTMLOptionElement) WithValue added in v0.17.0

func (doe *DOMHTMLOptionElement) WithValue(value string) *DOMHTMLOptionElement

WithValue sets the value.

type DOMHTMLOptionsCollection

type DOMHTMLOptionsCollection struct {
	DOMObject
}

DOMHTMLOptionsCollection is an idiomatic wrapper over the Objective-C class DOMHTMLOptionsCollection.

It embeds DOMObject, promoting that type's methods.

func DOMHTMLOptionsCollectionFromID

func DOMHTMLOptionsCollectionFromID(id objc.ID) *DOMHTMLOptionsCollection

DOMHTMLOptionsCollectionFromID adopts an existing Objective-C object as a DOMHTMLOptionsCollection (nil for 0), retaining it and registering a release finalizer.

func NewDOMHTMLOptionsCollection added in v0.17.0

func NewDOMHTMLOptionsCollection() *DOMHTMLOptionsCollection

NewDOMHTMLOptionsCollection creates a new DOMHTMLOptionsCollection.

func (*DOMHTMLOptionsCollection) AddIndex

func (doc *DOMHTMLOptionsCollection) AddIndex(option *DOMHTMLOptionElement, index int)

AddIndex adds index.

func (*DOMHTMLOptionsCollection) Item

func (doc *DOMHTMLOptionsCollection) Item(index int) *DOMNode

Item wraps the corresponding Objective-C method.

func (*DOMHTMLOptionsCollection) Length

func (doc *DOMHTMLOptionsCollection) Length() int

Length returns the length.

func (*DOMHTMLOptionsCollection) NamedItem

func (doc *DOMHTMLOptionsCollection) NamedItem(name string) *DOMNode

NamedItem wraps the corresponding Objective-C method.

func (*DOMHTMLOptionsCollection) Remove

func (doc *DOMHTMLOptionsCollection) Remove(index int)

Remove wraps the corresponding Objective-C method.

func (*DOMHTMLOptionsCollection) SelectedIndex

func (doc *DOMHTMLOptionsCollection) SelectedIndex() int

SelectedIndex returns the selected index.

func (*DOMHTMLOptionsCollection) WithLength added in v0.17.0

func (doc *DOMHTMLOptionsCollection) WithLength(length int) *DOMHTMLOptionsCollection

WithLength sets the length.

func (*DOMHTMLOptionsCollection) WithSelectedIndex added in v0.17.0

func (doc *DOMHTMLOptionsCollection) WithSelectedIndex(selectedIndex int) *DOMHTMLOptionsCollection

WithSelectedIndex sets the selected index.

type DOMHTMLParagraphElement

type DOMHTMLParagraphElement struct {
	DOMHTMLElement
}

DOMHTMLParagraphElement is an idiomatic wrapper over the Objective-C class DOMHTMLParagraphElement.

It embeds DOMHTMLElement, promoting that type's methods.

func DOMHTMLParagraphElementFromID

func DOMHTMLParagraphElementFromID(id objc.ID) *DOMHTMLParagraphElement

DOMHTMLParagraphElementFromID adopts an existing Objective-C object as a DOMHTMLParagraphElement (nil for 0), retaining it and registering a release finalizer.

func NewDOMHTMLParagraphElement added in v0.17.0

func NewDOMHTMLParagraphElement() *DOMHTMLParagraphElement

NewDOMHTMLParagraphElement creates a new DOMHTMLParagraphElement.

func (*DOMHTMLParagraphElement) Align

func (dpe *DOMHTMLParagraphElement) Align() string

Align returns the align.

func (*DOMHTMLParagraphElement) WithAccessKey added in v0.17.0

func (dpe *DOMHTMLParagraphElement) WithAccessKey(accessKey string) *DOMHTMLParagraphElement

WithAccessKey sets the access key.

func (*DOMHTMLParagraphElement) WithAlign added in v0.17.0

WithAlign sets the align.

func (*DOMHTMLParagraphElement) WithClassName added in v0.17.0

func (dpe *DOMHTMLParagraphElement) WithClassName(className string) *DOMHTMLParagraphElement

WithClassName sets the class name.

func (*DOMHTMLParagraphElement) WithContentEditable added in v0.17.0

func (dpe *DOMHTMLParagraphElement) WithContentEditable(contentEditable string) *DOMHTMLParagraphElement

WithContentEditable sets the content editable.

func (*DOMHTMLParagraphElement) WithDir added in v0.17.0

WithDir sets the dir.

func (*DOMHTMLParagraphElement) WithIDName added in v0.17.0

func (dpe *DOMHTMLParagraphElement) WithIDName(idName string) *DOMHTMLParagraphElement

WithIDName sets the ID name.

func (*DOMHTMLParagraphElement) WithInnerHTML added in v0.17.0

func (dpe *DOMHTMLParagraphElement) WithInnerHTML(innerHTML string) *DOMHTMLParagraphElement

WithInnerHTML sets the inner HTML.

func (*DOMHTMLParagraphElement) WithInnerText added in v0.17.0

func (dpe *DOMHTMLParagraphElement) WithInnerText(innerText string) *DOMHTMLParagraphElement

WithInnerText sets the inner text.

func (*DOMHTMLParagraphElement) WithLang added in v0.17.0

WithLang sets the lang.

func (*DOMHTMLParagraphElement) WithNodeValue added in v0.17.0

func (dpe *DOMHTMLParagraphElement) WithNodeValue(nodeValue string) *DOMHTMLParagraphElement

WithNodeValue sets the node value.

func (*DOMHTMLParagraphElement) WithOuterHTML added in v0.17.0

func (dpe *DOMHTMLParagraphElement) WithOuterHTML(outerHTML string) *DOMHTMLParagraphElement

WithOuterHTML sets the outer HTML.

func (*DOMHTMLParagraphElement) WithOuterText added in v0.17.0

func (dpe *DOMHTMLParagraphElement) WithOuterText(outerText string) *DOMHTMLParagraphElement

WithOuterText sets the outer text.

func (*DOMHTMLParagraphElement) WithPrefix added in v0.17.0

func (dpe *DOMHTMLParagraphElement) WithPrefix(prefix string) *DOMHTMLParagraphElement

WithPrefix sets the prefix.

func (*DOMHTMLParagraphElement) WithScrollLeft added in v0.17.0

func (dpe *DOMHTMLParagraphElement) WithScrollLeft(scrollLeft int) *DOMHTMLParagraphElement

WithScrollLeft sets the scroll left.

func (*DOMHTMLParagraphElement) WithScrollTop added in v0.17.0

func (dpe *DOMHTMLParagraphElement) WithScrollTop(scrollTop int) *DOMHTMLParagraphElement

WithScrollTop sets the scroll top.

func (*DOMHTMLParagraphElement) WithTabIndex added in v0.17.0

func (dpe *DOMHTMLParagraphElement) WithTabIndex(tabIndex int) *DOMHTMLParagraphElement

WithTabIndex sets the tab index.

func (*DOMHTMLParagraphElement) WithTextContent added in v0.17.0

func (dpe *DOMHTMLParagraphElement) WithTextContent(textContent string) *DOMHTMLParagraphElement

WithTextContent sets the text content.

func (*DOMHTMLParagraphElement) WithTitle added in v0.17.0

WithTitle sets the title.

type DOMHTMLParamElement

type DOMHTMLParamElement struct {
	DOMHTMLElement
}

DOMHTMLParamElement is an idiomatic wrapper over the Objective-C class DOMHTMLParamElement.

It embeds DOMHTMLElement, promoting that type's methods.

func DOMHTMLParamElementFromID

func DOMHTMLParamElementFromID(id objc.ID) *DOMHTMLParamElement

DOMHTMLParamElementFromID adopts an existing Objective-C object as a DOMHTMLParamElement (nil for 0), retaining it and registering a release finalizer.

func NewDOMHTMLParamElement added in v0.17.0

func NewDOMHTMLParamElement() *DOMHTMLParamElement

NewDOMHTMLParamElement creates a new DOMHTMLParamElement.

func (*DOMHTMLParamElement) Name

func (dpe *DOMHTMLParamElement) Name() string

Name returns the name.

func (*DOMHTMLParamElement) Type

func (dpe *DOMHTMLParamElement) Type() string

Type returns the type.

func (*DOMHTMLParamElement) Value

func (dpe *DOMHTMLParamElement) Value() string

Value returns the value.

func (*DOMHTMLParamElement) ValueType

func (dpe *DOMHTMLParamElement) ValueType() string

ValueType returns the value type.

func (*DOMHTMLParamElement) WithAccessKey added in v0.17.0

func (dpe *DOMHTMLParamElement) WithAccessKey(accessKey string) *DOMHTMLParamElement

WithAccessKey sets the access key.

func (*DOMHTMLParamElement) WithClassName added in v0.17.0

func (dpe *DOMHTMLParamElement) WithClassName(className string) *DOMHTMLParamElement

WithClassName sets the class name.

func (*DOMHTMLParamElement) WithContentEditable added in v0.17.0

func (dpe *DOMHTMLParamElement) WithContentEditable(contentEditable string) *DOMHTMLParamElement

WithContentEditable sets the content editable.

func (*DOMHTMLParamElement) WithDir added in v0.17.0

func (dpe *DOMHTMLParamElement) WithDir(dir string) *DOMHTMLParamElement

WithDir sets the dir.

func (*DOMHTMLParamElement) WithIDName added in v0.17.0

func (dpe *DOMHTMLParamElement) WithIDName(idName string) *DOMHTMLParamElement

WithIDName sets the ID name.

func (*DOMHTMLParamElement) WithInnerHTML added in v0.17.0

func (dpe *DOMHTMLParamElement) WithInnerHTML(innerHTML string) *DOMHTMLParamElement

WithInnerHTML sets the inner HTML.

func (*DOMHTMLParamElement) WithInnerText added in v0.17.0

func (dpe *DOMHTMLParamElement) WithInnerText(innerText string) *DOMHTMLParamElement

WithInnerText sets the inner text.

func (*DOMHTMLParamElement) WithLang added in v0.17.0

func (dpe *DOMHTMLParamElement) WithLang(lang string) *DOMHTMLParamElement

WithLang sets the lang.

func (*DOMHTMLParamElement) WithName added in v0.17.0

func (dpe *DOMHTMLParamElement) WithName(name string) *DOMHTMLParamElement

WithName sets the name.

func (*DOMHTMLParamElement) WithNodeValue added in v0.17.0

func (dpe *DOMHTMLParamElement) WithNodeValue(nodeValue string) *DOMHTMLParamElement

WithNodeValue sets the node value.

func (*DOMHTMLParamElement) WithOuterHTML added in v0.17.0

func (dpe *DOMHTMLParamElement) WithOuterHTML(outerHTML string) *DOMHTMLParamElement

WithOuterHTML sets the outer HTML.

func (*DOMHTMLParamElement) WithOuterText added in v0.17.0

func (dpe *DOMHTMLParamElement) WithOuterText(outerText string) *DOMHTMLParamElement

WithOuterText sets the outer text.

func (*DOMHTMLParamElement) WithPrefix added in v0.17.0

func (dpe *DOMHTMLParamElement) WithPrefix(prefix string) *DOMHTMLParamElement

WithPrefix sets the prefix.

func (*DOMHTMLParamElement) WithScrollLeft added in v0.17.0

func (dpe *DOMHTMLParamElement) WithScrollLeft(scrollLeft int) *DOMHTMLParamElement

WithScrollLeft sets the scroll left.

func (*DOMHTMLParamElement) WithScrollTop added in v0.17.0

func (dpe *DOMHTMLParamElement) WithScrollTop(scrollTop int) *DOMHTMLParamElement

WithScrollTop sets the scroll top.

func (*DOMHTMLParamElement) WithTabIndex added in v0.17.0

func (dpe *DOMHTMLParamElement) WithTabIndex(tabIndex int) *DOMHTMLParamElement

WithTabIndex sets the tab index.

func (*DOMHTMLParamElement) WithTextContent added in v0.17.0

func (dpe *DOMHTMLParamElement) WithTextContent(textContent string) *DOMHTMLParamElement

WithTextContent sets the text content.

func (*DOMHTMLParamElement) WithTitle added in v0.17.0

func (dpe *DOMHTMLParamElement) WithTitle(title string) *DOMHTMLParamElement

WithTitle sets the title.

func (*DOMHTMLParamElement) WithType added in v0.17.0

func (dpe *DOMHTMLParamElement) WithType(type_ string) *DOMHTMLParamElement

WithType sets the type.

func (*DOMHTMLParamElement) WithValue added in v0.17.0

func (dpe *DOMHTMLParamElement) WithValue(value string) *DOMHTMLParamElement

WithValue sets the value.

func (*DOMHTMLParamElement) WithValueType added in v0.17.0

func (dpe *DOMHTMLParamElement) WithValueType(valueType string) *DOMHTMLParamElement

WithValueType sets the value type.

type DOMHTMLPreElement

type DOMHTMLPreElement struct {
	DOMHTMLElement
}

DOMHTMLPreElement is an idiomatic wrapper over the Objective-C class DOMHTMLPreElement.

It embeds DOMHTMLElement, promoting that type's methods.

func DOMHTMLPreElementFromID

func DOMHTMLPreElementFromID(id objc.ID) *DOMHTMLPreElement

DOMHTMLPreElementFromID adopts an existing Objective-C object as a DOMHTMLPreElement (nil for 0), retaining it and registering a release finalizer.

func NewDOMHTMLPreElement added in v0.17.0

func NewDOMHTMLPreElement() *DOMHTMLPreElement

NewDOMHTMLPreElement creates a new DOMHTMLPreElement.

func (*DOMHTMLPreElement) Width

func (dpe *DOMHTMLPreElement) Width() int

Width returns the width.

func (*DOMHTMLPreElement) WithAccessKey added in v0.17.0

func (dpe *DOMHTMLPreElement) WithAccessKey(accessKey string) *DOMHTMLPreElement

WithAccessKey sets the access key.

func (*DOMHTMLPreElement) WithClassName added in v0.17.0

func (dpe *DOMHTMLPreElement) WithClassName(className string) *DOMHTMLPreElement

WithClassName sets the class name.

func (*DOMHTMLPreElement) WithContentEditable added in v0.17.0

func (dpe *DOMHTMLPreElement) WithContentEditable(contentEditable string) *DOMHTMLPreElement

WithContentEditable sets the content editable.

func (*DOMHTMLPreElement) WithDir added in v0.17.0

func (dpe *DOMHTMLPreElement) WithDir(dir string) *DOMHTMLPreElement

WithDir sets the dir.

func (*DOMHTMLPreElement) WithIDName added in v0.17.0

func (dpe *DOMHTMLPreElement) WithIDName(idName string) *DOMHTMLPreElement

WithIDName sets the ID name.

func (*DOMHTMLPreElement) WithInnerHTML added in v0.17.0

func (dpe *DOMHTMLPreElement) WithInnerHTML(innerHTML string) *DOMHTMLPreElement

WithInnerHTML sets the inner HTML.

func (*DOMHTMLPreElement) WithInnerText added in v0.17.0

func (dpe *DOMHTMLPreElement) WithInnerText(innerText string) *DOMHTMLPreElement

WithInnerText sets the inner text.

func (*DOMHTMLPreElement) WithLang added in v0.17.0

func (dpe *DOMHTMLPreElement) WithLang(lang string) *DOMHTMLPreElement

WithLang sets the lang.

func (*DOMHTMLPreElement) WithNodeValue added in v0.17.0

func (dpe *DOMHTMLPreElement) WithNodeValue(nodeValue string) *DOMHTMLPreElement

WithNodeValue sets the node value.

func (*DOMHTMLPreElement) WithOuterHTML added in v0.17.0

func (dpe *DOMHTMLPreElement) WithOuterHTML(outerHTML string) *DOMHTMLPreElement

WithOuterHTML sets the outer HTML.

func (*DOMHTMLPreElement) WithOuterText added in v0.17.0

func (dpe *DOMHTMLPreElement) WithOuterText(outerText string) *DOMHTMLPreElement

WithOuterText sets the outer text.

func (*DOMHTMLPreElement) WithPrefix added in v0.17.0

func (dpe *DOMHTMLPreElement) WithPrefix(prefix string) *DOMHTMLPreElement

WithPrefix sets the prefix.

func (*DOMHTMLPreElement) WithScrollLeft added in v0.17.0

func (dpe *DOMHTMLPreElement) WithScrollLeft(scrollLeft int) *DOMHTMLPreElement

WithScrollLeft sets the scroll left.

func (*DOMHTMLPreElement) WithScrollTop added in v0.17.0

func (dpe *DOMHTMLPreElement) WithScrollTop(scrollTop int) *DOMHTMLPreElement

WithScrollTop sets the scroll top.

func (*DOMHTMLPreElement) WithTabIndex added in v0.17.0

func (dpe *DOMHTMLPreElement) WithTabIndex(tabIndex int) *DOMHTMLPreElement

WithTabIndex sets the tab index.

func (*DOMHTMLPreElement) WithTextContent added in v0.17.0

func (dpe *DOMHTMLPreElement) WithTextContent(textContent string) *DOMHTMLPreElement

WithTextContent sets the text content.

func (*DOMHTMLPreElement) WithTitle added in v0.17.0

func (dpe *DOMHTMLPreElement) WithTitle(title string) *DOMHTMLPreElement

WithTitle sets the title.

func (*DOMHTMLPreElement) WithWidth added in v0.17.0

func (dpe *DOMHTMLPreElement) WithWidth(width int) *DOMHTMLPreElement

WithWidth sets the width.

func (*DOMHTMLPreElement) WithWrap added in v0.17.0

func (dpe *DOMHTMLPreElement) WithWrap(wrap bool) *DOMHTMLPreElement

WithWrap sets the wrap.

func (*DOMHTMLPreElement) Wrap

func (dpe *DOMHTMLPreElement) Wrap() bool

Wrap wraps the corresponding Objective-C method.

type DOMHTMLQuoteElement

type DOMHTMLQuoteElement struct {
	DOMHTMLElement
}

DOMHTMLQuoteElement is an idiomatic wrapper over the Objective-C class DOMHTMLQuoteElement.

It embeds DOMHTMLElement, promoting that type's methods.

func DOMHTMLQuoteElementFromID

func DOMHTMLQuoteElementFromID(id objc.ID) *DOMHTMLQuoteElement

DOMHTMLQuoteElementFromID adopts an existing Objective-C object as a DOMHTMLQuoteElement (nil for 0), retaining it and registering a release finalizer.

func NewDOMHTMLQuoteElement added in v0.17.0

func NewDOMHTMLQuoteElement() *DOMHTMLQuoteElement

NewDOMHTMLQuoteElement creates a new DOMHTMLQuoteElement.

func (*DOMHTMLQuoteElement) Cite

func (dqe *DOMHTMLQuoteElement) Cite() string

Cite returns the cite.

func (*DOMHTMLQuoteElement) WithAccessKey added in v0.17.0

func (dqe *DOMHTMLQuoteElement) WithAccessKey(accessKey string) *DOMHTMLQuoteElement

WithAccessKey sets the access key.

func (*DOMHTMLQuoteElement) WithCite added in v0.17.0

func (dqe *DOMHTMLQuoteElement) WithCite(cite string) *DOMHTMLQuoteElement

WithCite sets the cite.

func (*DOMHTMLQuoteElement) WithClassName added in v0.17.0

func (dqe *DOMHTMLQuoteElement) WithClassName(className string) *DOMHTMLQuoteElement

WithClassName sets the class name.

func (*DOMHTMLQuoteElement) WithContentEditable added in v0.17.0

func (dqe *DOMHTMLQuoteElement) WithContentEditable(contentEditable string) *DOMHTMLQuoteElement

WithContentEditable sets the content editable.

func (*DOMHTMLQuoteElement) WithDir added in v0.17.0

func (dqe *DOMHTMLQuoteElement) WithDir(dir string) *DOMHTMLQuoteElement

WithDir sets the dir.

func (*DOMHTMLQuoteElement) WithIDName added in v0.17.0

func (dqe *DOMHTMLQuoteElement) WithIDName(idName string) *DOMHTMLQuoteElement

WithIDName sets the ID name.

func (*DOMHTMLQuoteElement) WithInnerHTML added in v0.17.0

func (dqe *DOMHTMLQuoteElement) WithInnerHTML(innerHTML string) *DOMHTMLQuoteElement

WithInnerHTML sets the inner HTML.

func (*DOMHTMLQuoteElement) WithInnerText added in v0.17.0

func (dqe *DOMHTMLQuoteElement) WithInnerText(innerText string) *DOMHTMLQuoteElement

WithInnerText sets the inner text.

func (*DOMHTMLQuoteElement) WithLang added in v0.17.0

func (dqe *DOMHTMLQuoteElement) WithLang(lang string) *DOMHTMLQuoteElement

WithLang sets the lang.

func (*DOMHTMLQuoteElement) WithNodeValue added in v0.17.0

func (dqe *DOMHTMLQuoteElement) WithNodeValue(nodeValue string) *DOMHTMLQuoteElement

WithNodeValue sets the node value.

func (*DOMHTMLQuoteElement) WithOuterHTML added in v0.17.0

func (dqe *DOMHTMLQuoteElement) WithOuterHTML(outerHTML string) *DOMHTMLQuoteElement

WithOuterHTML sets the outer HTML.

func (*DOMHTMLQuoteElement) WithOuterText added in v0.17.0

func (dqe *DOMHTMLQuoteElement) WithOuterText(outerText string) *DOMHTMLQuoteElement

WithOuterText sets the outer text.

func (*DOMHTMLQuoteElement) WithPrefix added in v0.17.0

func (dqe *DOMHTMLQuoteElement) WithPrefix(prefix string) *DOMHTMLQuoteElement

WithPrefix sets the prefix.

func (*DOMHTMLQuoteElement) WithScrollLeft added in v0.17.0

func (dqe *DOMHTMLQuoteElement) WithScrollLeft(scrollLeft int) *DOMHTMLQuoteElement

WithScrollLeft sets the scroll left.

func (*DOMHTMLQuoteElement) WithScrollTop added in v0.17.0

func (dqe *DOMHTMLQuoteElement) WithScrollTop(scrollTop int) *DOMHTMLQuoteElement

WithScrollTop sets the scroll top.

func (*DOMHTMLQuoteElement) WithTabIndex added in v0.17.0

func (dqe *DOMHTMLQuoteElement) WithTabIndex(tabIndex int) *DOMHTMLQuoteElement

WithTabIndex sets the tab index.

func (*DOMHTMLQuoteElement) WithTextContent added in v0.17.0

func (dqe *DOMHTMLQuoteElement) WithTextContent(textContent string) *DOMHTMLQuoteElement

WithTextContent sets the text content.

func (*DOMHTMLQuoteElement) WithTitle added in v0.17.0

func (dqe *DOMHTMLQuoteElement) WithTitle(title string) *DOMHTMLQuoteElement

WithTitle sets the title.

type DOMHTMLScriptElement

type DOMHTMLScriptElement struct {
	DOMHTMLElement
}

DOMHTMLScriptElement is an idiomatic wrapper over the Objective-C class DOMHTMLScriptElement.

It embeds DOMHTMLElement, promoting that type's methods.

func DOMHTMLScriptElementFromID

func DOMHTMLScriptElementFromID(id objc.ID) *DOMHTMLScriptElement

DOMHTMLScriptElementFromID adopts an existing Objective-C object as a DOMHTMLScriptElement (nil for 0), retaining it and registering a release finalizer.

func NewDOMHTMLScriptElement added in v0.17.0

func NewDOMHTMLScriptElement() *DOMHTMLScriptElement

NewDOMHTMLScriptElement creates a new DOMHTMLScriptElement.

func (*DOMHTMLScriptElement) Charset

func (dse *DOMHTMLScriptElement) Charset() string

Charset returns the charset.

func (*DOMHTMLScriptElement) Defer

func (dse *DOMHTMLScriptElement) Defer() bool

Defer wraps the corresponding Objective-C method.

func (*DOMHTMLScriptElement) Event

func (dse *DOMHTMLScriptElement) Event() string

Event returns the event.

func (*DOMHTMLScriptElement) HTMLFor added in v0.17.0

func (dse *DOMHTMLScriptElement) HTMLFor() string

HTMLFor returns the HTML for.

func (*DOMHTMLScriptElement) Src

func (dse *DOMHTMLScriptElement) Src() string

Src returns the src.

func (*DOMHTMLScriptElement) Text

func (dse *DOMHTMLScriptElement) Text() string

Text returns the text.

func (*DOMHTMLScriptElement) Type

func (dse *DOMHTMLScriptElement) Type() string

Type returns the type.

func (*DOMHTMLScriptElement) WithAccessKey added in v0.17.0

func (dse *DOMHTMLScriptElement) WithAccessKey(accessKey string) *DOMHTMLScriptElement

WithAccessKey sets the access key.

func (*DOMHTMLScriptElement) WithCharset added in v0.17.0

func (dse *DOMHTMLScriptElement) WithCharset(charset string) *DOMHTMLScriptElement

WithCharset sets the charset.

func (*DOMHTMLScriptElement) WithClassName added in v0.17.0

func (dse *DOMHTMLScriptElement) WithClassName(className string) *DOMHTMLScriptElement

WithClassName sets the class name.

func (*DOMHTMLScriptElement) WithContentEditable added in v0.17.0

func (dse *DOMHTMLScriptElement) WithContentEditable(contentEditable string) *DOMHTMLScriptElement

WithContentEditable sets the content editable.

func (*DOMHTMLScriptElement) WithDefer added in v0.17.0

func (dse *DOMHTMLScriptElement) WithDefer(defer_ bool) *DOMHTMLScriptElement

WithDefer sets the defer.

func (*DOMHTMLScriptElement) WithDir added in v0.17.0

WithDir sets the dir.

func (*DOMHTMLScriptElement) WithEvent added in v0.17.0

func (dse *DOMHTMLScriptElement) WithEvent(event string) *DOMHTMLScriptElement

WithEvent sets the event.

func (*DOMHTMLScriptElement) WithHTMLFor added in v0.17.0

func (dse *DOMHTMLScriptElement) WithHTMLFor(htmlFor string) *DOMHTMLScriptElement

WithHTMLFor sets the HTML for.

func (*DOMHTMLScriptElement) WithIDName added in v0.17.0

func (dse *DOMHTMLScriptElement) WithIDName(idName string) *DOMHTMLScriptElement

WithIDName sets the ID name.

func (*DOMHTMLScriptElement) WithInnerHTML added in v0.17.0

func (dse *DOMHTMLScriptElement) WithInnerHTML(innerHTML string) *DOMHTMLScriptElement

WithInnerHTML sets the inner HTML.

func (*DOMHTMLScriptElement) WithInnerText added in v0.17.0

func (dse *DOMHTMLScriptElement) WithInnerText(innerText string) *DOMHTMLScriptElement

WithInnerText sets the inner text.

func (*DOMHTMLScriptElement) WithLang added in v0.17.0

func (dse *DOMHTMLScriptElement) WithLang(lang string) *DOMHTMLScriptElement

WithLang sets the lang.

func (*DOMHTMLScriptElement) WithNodeValue added in v0.17.0

func (dse *DOMHTMLScriptElement) WithNodeValue(nodeValue string) *DOMHTMLScriptElement

WithNodeValue sets the node value.

func (*DOMHTMLScriptElement) WithOuterHTML added in v0.17.0

func (dse *DOMHTMLScriptElement) WithOuterHTML(outerHTML string) *DOMHTMLScriptElement

WithOuterHTML sets the outer HTML.

func (*DOMHTMLScriptElement) WithOuterText added in v0.17.0

func (dse *DOMHTMLScriptElement) WithOuterText(outerText string) *DOMHTMLScriptElement

WithOuterText sets the outer text.

func (*DOMHTMLScriptElement) WithPrefix added in v0.17.0

func (dse *DOMHTMLScriptElement) WithPrefix(prefix string) *DOMHTMLScriptElement

WithPrefix sets the prefix.

func (*DOMHTMLScriptElement) WithScrollLeft added in v0.17.0

func (dse *DOMHTMLScriptElement) WithScrollLeft(scrollLeft int) *DOMHTMLScriptElement

WithScrollLeft sets the scroll left.

func (*DOMHTMLScriptElement) WithScrollTop added in v0.17.0

func (dse *DOMHTMLScriptElement) WithScrollTop(scrollTop int) *DOMHTMLScriptElement

WithScrollTop sets the scroll top.

func (*DOMHTMLScriptElement) WithSrc added in v0.17.0

WithSrc sets the src.

func (*DOMHTMLScriptElement) WithTabIndex added in v0.17.0

func (dse *DOMHTMLScriptElement) WithTabIndex(tabIndex int) *DOMHTMLScriptElement

WithTabIndex sets the tab index.

func (*DOMHTMLScriptElement) WithText added in v0.17.0

func (dse *DOMHTMLScriptElement) WithText(text string) *DOMHTMLScriptElement

WithText sets the text.

func (*DOMHTMLScriptElement) WithTextContent added in v0.17.0

func (dse *DOMHTMLScriptElement) WithTextContent(textContent string) *DOMHTMLScriptElement

WithTextContent sets the text content.

func (*DOMHTMLScriptElement) WithTitle added in v0.17.0

func (dse *DOMHTMLScriptElement) WithTitle(title string) *DOMHTMLScriptElement

WithTitle sets the title.

func (*DOMHTMLScriptElement) WithType added in v0.17.0

func (dse *DOMHTMLScriptElement) WithType(type_ string) *DOMHTMLScriptElement

WithType sets the type.

type DOMHTMLSelectElement

type DOMHTMLSelectElement struct {
	DOMHTMLElement
}

DOMHTMLSelectElement is an idiomatic wrapper over the Objective-C class DOMHTMLSelectElement.

It embeds DOMHTMLElement, promoting that type's methods.

func DOMHTMLSelectElementFromID

func DOMHTMLSelectElementFromID(id objc.ID) *DOMHTMLSelectElement

DOMHTMLSelectElementFromID adopts an existing Objective-C object as a DOMHTMLSelectElement (nil for 0), retaining it and registering a release finalizer.

func NewDOMHTMLSelectElement added in v0.17.0

func NewDOMHTMLSelectElement() *DOMHTMLSelectElement

NewDOMHTMLSelectElement creates a new DOMHTMLSelectElement.

func (*DOMHTMLSelectElement) Add

func (dse *DOMHTMLSelectElement) Add(element *DOMHTMLElement, before *DOMHTMLElement)

Add wraps the corresponding Objective-C method.

func (*DOMHTMLSelectElement) AddBefore

func (dse *DOMHTMLSelectElement) AddBefore(element *DOMHTMLElement, before *DOMHTMLElement)

AddBefore adds before.

func (*DOMHTMLSelectElement) Autofocus

func (dse *DOMHTMLSelectElement) Autofocus() bool

Autofocus wraps the corresponding Objective-C method.

func (*DOMHTMLSelectElement) Disabled

func (dse *DOMHTMLSelectElement) Disabled() bool

Disabled wraps the corresponding Objective-C method.

func (*DOMHTMLSelectElement) Form

Form returns the form.

func (*DOMHTMLSelectElement) Item

func (dse *DOMHTMLSelectElement) Item(index int) *DOMNode

Item wraps the corresponding Objective-C method.

func (*DOMHTMLSelectElement) Length

func (dse *DOMHTMLSelectElement) Length() int

Length returns the length.

func (*DOMHTMLSelectElement) Multiple

func (dse *DOMHTMLSelectElement) Multiple() bool

Multiple wraps the corresponding Objective-C method.

func (*DOMHTMLSelectElement) Name

func (dse *DOMHTMLSelectElement) Name() string

Name returns the name.

func (*DOMHTMLSelectElement) NamedItem

func (dse *DOMHTMLSelectElement) NamedItem(name string) *DOMNode

NamedItem wraps the corresponding Objective-C method.

func (*DOMHTMLSelectElement) Options

Options returns the options.

func (*DOMHTMLSelectElement) Remove

func (dse *DOMHTMLSelectElement) Remove(index int)

Remove wraps the corresponding Objective-C method.

func (*DOMHTMLSelectElement) SelectedIndex

func (dse *DOMHTMLSelectElement) SelectedIndex() int

SelectedIndex returns the selected index.

func (*DOMHTMLSelectElement) Size

func (dse *DOMHTMLSelectElement) Size() int

Size returns the size.

func (*DOMHTMLSelectElement) Type

func (dse *DOMHTMLSelectElement) Type() string

Type returns the type.

func (*DOMHTMLSelectElement) Value

func (dse *DOMHTMLSelectElement) Value() string

Value returns the value.

func (*DOMHTMLSelectElement) WillValidate

func (dse *DOMHTMLSelectElement) WillValidate() bool

WillValidate wraps the corresponding Objective-C method.

func (*DOMHTMLSelectElement) WithAccessKey added in v0.17.0

func (dse *DOMHTMLSelectElement) WithAccessKey(accessKey string) *DOMHTMLSelectElement

WithAccessKey sets the access key.

func (*DOMHTMLSelectElement) WithAutofocus added in v0.17.0

func (dse *DOMHTMLSelectElement) WithAutofocus(autofocus bool) *DOMHTMLSelectElement

WithAutofocus sets the autofocus.

func (*DOMHTMLSelectElement) WithClassName added in v0.17.0

func (dse *DOMHTMLSelectElement) WithClassName(className string) *DOMHTMLSelectElement

WithClassName sets the class name.

func (*DOMHTMLSelectElement) WithContentEditable added in v0.17.0

func (dse *DOMHTMLSelectElement) WithContentEditable(contentEditable string) *DOMHTMLSelectElement

WithContentEditable sets the content editable.

func (*DOMHTMLSelectElement) WithDir added in v0.17.0

WithDir sets the dir.

func (*DOMHTMLSelectElement) WithDisabled added in v0.17.0

func (dse *DOMHTMLSelectElement) WithDisabled(disabled bool) *DOMHTMLSelectElement

WithDisabled sets the disabled.

func (*DOMHTMLSelectElement) WithIDName added in v0.17.0

func (dse *DOMHTMLSelectElement) WithIDName(idName string) *DOMHTMLSelectElement

WithIDName sets the ID name.

func (*DOMHTMLSelectElement) WithInnerHTML added in v0.17.0

func (dse *DOMHTMLSelectElement) WithInnerHTML(innerHTML string) *DOMHTMLSelectElement

WithInnerHTML sets the inner HTML.

func (*DOMHTMLSelectElement) WithInnerText added in v0.17.0

func (dse *DOMHTMLSelectElement) WithInnerText(innerText string) *DOMHTMLSelectElement

WithInnerText sets the inner text.

func (*DOMHTMLSelectElement) WithLang added in v0.17.0

func (dse *DOMHTMLSelectElement) WithLang(lang string) *DOMHTMLSelectElement

WithLang sets the lang.

func (*DOMHTMLSelectElement) WithMultiple added in v0.17.0

func (dse *DOMHTMLSelectElement) WithMultiple(multiple bool) *DOMHTMLSelectElement

WithMultiple sets the multiple.

func (*DOMHTMLSelectElement) WithName added in v0.17.0

func (dse *DOMHTMLSelectElement) WithName(name string) *DOMHTMLSelectElement

WithName sets the name.

func (*DOMHTMLSelectElement) WithNodeValue added in v0.17.0

func (dse *DOMHTMLSelectElement) WithNodeValue(nodeValue string) *DOMHTMLSelectElement

WithNodeValue sets the node value.

func (*DOMHTMLSelectElement) WithOuterHTML added in v0.17.0

func (dse *DOMHTMLSelectElement) WithOuterHTML(outerHTML string) *DOMHTMLSelectElement

WithOuterHTML sets the outer HTML.

func (*DOMHTMLSelectElement) WithOuterText added in v0.17.0

func (dse *DOMHTMLSelectElement) WithOuterText(outerText string) *DOMHTMLSelectElement

WithOuterText sets the outer text.

func (*DOMHTMLSelectElement) WithPrefix added in v0.17.0

func (dse *DOMHTMLSelectElement) WithPrefix(prefix string) *DOMHTMLSelectElement

WithPrefix sets the prefix.

func (*DOMHTMLSelectElement) WithScrollLeft added in v0.17.0

func (dse *DOMHTMLSelectElement) WithScrollLeft(scrollLeft int) *DOMHTMLSelectElement

WithScrollLeft sets the scroll left.

func (*DOMHTMLSelectElement) WithScrollTop added in v0.17.0

func (dse *DOMHTMLSelectElement) WithScrollTop(scrollTop int) *DOMHTMLSelectElement

WithScrollTop sets the scroll top.

func (*DOMHTMLSelectElement) WithSelectedIndex added in v0.17.0

func (dse *DOMHTMLSelectElement) WithSelectedIndex(selectedIndex int) *DOMHTMLSelectElement

WithSelectedIndex sets the selected index.

func (*DOMHTMLSelectElement) WithSize added in v0.17.0

func (dse *DOMHTMLSelectElement) WithSize(size int) *DOMHTMLSelectElement

WithSize sets the size.

func (*DOMHTMLSelectElement) WithTabIndex added in v0.17.0

func (dse *DOMHTMLSelectElement) WithTabIndex(tabIndex int) *DOMHTMLSelectElement

WithTabIndex sets the tab index.

func (*DOMHTMLSelectElement) WithTextContent added in v0.17.0

func (dse *DOMHTMLSelectElement) WithTextContent(textContent string) *DOMHTMLSelectElement

WithTextContent sets the text content.

func (*DOMHTMLSelectElement) WithTitle added in v0.17.0

func (dse *DOMHTMLSelectElement) WithTitle(title string) *DOMHTMLSelectElement

WithTitle sets the title.

func (*DOMHTMLSelectElement) WithValue added in v0.17.0

func (dse *DOMHTMLSelectElement) WithValue(value string) *DOMHTMLSelectElement

WithValue sets the value.

type DOMHTMLStyleElement

type DOMHTMLStyleElement struct {
	DOMHTMLElement
}

DOMHTMLStyleElement is an idiomatic wrapper over the Objective-C class DOMHTMLStyleElement.

It embeds DOMHTMLElement, promoting that type's methods.

func DOMHTMLStyleElementFromID

func DOMHTMLStyleElementFromID(id objc.ID) *DOMHTMLStyleElement

DOMHTMLStyleElementFromID adopts an existing Objective-C object as a DOMHTMLStyleElement (nil for 0), retaining it and registering a release finalizer.

func NewDOMHTMLStyleElement added in v0.17.0

func NewDOMHTMLStyleElement() *DOMHTMLStyleElement

NewDOMHTMLStyleElement creates a new DOMHTMLStyleElement.

func (*DOMHTMLStyleElement) Disabled

func (dse *DOMHTMLStyleElement) Disabled() bool

Disabled wraps the corresponding Objective-C method.

func (*DOMHTMLStyleElement) Media

func (dse *DOMHTMLStyleElement) Media() string

Media returns the media.

func (*DOMHTMLStyleElement) Type

func (dse *DOMHTMLStyleElement) Type() string

Type returns the type.

func (*DOMHTMLStyleElement) WithAccessKey added in v0.17.0

func (dse *DOMHTMLStyleElement) WithAccessKey(accessKey string) *DOMHTMLStyleElement

WithAccessKey sets the access key.

func (*DOMHTMLStyleElement) WithClassName added in v0.17.0

func (dse *DOMHTMLStyleElement) WithClassName(className string) *DOMHTMLStyleElement

WithClassName sets the class name.

func (*DOMHTMLStyleElement) WithContentEditable added in v0.17.0

func (dse *DOMHTMLStyleElement) WithContentEditable(contentEditable string) *DOMHTMLStyleElement

WithContentEditable sets the content editable.

func (*DOMHTMLStyleElement) WithDir added in v0.17.0

func (dse *DOMHTMLStyleElement) WithDir(dir string) *DOMHTMLStyleElement

WithDir sets the dir.

func (*DOMHTMLStyleElement) WithDisabled added in v0.17.0

func (dse *DOMHTMLStyleElement) WithDisabled(disabled bool) *DOMHTMLStyleElement

WithDisabled sets the disabled.

func (*DOMHTMLStyleElement) WithIDName added in v0.17.0

func (dse *DOMHTMLStyleElement) WithIDName(idName string) *DOMHTMLStyleElement

WithIDName sets the ID name.

func (*DOMHTMLStyleElement) WithInnerHTML added in v0.17.0

func (dse *DOMHTMLStyleElement) WithInnerHTML(innerHTML string) *DOMHTMLStyleElement

WithInnerHTML sets the inner HTML.

func (*DOMHTMLStyleElement) WithInnerText added in v0.17.0

func (dse *DOMHTMLStyleElement) WithInnerText(innerText string) *DOMHTMLStyleElement

WithInnerText sets the inner text.

func (*DOMHTMLStyleElement) WithLang added in v0.17.0

func (dse *DOMHTMLStyleElement) WithLang(lang string) *DOMHTMLStyleElement

WithLang sets the lang.

func (*DOMHTMLStyleElement) WithMedia added in v0.17.0

func (dse *DOMHTMLStyleElement) WithMedia(media string) *DOMHTMLStyleElement

WithMedia sets the media.

func (*DOMHTMLStyleElement) WithNodeValue added in v0.17.0

func (dse *DOMHTMLStyleElement) WithNodeValue(nodeValue string) *DOMHTMLStyleElement

WithNodeValue sets the node value.

func (*DOMHTMLStyleElement) WithOuterHTML added in v0.17.0

func (dse *DOMHTMLStyleElement) WithOuterHTML(outerHTML string) *DOMHTMLStyleElement

WithOuterHTML sets the outer HTML.

func (*DOMHTMLStyleElement) WithOuterText added in v0.17.0

func (dse *DOMHTMLStyleElement) WithOuterText(outerText string) *DOMHTMLStyleElement

WithOuterText sets the outer text.

func (*DOMHTMLStyleElement) WithPrefix added in v0.17.0

func (dse *DOMHTMLStyleElement) WithPrefix(prefix string) *DOMHTMLStyleElement

WithPrefix sets the prefix.

func (*DOMHTMLStyleElement) WithScrollLeft added in v0.17.0

func (dse *DOMHTMLStyleElement) WithScrollLeft(scrollLeft int) *DOMHTMLStyleElement

WithScrollLeft sets the scroll left.

func (*DOMHTMLStyleElement) WithScrollTop added in v0.17.0

func (dse *DOMHTMLStyleElement) WithScrollTop(scrollTop int) *DOMHTMLStyleElement

WithScrollTop sets the scroll top.

func (*DOMHTMLStyleElement) WithTabIndex added in v0.17.0

func (dse *DOMHTMLStyleElement) WithTabIndex(tabIndex int) *DOMHTMLStyleElement

WithTabIndex sets the tab index.

func (*DOMHTMLStyleElement) WithTextContent added in v0.17.0

func (dse *DOMHTMLStyleElement) WithTextContent(textContent string) *DOMHTMLStyleElement

WithTextContent sets the text content.

func (*DOMHTMLStyleElement) WithTitle added in v0.17.0

func (dse *DOMHTMLStyleElement) WithTitle(title string) *DOMHTMLStyleElement

WithTitle sets the title.

func (*DOMHTMLStyleElement) WithType added in v0.17.0

func (dse *DOMHTMLStyleElement) WithType(type_ string) *DOMHTMLStyleElement

WithType sets the type.

type DOMHTMLTableCaptionElement

type DOMHTMLTableCaptionElement struct {
	DOMHTMLElement
}

DOMHTMLTableCaptionElement is an idiomatic wrapper over the Objective-C class DOMHTMLTableCaptionElement.

It embeds DOMHTMLElement, promoting that type's methods.

func DOMHTMLTableCaptionElementFromID

func DOMHTMLTableCaptionElementFromID(id objc.ID) *DOMHTMLTableCaptionElement

DOMHTMLTableCaptionElementFromID adopts an existing Objective-C object as a DOMHTMLTableCaptionElement (nil for 0), retaining it and registering a release finalizer.

func NewDOMHTMLTableCaptionElement added in v0.17.0

func NewDOMHTMLTableCaptionElement() *DOMHTMLTableCaptionElement

NewDOMHTMLTableCaptionElement creates a new DOMHTMLTableCaptionElement.

func (*DOMHTMLTableCaptionElement) Align

func (dtce *DOMHTMLTableCaptionElement) Align() string

Align returns the align.

func (*DOMHTMLTableCaptionElement) WithAccessKey added in v0.17.0

func (dtce *DOMHTMLTableCaptionElement) WithAccessKey(accessKey string) *DOMHTMLTableCaptionElement

WithAccessKey sets the access key.

func (*DOMHTMLTableCaptionElement) WithAlign added in v0.17.0

WithAlign sets the align.

func (*DOMHTMLTableCaptionElement) WithClassName added in v0.17.0

func (dtce *DOMHTMLTableCaptionElement) WithClassName(className string) *DOMHTMLTableCaptionElement

WithClassName sets the class name.

func (*DOMHTMLTableCaptionElement) WithContentEditable added in v0.17.0

func (dtce *DOMHTMLTableCaptionElement) WithContentEditable(contentEditable string) *DOMHTMLTableCaptionElement

WithContentEditable sets the content editable.

func (*DOMHTMLTableCaptionElement) WithDir added in v0.17.0

WithDir sets the dir.

func (*DOMHTMLTableCaptionElement) WithIDName added in v0.17.0

WithIDName sets the ID name.

func (*DOMHTMLTableCaptionElement) WithInnerHTML added in v0.17.0

func (dtce *DOMHTMLTableCaptionElement) WithInnerHTML(innerHTML string) *DOMHTMLTableCaptionElement

WithInnerHTML sets the inner HTML.

func (*DOMHTMLTableCaptionElement) WithInnerText added in v0.17.0

func (dtce *DOMHTMLTableCaptionElement) WithInnerText(innerText string) *DOMHTMLTableCaptionElement

WithInnerText sets the inner text.

func (*DOMHTMLTableCaptionElement) WithLang added in v0.17.0

WithLang sets the lang.

func (*DOMHTMLTableCaptionElement) WithNodeValue added in v0.17.0

func (dtce *DOMHTMLTableCaptionElement) WithNodeValue(nodeValue string) *DOMHTMLTableCaptionElement

WithNodeValue sets the node value.

func (*DOMHTMLTableCaptionElement) WithOuterHTML added in v0.17.0

func (dtce *DOMHTMLTableCaptionElement) WithOuterHTML(outerHTML string) *DOMHTMLTableCaptionElement

WithOuterHTML sets the outer HTML.

func (*DOMHTMLTableCaptionElement) WithOuterText added in v0.17.0

func (dtce *DOMHTMLTableCaptionElement) WithOuterText(outerText string) *DOMHTMLTableCaptionElement

WithOuterText sets the outer text.

func (*DOMHTMLTableCaptionElement) WithPrefix added in v0.17.0

WithPrefix sets the prefix.

func (*DOMHTMLTableCaptionElement) WithScrollLeft added in v0.17.0

func (dtce *DOMHTMLTableCaptionElement) WithScrollLeft(scrollLeft int) *DOMHTMLTableCaptionElement

WithScrollLeft sets the scroll left.

func (*DOMHTMLTableCaptionElement) WithScrollTop added in v0.17.0

func (dtce *DOMHTMLTableCaptionElement) WithScrollTop(scrollTop int) *DOMHTMLTableCaptionElement

WithScrollTop sets the scroll top.

func (*DOMHTMLTableCaptionElement) WithTabIndex added in v0.17.0

func (dtce *DOMHTMLTableCaptionElement) WithTabIndex(tabIndex int) *DOMHTMLTableCaptionElement

WithTabIndex sets the tab index.

func (*DOMHTMLTableCaptionElement) WithTextContent added in v0.17.0

func (dtce *DOMHTMLTableCaptionElement) WithTextContent(textContent string) *DOMHTMLTableCaptionElement

WithTextContent sets the text content.

func (*DOMHTMLTableCaptionElement) WithTitle added in v0.17.0

WithTitle sets the title.

type DOMHTMLTableCellElement

type DOMHTMLTableCellElement struct {
	DOMHTMLElement
}

DOMHTMLTableCellElement is an idiomatic wrapper over the Objective-C class DOMHTMLTableCellElement.

It embeds DOMHTMLElement, promoting that type's methods.

func DOMHTMLTableCellElementFromID

func DOMHTMLTableCellElementFromID(id objc.ID) *DOMHTMLTableCellElement

DOMHTMLTableCellElementFromID adopts an existing Objective-C object as a DOMHTMLTableCellElement (nil for 0), retaining it and registering a release finalizer.

func NewDOMHTMLTableCellElement added in v0.17.0

func NewDOMHTMLTableCellElement() *DOMHTMLTableCellElement

NewDOMHTMLTableCellElement creates a new DOMHTMLTableCellElement.

func (*DOMHTMLTableCellElement) Abbr

func (dtce *DOMHTMLTableCellElement) Abbr() string

Abbr returns the abbr.

func (*DOMHTMLTableCellElement) Align

func (dtce *DOMHTMLTableCellElement) Align() string

Align returns the align.

func (*DOMHTMLTableCellElement) Axis

func (dtce *DOMHTMLTableCellElement) Axis() string

Axis returns the axis.

func (*DOMHTMLTableCellElement) BgColor

func (dtce *DOMHTMLTableCellElement) BgColor() string

BgColor returns the bg color.

func (*DOMHTMLTableCellElement) CellIndex

func (dtce *DOMHTMLTableCellElement) CellIndex() int

CellIndex returns the cell index.

func (*DOMHTMLTableCellElement) Ch

func (dtce *DOMHTMLTableCellElement) Ch() string

Ch returns the ch.

func (*DOMHTMLTableCellElement) ChOff

func (dtce *DOMHTMLTableCellElement) ChOff() string

ChOff returns the ch off.

func (*DOMHTMLTableCellElement) ColSpan

func (dtce *DOMHTMLTableCellElement) ColSpan() int

ColSpan returns the col span.

func (*DOMHTMLTableCellElement) Headers

func (dtce *DOMHTMLTableCellElement) Headers() string

Headers returns the headers.

func (*DOMHTMLTableCellElement) Height

func (dtce *DOMHTMLTableCellElement) Height() string

Height returns the height.

func (*DOMHTMLTableCellElement) NoWrap

func (dtce *DOMHTMLTableCellElement) NoWrap() bool

NoWrap wraps the corresponding Objective-C method.

func (*DOMHTMLTableCellElement) RowSpan

func (dtce *DOMHTMLTableCellElement) RowSpan() int

RowSpan returns the row span.

func (*DOMHTMLTableCellElement) Scope

func (dtce *DOMHTMLTableCellElement) Scope() string

Scope returns the scope.

func (*DOMHTMLTableCellElement) VAlign

func (dtce *DOMHTMLTableCellElement) VAlign() string

VAlign returns the v align.

func (*DOMHTMLTableCellElement) Width

func (dtce *DOMHTMLTableCellElement) Width() string

Width returns the width.

func (*DOMHTMLTableCellElement) WithAbbr added in v0.17.0

WithAbbr sets the abbr.

func (*DOMHTMLTableCellElement) WithAccessKey added in v0.17.0

func (dtce *DOMHTMLTableCellElement) WithAccessKey(accessKey string) *DOMHTMLTableCellElement

WithAccessKey sets the access key.

func (*DOMHTMLTableCellElement) WithAlign added in v0.17.0

func (dtce *DOMHTMLTableCellElement) WithAlign(align string) *DOMHTMLTableCellElement

WithAlign sets the align.

func (*DOMHTMLTableCellElement) WithAxis added in v0.17.0

WithAxis sets the axis.

func (*DOMHTMLTableCellElement) WithBgColor added in v0.17.0

func (dtce *DOMHTMLTableCellElement) WithBgColor(bgColor string) *DOMHTMLTableCellElement

WithBgColor sets the bg color.

func (*DOMHTMLTableCellElement) WithCh added in v0.17.0

WithCh sets the ch.

func (*DOMHTMLTableCellElement) WithChOff added in v0.17.0

func (dtce *DOMHTMLTableCellElement) WithChOff(chOff string) *DOMHTMLTableCellElement

WithChOff sets the ch off.

func (*DOMHTMLTableCellElement) WithClassName added in v0.17.0

func (dtce *DOMHTMLTableCellElement) WithClassName(className string) *DOMHTMLTableCellElement

WithClassName sets the class name.

func (*DOMHTMLTableCellElement) WithColSpan added in v0.17.0

func (dtce *DOMHTMLTableCellElement) WithColSpan(colSpan int) *DOMHTMLTableCellElement

WithColSpan sets the col span.

func (*DOMHTMLTableCellElement) WithContentEditable added in v0.17.0

func (dtce *DOMHTMLTableCellElement) WithContentEditable(contentEditable string) *DOMHTMLTableCellElement

WithContentEditable sets the content editable.

func (*DOMHTMLTableCellElement) WithDir added in v0.17.0

WithDir sets the dir.

func (*DOMHTMLTableCellElement) WithHeaders added in v0.17.0

func (dtce *DOMHTMLTableCellElement) WithHeaders(headers string) *DOMHTMLTableCellElement

WithHeaders sets the headers.

func (*DOMHTMLTableCellElement) WithHeight added in v0.17.0

func (dtce *DOMHTMLTableCellElement) WithHeight(height string) *DOMHTMLTableCellElement

WithHeight sets the height.

func (*DOMHTMLTableCellElement) WithIDName added in v0.17.0

func (dtce *DOMHTMLTableCellElement) WithIDName(idName string) *DOMHTMLTableCellElement

WithIDName sets the ID name.

func (*DOMHTMLTableCellElement) WithInnerHTML added in v0.17.0

func (dtce *DOMHTMLTableCellElement) WithInnerHTML(innerHTML string) *DOMHTMLTableCellElement

WithInnerHTML sets the inner HTML.

func (*DOMHTMLTableCellElement) WithInnerText added in v0.17.0

func (dtce *DOMHTMLTableCellElement) WithInnerText(innerText string) *DOMHTMLTableCellElement

WithInnerText sets the inner text.

func (*DOMHTMLTableCellElement) WithLang added in v0.17.0

WithLang sets the lang.

func (*DOMHTMLTableCellElement) WithNoWrap added in v0.17.0

func (dtce *DOMHTMLTableCellElement) WithNoWrap(noWrap bool) *DOMHTMLTableCellElement

WithNoWrap sets the no wrap.

func (*DOMHTMLTableCellElement) WithNodeValue added in v0.17.0

func (dtce *DOMHTMLTableCellElement) WithNodeValue(nodeValue string) *DOMHTMLTableCellElement

WithNodeValue sets the node value.

func (*DOMHTMLTableCellElement) WithOuterHTML added in v0.17.0

func (dtce *DOMHTMLTableCellElement) WithOuterHTML(outerHTML string) *DOMHTMLTableCellElement

WithOuterHTML sets the outer HTML.

func (*DOMHTMLTableCellElement) WithOuterText added in v0.17.0

func (dtce *DOMHTMLTableCellElement) WithOuterText(outerText string) *DOMHTMLTableCellElement

WithOuterText sets the outer text.

func (*DOMHTMLTableCellElement) WithPrefix added in v0.17.0

func (dtce *DOMHTMLTableCellElement) WithPrefix(prefix string) *DOMHTMLTableCellElement

WithPrefix sets the prefix.

func (*DOMHTMLTableCellElement) WithRowSpan added in v0.17.0

func (dtce *DOMHTMLTableCellElement) WithRowSpan(rowSpan int) *DOMHTMLTableCellElement

WithRowSpan sets the row span.

func (*DOMHTMLTableCellElement) WithScope added in v0.17.0

func (dtce *DOMHTMLTableCellElement) WithScope(scope string) *DOMHTMLTableCellElement

WithScope sets the scope.

func (*DOMHTMLTableCellElement) WithScrollLeft added in v0.17.0

func (dtce *DOMHTMLTableCellElement) WithScrollLeft(scrollLeft int) *DOMHTMLTableCellElement

WithScrollLeft sets the scroll left.

func (*DOMHTMLTableCellElement) WithScrollTop added in v0.17.0

func (dtce *DOMHTMLTableCellElement) WithScrollTop(scrollTop int) *DOMHTMLTableCellElement

WithScrollTop sets the scroll top.

func (*DOMHTMLTableCellElement) WithTabIndex added in v0.17.0

func (dtce *DOMHTMLTableCellElement) WithTabIndex(tabIndex int) *DOMHTMLTableCellElement

WithTabIndex sets the tab index.

func (*DOMHTMLTableCellElement) WithTextContent added in v0.17.0

func (dtce *DOMHTMLTableCellElement) WithTextContent(textContent string) *DOMHTMLTableCellElement

WithTextContent sets the text content.

func (*DOMHTMLTableCellElement) WithTitle added in v0.17.0

func (dtce *DOMHTMLTableCellElement) WithTitle(title string) *DOMHTMLTableCellElement

WithTitle sets the title.

func (*DOMHTMLTableCellElement) WithVAlign added in v0.17.0

func (dtce *DOMHTMLTableCellElement) WithVAlign(vAlign string) *DOMHTMLTableCellElement

WithVAlign sets the v align.

func (*DOMHTMLTableCellElement) WithWidth added in v0.17.0

func (dtce *DOMHTMLTableCellElement) WithWidth(width string) *DOMHTMLTableCellElement

WithWidth sets the width.

type DOMHTMLTableColElement

type DOMHTMLTableColElement struct {
	DOMHTMLElement
}

DOMHTMLTableColElement is an idiomatic wrapper over the Objective-C class DOMHTMLTableColElement.

It embeds DOMHTMLElement, promoting that type's methods.

func DOMHTMLTableColElementFromID

func DOMHTMLTableColElementFromID(id objc.ID) *DOMHTMLTableColElement

DOMHTMLTableColElementFromID adopts an existing Objective-C object as a DOMHTMLTableColElement (nil for 0), retaining it and registering a release finalizer.

func NewDOMHTMLTableColElement added in v0.17.0

func NewDOMHTMLTableColElement() *DOMHTMLTableColElement

NewDOMHTMLTableColElement creates a new DOMHTMLTableColElement.

func (*DOMHTMLTableColElement) Align

func (dtce *DOMHTMLTableColElement) Align() string

Align returns the align.

func (*DOMHTMLTableColElement) Ch

func (dtce *DOMHTMLTableColElement) Ch() string

Ch returns the ch.

func (*DOMHTMLTableColElement) ChOff

func (dtce *DOMHTMLTableColElement) ChOff() string

ChOff returns the ch off.

func (*DOMHTMLTableColElement) Span

func (dtce *DOMHTMLTableColElement) Span() int

Span returns the span.

func (*DOMHTMLTableColElement) VAlign

func (dtce *DOMHTMLTableColElement) VAlign() string

VAlign returns the v align.

func (*DOMHTMLTableColElement) Width

func (dtce *DOMHTMLTableColElement) Width() string

Width returns the width.

func (*DOMHTMLTableColElement) WithAccessKey added in v0.17.0

func (dtce *DOMHTMLTableColElement) WithAccessKey(accessKey string) *DOMHTMLTableColElement

WithAccessKey sets the access key.

func (*DOMHTMLTableColElement) WithAlign added in v0.17.0

func (dtce *DOMHTMLTableColElement) WithAlign(align string) *DOMHTMLTableColElement

WithAlign sets the align.

func (*DOMHTMLTableColElement) WithCh added in v0.17.0

WithCh sets the ch.

func (*DOMHTMLTableColElement) WithChOff added in v0.17.0

func (dtce *DOMHTMLTableColElement) WithChOff(chOff string) *DOMHTMLTableColElement

WithChOff sets the ch off.

func (*DOMHTMLTableColElement) WithClassName added in v0.17.0

func (dtce *DOMHTMLTableColElement) WithClassName(className string) *DOMHTMLTableColElement

WithClassName sets the class name.

func (*DOMHTMLTableColElement) WithContentEditable added in v0.17.0

func (dtce *DOMHTMLTableColElement) WithContentEditable(contentEditable string) *DOMHTMLTableColElement

WithContentEditable sets the content editable.

func (*DOMHTMLTableColElement) WithDir added in v0.17.0

WithDir sets the dir.

func (*DOMHTMLTableColElement) WithIDName added in v0.17.0

func (dtce *DOMHTMLTableColElement) WithIDName(idName string) *DOMHTMLTableColElement

WithIDName sets the ID name.

func (*DOMHTMLTableColElement) WithInnerHTML added in v0.17.0

func (dtce *DOMHTMLTableColElement) WithInnerHTML(innerHTML string) *DOMHTMLTableColElement

WithInnerHTML sets the inner HTML.

func (*DOMHTMLTableColElement) WithInnerText added in v0.17.0

func (dtce *DOMHTMLTableColElement) WithInnerText(innerText string) *DOMHTMLTableColElement

WithInnerText sets the inner text.

func (*DOMHTMLTableColElement) WithLang added in v0.17.0

WithLang sets the lang.

func (*DOMHTMLTableColElement) WithNodeValue added in v0.17.0

func (dtce *DOMHTMLTableColElement) WithNodeValue(nodeValue string) *DOMHTMLTableColElement

WithNodeValue sets the node value.

func (*DOMHTMLTableColElement) WithOuterHTML added in v0.17.0

func (dtce *DOMHTMLTableColElement) WithOuterHTML(outerHTML string) *DOMHTMLTableColElement

WithOuterHTML sets the outer HTML.

func (*DOMHTMLTableColElement) WithOuterText added in v0.17.0

func (dtce *DOMHTMLTableColElement) WithOuterText(outerText string) *DOMHTMLTableColElement

WithOuterText sets the outer text.

func (*DOMHTMLTableColElement) WithPrefix added in v0.17.0

func (dtce *DOMHTMLTableColElement) WithPrefix(prefix string) *DOMHTMLTableColElement

WithPrefix sets the prefix.

func (*DOMHTMLTableColElement) WithScrollLeft added in v0.17.0

func (dtce *DOMHTMLTableColElement) WithScrollLeft(scrollLeft int) *DOMHTMLTableColElement

WithScrollLeft sets the scroll left.

func (*DOMHTMLTableColElement) WithScrollTop added in v0.17.0

func (dtce *DOMHTMLTableColElement) WithScrollTop(scrollTop int) *DOMHTMLTableColElement

WithScrollTop sets the scroll top.

func (*DOMHTMLTableColElement) WithSpan added in v0.17.0

func (dtce *DOMHTMLTableColElement) WithSpan(span int) *DOMHTMLTableColElement

WithSpan sets the span.

func (*DOMHTMLTableColElement) WithTabIndex added in v0.17.0

func (dtce *DOMHTMLTableColElement) WithTabIndex(tabIndex int) *DOMHTMLTableColElement

WithTabIndex sets the tab index.

func (*DOMHTMLTableColElement) WithTextContent added in v0.17.0

func (dtce *DOMHTMLTableColElement) WithTextContent(textContent string) *DOMHTMLTableColElement

WithTextContent sets the text content.

func (*DOMHTMLTableColElement) WithTitle added in v0.17.0

func (dtce *DOMHTMLTableColElement) WithTitle(title string) *DOMHTMLTableColElement

WithTitle sets the title.

func (*DOMHTMLTableColElement) WithVAlign added in v0.17.0

func (dtce *DOMHTMLTableColElement) WithVAlign(vAlign string) *DOMHTMLTableColElement

WithVAlign sets the v align.

func (*DOMHTMLTableColElement) WithWidth added in v0.17.0

func (dtce *DOMHTMLTableColElement) WithWidth(width string) *DOMHTMLTableColElement

WithWidth sets the width.

type DOMHTMLTableElement

type DOMHTMLTableElement struct {
	DOMHTMLElement
}

DOMHTMLTableElement is an idiomatic wrapper over the Objective-C class DOMHTMLTableElement.

It embeds DOMHTMLElement, promoting that type's methods.

func DOMHTMLTableElementFromID

func DOMHTMLTableElementFromID(id objc.ID) *DOMHTMLTableElement

DOMHTMLTableElementFromID adopts an existing Objective-C object as a DOMHTMLTableElement (nil for 0), retaining it and registering a release finalizer.

func NewDOMHTMLTableElement added in v0.17.0

func NewDOMHTMLTableElement() *DOMHTMLTableElement

NewDOMHTMLTableElement creates a new DOMHTMLTableElement.

func (*DOMHTMLTableElement) Align

func (dte *DOMHTMLTableElement) Align() string

Align returns the align.

func (*DOMHTMLTableElement) BgColor

func (dte *DOMHTMLTableElement) BgColor() string

BgColor returns the bg color.

func (*DOMHTMLTableElement) Border

func (dte *DOMHTMLTableElement) Border() string

Border returns the border.

func (*DOMHTMLTableElement) Caption

Caption returns the caption.

func (*DOMHTMLTableElement) CellPadding

func (dte *DOMHTMLTableElement) CellPadding() string

CellPadding returns the cell padding.

func (*DOMHTMLTableElement) CellSpacing

func (dte *DOMHTMLTableElement) CellSpacing() string

CellSpacing returns the cell spacing.

func (*DOMHTMLTableElement) CreateCaption

func (dte *DOMHTMLTableElement) CreateCaption() *DOMHTMLElement

CreateCaption returns the create caption.

func (*DOMHTMLTableElement) CreateTFoot

func (dte *DOMHTMLTableElement) CreateTFoot() *DOMHTMLElement

CreateTFoot returns the create t foot.

func (*DOMHTMLTableElement) CreateTHead

func (dte *DOMHTMLTableElement) CreateTHead() *DOMHTMLElement

CreateTHead returns the create t head.

func (*DOMHTMLTableElement) DeleteCaption

func (dte *DOMHTMLTableElement) DeleteCaption()

DeleteCaption deletes caption.

func (*DOMHTMLTableElement) DeleteRow

func (dte *DOMHTMLTableElement) DeleteRow(index int)

DeleteRow deletes row.

func (*DOMHTMLTableElement) DeleteTFoot

func (dte *DOMHTMLTableElement) DeleteTFoot()

DeleteTFoot deletes t foot.

func (*DOMHTMLTableElement) DeleteTHead

func (dte *DOMHTMLTableElement) DeleteTHead()

DeleteTHead deletes t head.

func (*DOMHTMLTableElement) FrameBorders

func (dte *DOMHTMLTableElement) FrameBorders() string

FrameBorders returns the frame borders.

func (*DOMHTMLTableElement) InsertRow

func (dte *DOMHTMLTableElement) InsertRow(index int) *DOMHTMLElement

InsertRow inserts row.

func (*DOMHTMLTableElement) Rows

Rows returns the rows.

func (*DOMHTMLTableElement) Rules

func (dte *DOMHTMLTableElement) Rules() string

Rules returns the rules.

func (*DOMHTMLTableElement) Summary

func (dte *DOMHTMLTableElement) Summary() string

Summary returns the summary.

func (*DOMHTMLTableElement) TBodies

func (dte *DOMHTMLTableElement) TBodies() *DOMHTMLCollection

TBodies returns the t bodies.

func (*DOMHTMLTableElement) TFoot

TFoot returns the t foot.

func (*DOMHTMLTableElement) THead

THead returns the t head.

func (*DOMHTMLTableElement) Width

func (dte *DOMHTMLTableElement) Width() string

Width returns the width.

func (*DOMHTMLTableElement) WithAccessKey added in v0.17.0

func (dte *DOMHTMLTableElement) WithAccessKey(accessKey string) *DOMHTMLTableElement

WithAccessKey sets the access key.

func (*DOMHTMLTableElement) WithAlign added in v0.17.0

func (dte *DOMHTMLTableElement) WithAlign(align string) *DOMHTMLTableElement

WithAlign sets the align.

func (*DOMHTMLTableElement) WithBgColor added in v0.17.0

func (dte *DOMHTMLTableElement) WithBgColor(bgColor string) *DOMHTMLTableElement

WithBgColor sets the bg color.

func (*DOMHTMLTableElement) WithBorder added in v0.17.0

func (dte *DOMHTMLTableElement) WithBorder(border string) *DOMHTMLTableElement

WithBorder sets the border.

func (*DOMHTMLTableElement) WithCaption added in v0.17.0

WithCaption sets the caption.

func (*DOMHTMLTableElement) WithCellPadding added in v0.17.0

func (dte *DOMHTMLTableElement) WithCellPadding(cellPadding string) *DOMHTMLTableElement

WithCellPadding sets the cell padding.

func (*DOMHTMLTableElement) WithCellSpacing added in v0.17.0

func (dte *DOMHTMLTableElement) WithCellSpacing(cellSpacing string) *DOMHTMLTableElement

WithCellSpacing sets the cell spacing.

func (*DOMHTMLTableElement) WithClassName added in v0.17.0

func (dte *DOMHTMLTableElement) WithClassName(className string) *DOMHTMLTableElement

WithClassName sets the class name.

func (*DOMHTMLTableElement) WithContentEditable added in v0.17.0

func (dte *DOMHTMLTableElement) WithContentEditable(contentEditable string) *DOMHTMLTableElement

WithContentEditable sets the content editable.

func (*DOMHTMLTableElement) WithDir added in v0.17.0

func (dte *DOMHTMLTableElement) WithDir(dir string) *DOMHTMLTableElement

WithDir sets the dir.

func (*DOMHTMLTableElement) WithFrameBorders added in v0.17.0

func (dte *DOMHTMLTableElement) WithFrameBorders(frameBorders string) *DOMHTMLTableElement

WithFrameBorders sets the frame borders.

func (*DOMHTMLTableElement) WithIDName added in v0.17.0

func (dte *DOMHTMLTableElement) WithIDName(idName string) *DOMHTMLTableElement

WithIDName sets the ID name.

func (*DOMHTMLTableElement) WithInnerHTML added in v0.17.0

func (dte *DOMHTMLTableElement) WithInnerHTML(innerHTML string) *DOMHTMLTableElement

WithInnerHTML sets the inner HTML.

func (*DOMHTMLTableElement) WithInnerText added in v0.17.0

func (dte *DOMHTMLTableElement) WithInnerText(innerText string) *DOMHTMLTableElement

WithInnerText sets the inner text.

func (*DOMHTMLTableElement) WithLang added in v0.17.0

func (dte *DOMHTMLTableElement) WithLang(lang string) *DOMHTMLTableElement

WithLang sets the lang.

func (*DOMHTMLTableElement) WithNodeValue added in v0.17.0

func (dte *DOMHTMLTableElement) WithNodeValue(nodeValue string) *DOMHTMLTableElement

WithNodeValue sets the node value.

func (*DOMHTMLTableElement) WithOuterHTML added in v0.17.0

func (dte *DOMHTMLTableElement) WithOuterHTML(outerHTML string) *DOMHTMLTableElement

WithOuterHTML sets the outer HTML.

func (*DOMHTMLTableElement) WithOuterText added in v0.17.0

func (dte *DOMHTMLTableElement) WithOuterText(outerText string) *DOMHTMLTableElement

WithOuterText sets the outer text.

func (*DOMHTMLTableElement) WithPrefix added in v0.17.0

func (dte *DOMHTMLTableElement) WithPrefix(prefix string) *DOMHTMLTableElement

WithPrefix sets the prefix.

func (*DOMHTMLTableElement) WithRules added in v0.17.0

func (dte *DOMHTMLTableElement) WithRules(rules string) *DOMHTMLTableElement

WithRules sets the rules.

func (*DOMHTMLTableElement) WithScrollLeft added in v0.17.0

func (dte *DOMHTMLTableElement) WithScrollLeft(scrollLeft int) *DOMHTMLTableElement

WithScrollLeft sets the scroll left.

func (*DOMHTMLTableElement) WithScrollTop added in v0.17.0

func (dte *DOMHTMLTableElement) WithScrollTop(scrollTop int) *DOMHTMLTableElement

WithScrollTop sets the scroll top.

func (*DOMHTMLTableElement) WithSummary added in v0.17.0

func (dte *DOMHTMLTableElement) WithSummary(summary string) *DOMHTMLTableElement

WithSummary sets the summary.

func (*DOMHTMLTableElement) WithTFoot added in v0.17.0

WithTFoot sets the t foot.

func (*DOMHTMLTableElement) WithTHead added in v0.17.0

WithTHead sets the t head.

func (*DOMHTMLTableElement) WithTabIndex added in v0.17.0

func (dte *DOMHTMLTableElement) WithTabIndex(tabIndex int) *DOMHTMLTableElement

WithTabIndex sets the tab index.

func (*DOMHTMLTableElement) WithTextContent added in v0.17.0

func (dte *DOMHTMLTableElement) WithTextContent(textContent string) *DOMHTMLTableElement

WithTextContent sets the text content.

func (*DOMHTMLTableElement) WithTitle added in v0.17.0

func (dte *DOMHTMLTableElement) WithTitle(title string) *DOMHTMLTableElement

WithTitle sets the title.

func (*DOMHTMLTableElement) WithWidth added in v0.17.0

func (dte *DOMHTMLTableElement) WithWidth(width string) *DOMHTMLTableElement

WithWidth sets the width.

type DOMHTMLTableRowElement

type DOMHTMLTableRowElement struct {
	DOMHTMLElement
}

DOMHTMLTableRowElement is an idiomatic wrapper over the Objective-C class DOMHTMLTableRowElement.

It embeds DOMHTMLElement, promoting that type's methods.

func DOMHTMLTableRowElementFromID

func DOMHTMLTableRowElementFromID(id objc.ID) *DOMHTMLTableRowElement

DOMHTMLTableRowElementFromID adopts an existing Objective-C object as a DOMHTMLTableRowElement (nil for 0), retaining it and registering a release finalizer.

func NewDOMHTMLTableRowElement added in v0.17.0

func NewDOMHTMLTableRowElement() *DOMHTMLTableRowElement

NewDOMHTMLTableRowElement creates a new DOMHTMLTableRowElement.

func (*DOMHTMLTableRowElement) Align

func (dtre *DOMHTMLTableRowElement) Align() string

Align returns the align.

func (*DOMHTMLTableRowElement) BgColor

func (dtre *DOMHTMLTableRowElement) BgColor() string

BgColor returns the bg color.

func (*DOMHTMLTableRowElement) Cells

Cells returns the cells.

func (*DOMHTMLTableRowElement) Ch

func (dtre *DOMHTMLTableRowElement) Ch() string

Ch returns the ch.

func (*DOMHTMLTableRowElement) ChOff

func (dtre *DOMHTMLTableRowElement) ChOff() string

ChOff returns the ch off.

func (*DOMHTMLTableRowElement) DeleteCell

func (dtre *DOMHTMLTableRowElement) DeleteCell(index int)

DeleteCell deletes cell.

func (*DOMHTMLTableRowElement) InsertCell

func (dtre *DOMHTMLTableRowElement) InsertCell(index int) *DOMHTMLElement

InsertCell inserts cell.

func (*DOMHTMLTableRowElement) RowIndex

func (dtre *DOMHTMLTableRowElement) RowIndex() int

RowIndex returns the row index.

func (*DOMHTMLTableRowElement) SectionRowIndex

func (dtre *DOMHTMLTableRowElement) SectionRowIndex() int

SectionRowIndex returns the section row index.

func (*DOMHTMLTableRowElement) VAlign

func (dtre *DOMHTMLTableRowElement) VAlign() string

VAlign returns the v align.

func (*DOMHTMLTableRowElement) WithAccessKey added in v0.17.0

func (dtre *DOMHTMLTableRowElement) WithAccessKey(accessKey string) *DOMHTMLTableRowElement

WithAccessKey sets the access key.

func (*DOMHTMLTableRowElement) WithAlign added in v0.17.0

func (dtre *DOMHTMLTableRowElement) WithAlign(align string) *DOMHTMLTableRowElement

WithAlign sets the align.

func (*DOMHTMLTableRowElement) WithBgColor added in v0.17.0

func (dtre *DOMHTMLTableRowElement) WithBgColor(bgColor string) *DOMHTMLTableRowElement

WithBgColor sets the bg color.

func (*DOMHTMLTableRowElement) WithCh added in v0.17.0

WithCh sets the ch.

func (*DOMHTMLTableRowElement) WithChOff added in v0.17.0

func (dtre *DOMHTMLTableRowElement) WithChOff(chOff string) *DOMHTMLTableRowElement

WithChOff sets the ch off.

func (*DOMHTMLTableRowElement) WithClassName added in v0.17.0

func (dtre *DOMHTMLTableRowElement) WithClassName(className string) *DOMHTMLTableRowElement

WithClassName sets the class name.

func (*DOMHTMLTableRowElement) WithContentEditable added in v0.17.0

func (dtre *DOMHTMLTableRowElement) WithContentEditable(contentEditable string) *DOMHTMLTableRowElement

WithContentEditable sets the content editable.

func (*DOMHTMLTableRowElement) WithDir added in v0.17.0

WithDir sets the dir.

func (*DOMHTMLTableRowElement) WithIDName added in v0.17.0

func (dtre *DOMHTMLTableRowElement) WithIDName(idName string) *DOMHTMLTableRowElement

WithIDName sets the ID name.

func (*DOMHTMLTableRowElement) WithInnerHTML added in v0.17.0

func (dtre *DOMHTMLTableRowElement) WithInnerHTML(innerHTML string) *DOMHTMLTableRowElement

WithInnerHTML sets the inner HTML.

func (*DOMHTMLTableRowElement) WithInnerText added in v0.17.0

func (dtre *DOMHTMLTableRowElement) WithInnerText(innerText string) *DOMHTMLTableRowElement

WithInnerText sets the inner text.

func (*DOMHTMLTableRowElement) WithLang added in v0.17.0

WithLang sets the lang.

func (*DOMHTMLTableRowElement) WithNodeValue added in v0.17.0

func (dtre *DOMHTMLTableRowElement) WithNodeValue(nodeValue string) *DOMHTMLTableRowElement

WithNodeValue sets the node value.

func (*DOMHTMLTableRowElement) WithOuterHTML added in v0.17.0

func (dtre *DOMHTMLTableRowElement) WithOuterHTML(outerHTML string) *DOMHTMLTableRowElement

WithOuterHTML sets the outer HTML.

func (*DOMHTMLTableRowElement) WithOuterText added in v0.17.0

func (dtre *DOMHTMLTableRowElement) WithOuterText(outerText string) *DOMHTMLTableRowElement

WithOuterText sets the outer text.

func (*DOMHTMLTableRowElement) WithPrefix added in v0.17.0

func (dtre *DOMHTMLTableRowElement) WithPrefix(prefix string) *DOMHTMLTableRowElement

WithPrefix sets the prefix.

func (*DOMHTMLTableRowElement) WithScrollLeft added in v0.17.0

func (dtre *DOMHTMLTableRowElement) WithScrollLeft(scrollLeft int) *DOMHTMLTableRowElement

WithScrollLeft sets the scroll left.

func (*DOMHTMLTableRowElement) WithScrollTop added in v0.17.0

func (dtre *DOMHTMLTableRowElement) WithScrollTop(scrollTop int) *DOMHTMLTableRowElement

WithScrollTop sets the scroll top.

func (*DOMHTMLTableRowElement) WithTabIndex added in v0.17.0

func (dtre *DOMHTMLTableRowElement) WithTabIndex(tabIndex int) *DOMHTMLTableRowElement

WithTabIndex sets the tab index.

func (*DOMHTMLTableRowElement) WithTextContent added in v0.17.0

func (dtre *DOMHTMLTableRowElement) WithTextContent(textContent string) *DOMHTMLTableRowElement

WithTextContent sets the text content.

func (*DOMHTMLTableRowElement) WithTitle added in v0.17.0

func (dtre *DOMHTMLTableRowElement) WithTitle(title string) *DOMHTMLTableRowElement

WithTitle sets the title.

func (*DOMHTMLTableRowElement) WithVAlign added in v0.17.0

func (dtre *DOMHTMLTableRowElement) WithVAlign(vAlign string) *DOMHTMLTableRowElement

WithVAlign sets the v align.

type DOMHTMLTableSectionElement

type DOMHTMLTableSectionElement struct {
	DOMHTMLElement
}

DOMHTMLTableSectionElement is an idiomatic wrapper over the Objective-C class DOMHTMLTableSectionElement.

It embeds DOMHTMLElement, promoting that type's methods.

func DOMHTMLTableSectionElementFromID

func DOMHTMLTableSectionElementFromID(id objc.ID) *DOMHTMLTableSectionElement

DOMHTMLTableSectionElementFromID adopts an existing Objective-C object as a DOMHTMLTableSectionElement (nil for 0), retaining it and registering a release finalizer.

func NewDOMHTMLTableSectionElement added in v0.17.0

func NewDOMHTMLTableSectionElement() *DOMHTMLTableSectionElement

NewDOMHTMLTableSectionElement creates a new DOMHTMLTableSectionElement.

func (*DOMHTMLTableSectionElement) Align

func (dtse *DOMHTMLTableSectionElement) Align() string

Align returns the align.

func (*DOMHTMLTableSectionElement) Ch

Ch returns the ch.

func (*DOMHTMLTableSectionElement) ChOff

func (dtse *DOMHTMLTableSectionElement) ChOff() string

ChOff returns the ch off.

func (*DOMHTMLTableSectionElement) DeleteRow

func (dtse *DOMHTMLTableSectionElement) DeleteRow(index int)

DeleteRow deletes row.

func (*DOMHTMLTableSectionElement) InsertRow

func (dtse *DOMHTMLTableSectionElement) InsertRow(index int) *DOMHTMLElement

InsertRow inserts row.

func (*DOMHTMLTableSectionElement) Rows

Rows returns the rows.

func (*DOMHTMLTableSectionElement) VAlign

func (dtse *DOMHTMLTableSectionElement) VAlign() string

VAlign returns the v align.

func (*DOMHTMLTableSectionElement) WithAccessKey added in v0.17.0

func (dtse *DOMHTMLTableSectionElement) WithAccessKey(accessKey string) *DOMHTMLTableSectionElement

WithAccessKey sets the access key.

func (*DOMHTMLTableSectionElement) WithAlign added in v0.17.0

WithAlign sets the align.

func (*DOMHTMLTableSectionElement) WithCh added in v0.17.0

WithCh sets the ch.

func (*DOMHTMLTableSectionElement) WithChOff added in v0.17.0

WithChOff sets the ch off.

func (*DOMHTMLTableSectionElement) WithClassName added in v0.17.0

func (dtse *DOMHTMLTableSectionElement) WithClassName(className string) *DOMHTMLTableSectionElement

WithClassName sets the class name.

func (*DOMHTMLTableSectionElement) WithContentEditable added in v0.17.0

func (dtse *DOMHTMLTableSectionElement) WithContentEditable(contentEditable string) *DOMHTMLTableSectionElement

WithContentEditable sets the content editable.

func (*DOMHTMLTableSectionElement) WithDir added in v0.17.0

WithDir sets the dir.

func (*DOMHTMLTableSectionElement) WithIDName added in v0.17.0

WithIDName sets the ID name.

func (*DOMHTMLTableSectionElement) WithInnerHTML added in v0.17.0

func (dtse *DOMHTMLTableSectionElement) WithInnerHTML(innerHTML string) *DOMHTMLTableSectionElement

WithInnerHTML sets the inner HTML.

func (*DOMHTMLTableSectionElement) WithInnerText added in v0.17.0

func (dtse *DOMHTMLTableSectionElement) WithInnerText(innerText string) *DOMHTMLTableSectionElement

WithInnerText sets the inner text.

func (*DOMHTMLTableSectionElement) WithLang added in v0.17.0

WithLang sets the lang.

func (*DOMHTMLTableSectionElement) WithNodeValue added in v0.17.0

func (dtse *DOMHTMLTableSectionElement) WithNodeValue(nodeValue string) *DOMHTMLTableSectionElement

WithNodeValue sets the node value.

func (*DOMHTMLTableSectionElement) WithOuterHTML added in v0.17.0

func (dtse *DOMHTMLTableSectionElement) WithOuterHTML(outerHTML string) *DOMHTMLTableSectionElement

WithOuterHTML sets the outer HTML.

func (*DOMHTMLTableSectionElement) WithOuterText added in v0.17.0

func (dtse *DOMHTMLTableSectionElement) WithOuterText(outerText string) *DOMHTMLTableSectionElement

WithOuterText sets the outer text.

func (*DOMHTMLTableSectionElement) WithPrefix added in v0.17.0

WithPrefix sets the prefix.

func (*DOMHTMLTableSectionElement) WithScrollLeft added in v0.17.0

func (dtse *DOMHTMLTableSectionElement) WithScrollLeft(scrollLeft int) *DOMHTMLTableSectionElement

WithScrollLeft sets the scroll left.

func (*DOMHTMLTableSectionElement) WithScrollTop added in v0.17.0

func (dtse *DOMHTMLTableSectionElement) WithScrollTop(scrollTop int) *DOMHTMLTableSectionElement

WithScrollTop sets the scroll top.

func (*DOMHTMLTableSectionElement) WithTabIndex added in v0.17.0

func (dtse *DOMHTMLTableSectionElement) WithTabIndex(tabIndex int) *DOMHTMLTableSectionElement

WithTabIndex sets the tab index.

func (*DOMHTMLTableSectionElement) WithTextContent added in v0.17.0

func (dtse *DOMHTMLTableSectionElement) WithTextContent(textContent string) *DOMHTMLTableSectionElement

WithTextContent sets the text content.

func (*DOMHTMLTableSectionElement) WithTitle added in v0.17.0

WithTitle sets the title.

func (*DOMHTMLTableSectionElement) WithVAlign added in v0.17.0

WithVAlign sets the v align.

type DOMHTMLTextAreaElement

type DOMHTMLTextAreaElement struct {
	DOMHTMLElement
}

DOMHTMLTextAreaElement is an idiomatic wrapper over the Objective-C class DOMHTMLTextAreaElement.

It embeds DOMHTMLElement, promoting that type's methods.

func DOMHTMLTextAreaElementFromID

func DOMHTMLTextAreaElementFromID(id objc.ID) *DOMHTMLTextAreaElement

DOMHTMLTextAreaElementFromID adopts an existing Objective-C object as a DOMHTMLTextAreaElement (nil for 0), retaining it and registering a release finalizer.

func NewDOMHTMLTextAreaElement added in v0.17.0

func NewDOMHTMLTextAreaElement() *DOMHTMLTextAreaElement

NewDOMHTMLTextAreaElement creates a new DOMHTMLTextAreaElement.

func (*DOMHTMLTextAreaElement) Autofocus

func (dtae *DOMHTMLTextAreaElement) Autofocus() bool

Autofocus wraps the corresponding Objective-C method.

func (*DOMHTMLTextAreaElement) Cols

func (dtae *DOMHTMLTextAreaElement) Cols() int

Cols returns the cols.

func (*DOMHTMLTextAreaElement) DefaultValue

func (dtae *DOMHTMLTextAreaElement) DefaultValue() string

DefaultValue returns the default value.

func (*DOMHTMLTextAreaElement) Disabled

func (dtae *DOMHTMLTextAreaElement) Disabled() bool

Disabled wraps the corresponding Objective-C method.

func (*DOMHTMLTextAreaElement) Form

Form returns the form.

func (*DOMHTMLTextAreaElement) Name

func (dtae *DOMHTMLTextAreaElement) Name() string

Name returns the name.

func (*DOMHTMLTextAreaElement) ReadOnly

func (dtae *DOMHTMLTextAreaElement) ReadOnly() bool

ReadOnly wraps the corresponding Objective-C method.

func (*DOMHTMLTextAreaElement) Rows

func (dtae *DOMHTMLTextAreaElement) Rows() int

Rows returns the rows.

func (*DOMHTMLTextAreaElement) Select

func (dtae *DOMHTMLTextAreaElement) Select()

Select wraps the corresponding Objective-C method.

func (*DOMHTMLTextAreaElement) SelectionEnd

func (dtae *DOMHTMLTextAreaElement) SelectionEnd() int

SelectionEnd returns the selection end.

func (*DOMHTMLTextAreaElement) SelectionStart

func (dtae *DOMHTMLTextAreaElement) SelectionStart() int

SelectionStart returns the selection start.

func (*DOMHTMLTextAreaElement) SetSelectionRangeEnd

func (dtae *DOMHTMLTextAreaElement) SetSelectionRangeEnd(start int, end int)

SetSelectionRangeEnd wraps the corresponding Objective-C method.

func (*DOMHTMLTextAreaElement) Type

func (dtae *DOMHTMLTextAreaElement) Type() string

Type returns the type.

func (*DOMHTMLTextAreaElement) Value

func (dtae *DOMHTMLTextAreaElement) Value() string

Value returns the value.

func (*DOMHTMLTextAreaElement) WillValidate

func (dtae *DOMHTMLTextAreaElement) WillValidate() bool

WillValidate wraps the corresponding Objective-C method.

func (*DOMHTMLTextAreaElement) WithAccessKey added in v0.17.0

func (dtae *DOMHTMLTextAreaElement) WithAccessKey(accessKey string) *DOMHTMLTextAreaElement

WithAccessKey sets the access key.

func (*DOMHTMLTextAreaElement) WithAutofocus added in v0.17.0

func (dtae *DOMHTMLTextAreaElement) WithAutofocus(autofocus bool) *DOMHTMLTextAreaElement

WithAutofocus sets the autofocus.

func (*DOMHTMLTextAreaElement) WithClassName added in v0.17.0

func (dtae *DOMHTMLTextAreaElement) WithClassName(className string) *DOMHTMLTextAreaElement

WithClassName sets the class name.

func (*DOMHTMLTextAreaElement) WithCols added in v0.17.0

func (dtae *DOMHTMLTextAreaElement) WithCols(cols int) *DOMHTMLTextAreaElement

WithCols sets the cols.

func (*DOMHTMLTextAreaElement) WithContentEditable added in v0.17.0

func (dtae *DOMHTMLTextAreaElement) WithContentEditable(contentEditable string) *DOMHTMLTextAreaElement

WithContentEditable sets the content editable.

func (*DOMHTMLTextAreaElement) WithDefaultValue added in v0.17.0

func (dtae *DOMHTMLTextAreaElement) WithDefaultValue(defaultValue string) *DOMHTMLTextAreaElement

WithDefaultValue sets the default value.

func (*DOMHTMLTextAreaElement) WithDir added in v0.17.0

WithDir sets the dir.

func (*DOMHTMLTextAreaElement) WithDisabled added in v0.17.0

func (dtae *DOMHTMLTextAreaElement) WithDisabled(disabled bool) *DOMHTMLTextAreaElement

WithDisabled sets the disabled.

func (*DOMHTMLTextAreaElement) WithIDName added in v0.17.0

func (dtae *DOMHTMLTextAreaElement) WithIDName(idName string) *DOMHTMLTextAreaElement

WithIDName sets the ID name.

func (*DOMHTMLTextAreaElement) WithInnerHTML added in v0.17.0

func (dtae *DOMHTMLTextAreaElement) WithInnerHTML(innerHTML string) *DOMHTMLTextAreaElement

WithInnerHTML sets the inner HTML.

func (*DOMHTMLTextAreaElement) WithInnerText added in v0.17.0

func (dtae *DOMHTMLTextAreaElement) WithInnerText(innerText string) *DOMHTMLTextAreaElement

WithInnerText sets the inner text.

func (*DOMHTMLTextAreaElement) WithLang added in v0.17.0

WithLang sets the lang.

func (*DOMHTMLTextAreaElement) WithName added in v0.17.0

WithName sets the name.

func (*DOMHTMLTextAreaElement) WithNodeValue added in v0.17.0

func (dtae *DOMHTMLTextAreaElement) WithNodeValue(nodeValue string) *DOMHTMLTextAreaElement

WithNodeValue sets the node value.

func (*DOMHTMLTextAreaElement) WithOuterHTML added in v0.17.0

func (dtae *DOMHTMLTextAreaElement) WithOuterHTML(outerHTML string) *DOMHTMLTextAreaElement

WithOuterHTML sets the outer HTML.

func (*DOMHTMLTextAreaElement) WithOuterText added in v0.17.0

func (dtae *DOMHTMLTextAreaElement) WithOuterText(outerText string) *DOMHTMLTextAreaElement

WithOuterText sets the outer text.

func (*DOMHTMLTextAreaElement) WithPrefix added in v0.17.0

func (dtae *DOMHTMLTextAreaElement) WithPrefix(prefix string) *DOMHTMLTextAreaElement

WithPrefix sets the prefix.

func (*DOMHTMLTextAreaElement) WithReadOnly added in v0.17.0

func (dtae *DOMHTMLTextAreaElement) WithReadOnly(readOnly bool) *DOMHTMLTextAreaElement

WithReadOnly sets the read only.

func (*DOMHTMLTextAreaElement) WithRows added in v0.17.0

func (dtae *DOMHTMLTextAreaElement) WithRows(rows int) *DOMHTMLTextAreaElement

WithRows sets the rows.

func (*DOMHTMLTextAreaElement) WithScrollLeft added in v0.17.0

func (dtae *DOMHTMLTextAreaElement) WithScrollLeft(scrollLeft int) *DOMHTMLTextAreaElement

WithScrollLeft sets the scroll left.

func (*DOMHTMLTextAreaElement) WithScrollTop added in v0.17.0

func (dtae *DOMHTMLTextAreaElement) WithScrollTop(scrollTop int) *DOMHTMLTextAreaElement

WithScrollTop sets the scroll top.

func (*DOMHTMLTextAreaElement) WithSelectionEnd added in v0.17.0

func (dtae *DOMHTMLTextAreaElement) WithSelectionEnd(selectionEnd int) *DOMHTMLTextAreaElement

WithSelectionEnd sets the selection end.

func (*DOMHTMLTextAreaElement) WithSelectionStart added in v0.17.0

func (dtae *DOMHTMLTextAreaElement) WithSelectionStart(selectionStart int) *DOMHTMLTextAreaElement

WithSelectionStart sets the selection start.

func (*DOMHTMLTextAreaElement) WithTabIndex added in v0.17.0

func (dtae *DOMHTMLTextAreaElement) WithTabIndex(tabIndex int) *DOMHTMLTextAreaElement

WithTabIndex sets the tab index.

func (*DOMHTMLTextAreaElement) WithTextContent added in v0.17.0

func (dtae *DOMHTMLTextAreaElement) WithTextContent(textContent string) *DOMHTMLTextAreaElement

WithTextContent sets the text content.

func (*DOMHTMLTextAreaElement) WithTitle added in v0.17.0

func (dtae *DOMHTMLTextAreaElement) WithTitle(title string) *DOMHTMLTextAreaElement

WithTitle sets the title.

func (*DOMHTMLTextAreaElement) WithValue added in v0.17.0

func (dtae *DOMHTMLTextAreaElement) WithValue(value string) *DOMHTMLTextAreaElement

WithValue sets the value.

type DOMHTMLTitleElement

type DOMHTMLTitleElement struct {
	DOMHTMLElement
}

DOMHTMLTitleElement is an idiomatic wrapper over the Objective-C class DOMHTMLTitleElement.

It embeds DOMHTMLElement, promoting that type's methods.

func DOMHTMLTitleElementFromID

func DOMHTMLTitleElementFromID(id objc.ID) *DOMHTMLTitleElement

DOMHTMLTitleElementFromID adopts an existing Objective-C object as a DOMHTMLTitleElement (nil for 0), retaining it and registering a release finalizer.

func NewDOMHTMLTitleElement added in v0.17.0

func NewDOMHTMLTitleElement() *DOMHTMLTitleElement

NewDOMHTMLTitleElement creates a new DOMHTMLTitleElement.

func (*DOMHTMLTitleElement) Text

func (dte *DOMHTMLTitleElement) Text() string

Text returns the text.

func (*DOMHTMLTitleElement) WithAccessKey added in v0.17.0

func (dte *DOMHTMLTitleElement) WithAccessKey(accessKey string) *DOMHTMLTitleElement

WithAccessKey sets the access key.

func (*DOMHTMLTitleElement) WithClassName added in v0.17.0

func (dte *DOMHTMLTitleElement) WithClassName(className string) *DOMHTMLTitleElement

WithClassName sets the class name.

func (*DOMHTMLTitleElement) WithContentEditable added in v0.17.0

func (dte *DOMHTMLTitleElement) WithContentEditable(contentEditable string) *DOMHTMLTitleElement

WithContentEditable sets the content editable.

func (*DOMHTMLTitleElement) WithDir added in v0.17.0

func (dte *DOMHTMLTitleElement) WithDir(dir string) *DOMHTMLTitleElement

WithDir sets the dir.

func (*DOMHTMLTitleElement) WithIDName added in v0.17.0

func (dte *DOMHTMLTitleElement) WithIDName(idName string) *DOMHTMLTitleElement

WithIDName sets the ID name.

func (*DOMHTMLTitleElement) WithInnerHTML added in v0.17.0

func (dte *DOMHTMLTitleElement) WithInnerHTML(innerHTML string) *DOMHTMLTitleElement

WithInnerHTML sets the inner HTML.

func (*DOMHTMLTitleElement) WithInnerText added in v0.17.0

func (dte *DOMHTMLTitleElement) WithInnerText(innerText string) *DOMHTMLTitleElement

WithInnerText sets the inner text.

func (*DOMHTMLTitleElement) WithLang added in v0.17.0

func (dte *DOMHTMLTitleElement) WithLang(lang string) *DOMHTMLTitleElement

WithLang sets the lang.

func (*DOMHTMLTitleElement) WithNodeValue added in v0.17.0

func (dte *DOMHTMLTitleElement) WithNodeValue(nodeValue string) *DOMHTMLTitleElement

WithNodeValue sets the node value.

func (*DOMHTMLTitleElement) WithOuterHTML added in v0.17.0

func (dte *DOMHTMLTitleElement) WithOuterHTML(outerHTML string) *DOMHTMLTitleElement

WithOuterHTML sets the outer HTML.

func (*DOMHTMLTitleElement) WithOuterText added in v0.17.0

func (dte *DOMHTMLTitleElement) WithOuterText(outerText string) *DOMHTMLTitleElement

WithOuterText sets the outer text.

func (*DOMHTMLTitleElement) WithPrefix added in v0.17.0

func (dte *DOMHTMLTitleElement) WithPrefix(prefix string) *DOMHTMLTitleElement

WithPrefix sets the prefix.

func (*DOMHTMLTitleElement) WithScrollLeft added in v0.17.0

func (dte *DOMHTMLTitleElement) WithScrollLeft(scrollLeft int) *DOMHTMLTitleElement

WithScrollLeft sets the scroll left.

func (*DOMHTMLTitleElement) WithScrollTop added in v0.17.0

func (dte *DOMHTMLTitleElement) WithScrollTop(scrollTop int) *DOMHTMLTitleElement

WithScrollTop sets the scroll top.

func (*DOMHTMLTitleElement) WithTabIndex added in v0.17.0

func (dte *DOMHTMLTitleElement) WithTabIndex(tabIndex int) *DOMHTMLTitleElement

WithTabIndex sets the tab index.

func (*DOMHTMLTitleElement) WithText added in v0.17.0

func (dte *DOMHTMLTitleElement) WithText(text string) *DOMHTMLTitleElement

WithText sets the text.

func (*DOMHTMLTitleElement) WithTextContent added in v0.17.0

func (dte *DOMHTMLTitleElement) WithTextContent(textContent string) *DOMHTMLTitleElement

WithTextContent sets the text content.

func (*DOMHTMLTitleElement) WithTitle added in v0.17.0

func (dte *DOMHTMLTitleElement) WithTitle(title string) *DOMHTMLTitleElement

WithTitle sets the title.

type DOMHTMLUListElement

type DOMHTMLUListElement struct {
	DOMHTMLElement
}

DOMHTMLUListElement is an idiomatic wrapper over the Objective-C class DOMHTMLUListElement.

It embeds DOMHTMLElement, promoting that type's methods.

func DOMHTMLUListElementFromID

func DOMHTMLUListElementFromID(id objc.ID) *DOMHTMLUListElement

DOMHTMLUListElementFromID adopts an existing Objective-C object as a DOMHTMLUListElement (nil for 0), retaining it and registering a release finalizer.

func NewDOMHTMLUListElement added in v0.17.0

func NewDOMHTMLUListElement() *DOMHTMLUListElement

NewDOMHTMLUListElement creates a new DOMHTMLUListElement.

func (*DOMHTMLUListElement) Compact

func (dle *DOMHTMLUListElement) Compact() bool

Compact wraps the corresponding Objective-C method.

func (*DOMHTMLUListElement) Type

func (dle *DOMHTMLUListElement) Type() string

Type returns the type.

func (*DOMHTMLUListElement) WithAccessKey added in v0.17.0

func (dle *DOMHTMLUListElement) WithAccessKey(accessKey string) *DOMHTMLUListElement

WithAccessKey sets the access key.

func (*DOMHTMLUListElement) WithClassName added in v0.17.0

func (dle *DOMHTMLUListElement) WithClassName(className string) *DOMHTMLUListElement

WithClassName sets the class name.

func (*DOMHTMLUListElement) WithCompact added in v0.17.0

func (dle *DOMHTMLUListElement) WithCompact(compact bool) *DOMHTMLUListElement

WithCompact sets the compact.

func (*DOMHTMLUListElement) WithContentEditable added in v0.17.0

func (dle *DOMHTMLUListElement) WithContentEditable(contentEditable string) *DOMHTMLUListElement

WithContentEditable sets the content editable.

func (*DOMHTMLUListElement) WithDir added in v0.17.0

func (dle *DOMHTMLUListElement) WithDir(dir string) *DOMHTMLUListElement

WithDir sets the dir.

func (*DOMHTMLUListElement) WithIDName added in v0.17.0

func (dle *DOMHTMLUListElement) WithIDName(idName string) *DOMHTMLUListElement

WithIDName sets the ID name.

func (*DOMHTMLUListElement) WithInnerHTML added in v0.17.0

func (dle *DOMHTMLUListElement) WithInnerHTML(innerHTML string) *DOMHTMLUListElement

WithInnerHTML sets the inner HTML.

func (*DOMHTMLUListElement) WithInnerText added in v0.17.0

func (dle *DOMHTMLUListElement) WithInnerText(innerText string) *DOMHTMLUListElement

WithInnerText sets the inner text.

func (*DOMHTMLUListElement) WithLang added in v0.17.0

func (dle *DOMHTMLUListElement) WithLang(lang string) *DOMHTMLUListElement

WithLang sets the lang.

func (*DOMHTMLUListElement) WithNodeValue added in v0.17.0

func (dle *DOMHTMLUListElement) WithNodeValue(nodeValue string) *DOMHTMLUListElement

WithNodeValue sets the node value.

func (*DOMHTMLUListElement) WithOuterHTML added in v0.17.0

func (dle *DOMHTMLUListElement) WithOuterHTML(outerHTML string) *DOMHTMLUListElement

WithOuterHTML sets the outer HTML.

func (*DOMHTMLUListElement) WithOuterText added in v0.17.0

func (dle *DOMHTMLUListElement) WithOuterText(outerText string) *DOMHTMLUListElement

WithOuterText sets the outer text.

func (*DOMHTMLUListElement) WithPrefix added in v0.17.0

func (dle *DOMHTMLUListElement) WithPrefix(prefix string) *DOMHTMLUListElement

WithPrefix sets the prefix.

func (*DOMHTMLUListElement) WithScrollLeft added in v0.17.0

func (dle *DOMHTMLUListElement) WithScrollLeft(scrollLeft int) *DOMHTMLUListElement

WithScrollLeft sets the scroll left.

func (*DOMHTMLUListElement) WithScrollTop added in v0.17.0

func (dle *DOMHTMLUListElement) WithScrollTop(scrollTop int) *DOMHTMLUListElement

WithScrollTop sets the scroll top.

func (*DOMHTMLUListElement) WithTabIndex added in v0.17.0

func (dle *DOMHTMLUListElement) WithTabIndex(tabIndex int) *DOMHTMLUListElement

WithTabIndex sets the tab index.

func (*DOMHTMLUListElement) WithTextContent added in v0.17.0

func (dle *DOMHTMLUListElement) WithTextContent(textContent string) *DOMHTMLUListElement

WithTextContent sets the text content.

func (*DOMHTMLUListElement) WithTitle added in v0.17.0

func (dle *DOMHTMLUListElement) WithTitle(title string) *DOMHTMLUListElement

WithTitle sets the title.

func (*DOMHTMLUListElement) WithType added in v0.17.0

func (dle *DOMHTMLUListElement) WithType(type_ string) *DOMHTMLUListElement

WithType sets the type.

type DOMImplementation

type DOMImplementation struct {
	DOMObject
}

DOMImplementation is an idiomatic wrapper over the Objective-C class DOMImplementation.

It embeds DOMObject, promoting that type's methods.

func DOMImplementationFromID

func DOMImplementationFromID(id objc.ID) *DOMImplementation

DOMImplementationFromID adopts an existing Objective-C object as a DOMImplementation (nil for 0), retaining it and registering a release finalizer.

func NewDOMImplementation added in v0.17.0

func NewDOMImplementation() *DOMImplementation

NewDOMImplementation creates a new DOMImplementation.

func (*DOMImplementation) CreateCSSStyleSheet

func (di *DOMImplementation) CreateCSSStyleSheet(title string, media string) *DOMCSSStyleSheet

CreateCSSStyleSheet creates CSS style sheet.

func (*DOMImplementation) CreateCSSStyleSheetMedia

func (di *DOMImplementation) CreateCSSStyleSheetMedia(title string, media string) *DOMCSSStyleSheet

CreateCSSStyleSheetMedia creates CSS style sheet media.

func (*DOMImplementation) CreateDocument

func (di *DOMImplementation) CreateDocument(namespaceURI string, qualifiedName string, doctype *DOMDocumentType) *DOMDocument

CreateDocument creates document.

func (*DOMImplementation) CreateDocumentQualifiedNameDoctype

func (di *DOMImplementation) CreateDocumentQualifiedNameDoctype(namespaceURI string, qualifiedName string, doctype *DOMDocumentType) *DOMDocument

CreateDocumentQualifiedNameDoctype creates document qualified name doctype.

func (*DOMImplementation) CreateDocumentType

func (di *DOMImplementation) CreateDocumentType(qualifiedName string, publicId string, systemId string) *DOMDocumentType

CreateDocumentType creates document type.

func (*DOMImplementation) CreateDocumentTypePublicIDSystemID added in v0.17.0

func (di *DOMImplementation) CreateDocumentTypePublicIDSystemID(qualifiedName string, publicId string, systemId string) *DOMDocumentType

CreateDocumentTypePublicIDSystemID creates document type public ID system ID.

func (*DOMImplementation) CreateHTMLDocument

func (di *DOMImplementation) CreateHTMLDocument(title string) *DOMHTMLDocument

CreateHTMLDocument creates HTML document.

func (*DOMImplementation) HasFeature

func (di *DOMImplementation) HasFeature(feature string, version string) bool

HasFeature wraps the corresponding Objective-C method.

func (*DOMImplementation) HasFeatureVersion

func (di *DOMImplementation) HasFeatureVersion(feature string, version string) bool

HasFeatureVersion wraps the corresponding Objective-C method.

type DOMKeyboardEvent

type DOMKeyboardEvent struct {
	DOMUIEvent
}

DOMKeyboardEvent is an idiomatic wrapper over the Objective-C class DOMKeyboardEvent.

It embeds DOMUIEvent, promoting that type's methods.

func DOMKeyboardEventFromID

func DOMKeyboardEventFromID(id objc.ID) *DOMKeyboardEvent

DOMKeyboardEventFromID adopts an existing Objective-C object as a DOMKeyboardEvent (nil for 0), retaining it and registering a release finalizer.

func NewDOMKeyboardEventKeyboardEventCanBubbleCancelableViewKeyIdentifierKeyLocationCtrlKeyAltKeyShiftKeyMetaKey added in v0.17.0

func NewDOMKeyboardEventKeyboardEventCanBubbleCancelableViewKeyIdentifierKeyLocationCtrlKeyAltKeyShiftKeyMetaKey(type_ string, canBubble bool, cancelable bool, view *DOMAbstractView, keyIdentifier string, keyLocation int, ctrlKey bool, altKey bool, shiftKey bool, metaKey bool) *DOMKeyboardEvent

NewDOMKeyboardEventKeyboardEventCanBubbleCancelableViewKeyIdentifierKeyLocationCtrlKeyAltKeyShiftKeyMetaKey creates a new DOMKeyboardEvent.

func NewDOMKeyboardEventKeyboardEventCanBubbleCancelableViewKeyIdentifierKeyLocationCtrlKeyAltKeyShiftKeyMetaKeyAltGraphKey added in v0.17.0

func NewDOMKeyboardEventKeyboardEventCanBubbleCancelableViewKeyIdentifierKeyLocationCtrlKeyAltKeyShiftKeyMetaKeyAltGraphKey(type_ string, canBubble bool, cancelable bool, view *DOMAbstractView, keyIdentifier string, keyLocation int, ctrlKey bool, altKey bool, shiftKey bool, metaKey bool, altGraphKey bool) *DOMKeyboardEvent

NewDOMKeyboardEventKeyboardEventCanBubbleCancelableViewKeyIdentifierKeyLocationCtrlKeyAltKeyShiftKeyMetaKeyAltGraphKey creates a new DOMKeyboardEvent.

func NewDOMKeyboardEventKeyboardEventCanBubbleCancelableViewKeyIdentifierLocationCtrlKeyAltKeyShiftKeyMetaKey added in v0.17.0

func NewDOMKeyboardEventKeyboardEventCanBubbleCancelableViewKeyIdentifierLocationCtrlKeyAltKeyShiftKeyMetaKey(type_ string, canBubble bool, cancelable bool, view *DOMAbstractView, keyIdentifier string, location int, ctrlKey bool, altKey bool, shiftKey bool, metaKey bool) *DOMKeyboardEvent

NewDOMKeyboardEventKeyboardEventCanBubbleCancelableViewKeyIdentifierLocationCtrlKeyAltKeyShiftKeyMetaKey creates a new DOMKeyboardEvent.

func NewDOMKeyboardEventKeyboardEventCanBubbleCancelableViewKeyIdentifierLocationCtrlKeyAltKeyShiftKeyMetaKeyAltGraphKey added in v0.17.0

func NewDOMKeyboardEventKeyboardEventCanBubbleCancelableViewKeyIdentifierLocationCtrlKeyAltKeyShiftKeyMetaKeyAltGraphKey(type_ string, canBubble bool, cancelable bool, view *DOMAbstractView, keyIdentifier string, location int, ctrlKey bool, altKey bool, shiftKey bool, metaKey bool, altGraphKey bool) *DOMKeyboardEvent

NewDOMKeyboardEventKeyboardEventCanBubbleCancelableViewKeyIdentifierLocationCtrlKeyAltKeyShiftKeyMetaKeyAltGraphKey creates a new DOMKeyboardEvent.

func (*DOMKeyboardEvent) AltGraphKey

func (dke *DOMKeyboardEvent) AltGraphKey() bool

AltGraphKey wraps the corresponding Objective-C method.

func (*DOMKeyboardEvent) AltKey

func (dke *DOMKeyboardEvent) AltKey() bool

AltKey wraps the corresponding Objective-C method.

func (*DOMKeyboardEvent) CtrlKey

func (dke *DOMKeyboardEvent) CtrlKey() bool

CtrlKey wraps the corresponding Objective-C method.

func (*DOMKeyboardEvent) GetModifierState

func (dke *DOMKeyboardEvent) GetModifierState(keyIdentifierArg string) bool

GetModifierState wraps the corresponding Objective-C method.

func (*DOMKeyboardEvent) KeyIdentifier

func (dke *DOMKeyboardEvent) KeyIdentifier() string

KeyIdentifier returns the key identifier.

func (*DOMKeyboardEvent) KeyLocation

func (dke *DOMKeyboardEvent) KeyLocation() int

KeyLocation returns the key location.

func (*DOMKeyboardEvent) Location

func (dke *DOMKeyboardEvent) Location() int

Location returns the location.

func (*DOMKeyboardEvent) MetaKey

func (dke *DOMKeyboardEvent) MetaKey() bool

MetaKey wraps the corresponding Objective-C method.

func (*DOMKeyboardEvent) ShiftKey

func (dke *DOMKeyboardEvent) ShiftKey() bool

ShiftKey wraps the corresponding Objective-C method.

func (*DOMKeyboardEvent) WithCancelBubble added in v0.17.0

func (dke *DOMKeyboardEvent) WithCancelBubble(cancelBubble bool) *DOMKeyboardEvent

WithCancelBubble sets the cancel bubble.

func (*DOMKeyboardEvent) WithReturnValue added in v0.17.0

func (dke *DOMKeyboardEvent) WithReturnValue(returnValue bool) *DOMKeyboardEvent

WithReturnValue sets the return value.

type DOMMediaList

type DOMMediaList struct {
	DOMObject
}

DOMMediaList is an idiomatic wrapper over the Objective-C class DOMMediaList.

It embeds DOMObject, promoting that type's methods.

func DOMMediaListFromID

func DOMMediaListFromID(id objc.ID) *DOMMediaList

DOMMediaListFromID adopts an existing Objective-C object as a DOMMediaList (nil for 0), retaining it and registering a release finalizer.

func NewDOMMediaList added in v0.17.0

func NewDOMMediaList() *DOMMediaList

NewDOMMediaList creates a new DOMMediaList.

func (*DOMMediaList) AppendMedium

func (dml *DOMMediaList) AppendMedium(newMedium string)

AppendMedium appends medium.

func (*DOMMediaList) DeleteMedium

func (dml *DOMMediaList) DeleteMedium(oldMedium string)

DeleteMedium deletes medium.

func (*DOMMediaList) Item

func (dml *DOMMediaList) Item(index int) string

Item wraps the corresponding Objective-C method.

func (*DOMMediaList) Length

func (dml *DOMMediaList) Length() int

Length returns the length.

func (*DOMMediaList) MediaText

func (dml *DOMMediaList) MediaText() string

MediaText returns the media text.

func (*DOMMediaList) WithMediaText added in v0.17.0

func (dml *DOMMediaList) WithMediaText(mediaText string) *DOMMediaList

WithMediaText sets the media text.

type DOMMouseEvent

type DOMMouseEvent struct {
	DOMUIEvent
}

DOMMouseEvent is an idiomatic wrapper over the Objective-C class DOMMouseEvent.

DOMMouseEvent is an abstract base — you do not construct it directly. Construct one of DOMWheelEvent and pass it where a DOMMouseEvent is accepted.

func DOMMouseEventFromID

func DOMMouseEventFromID(id objc.ID) *DOMMouseEvent

DOMMouseEventFromID adopts an existing Objective-C object as a DOMMouseEvent (nil for 0), retaining it and registering a release finalizer.

func (*DOMMouseEvent) AltKey

func (dme *DOMMouseEvent) AltKey() bool

AltKey wraps the corresponding Objective-C method.

func (*DOMMouseEvent) Button

func (dme *DOMMouseEvent) Button() int16

Button returns the button.

func (*DOMMouseEvent) ClientX

func (dme *DOMMouseEvent) ClientX() int

ClientX returns the client x.

func (*DOMMouseEvent) ClientY

func (dme *DOMMouseEvent) ClientY() int

ClientY returns the client y.

func (*DOMMouseEvent) CtrlKey

func (dme *DOMMouseEvent) CtrlKey() bool

CtrlKey wraps the corresponding Objective-C method.

func (*DOMMouseEvent) FromElement

func (dme *DOMMouseEvent) FromElement() *DOMNode

FromElement returns the from element.

func (*DOMMouseEvent) MetaKey

func (dme *DOMMouseEvent) MetaKey() bool

MetaKey wraps the corresponding Objective-C method.

func (*DOMMouseEvent) OffsetX

func (dme *DOMMouseEvent) OffsetX() int

OffsetX returns the offset x.

func (*DOMMouseEvent) OffsetY

func (dme *DOMMouseEvent) OffsetY() int

OffsetY returns the offset y.

func (*DOMMouseEvent) ScreenX

func (dme *DOMMouseEvent) ScreenX() int

ScreenX returns the screen x.

func (*DOMMouseEvent) ScreenY

func (dme *DOMMouseEvent) ScreenY() int

ScreenY returns the screen y.

func (*DOMMouseEvent) ShiftKey

func (dme *DOMMouseEvent) ShiftKey() bool

ShiftKey wraps the corresponding Objective-C method.

func (*DOMMouseEvent) ToElement

func (dme *DOMMouseEvent) ToElement() *DOMNode

ToElement returns the to element.

func (*DOMMouseEvent) WithCancelBubble added in v0.17.0

func (dme *DOMMouseEvent) WithCancelBubble(cancelBubble bool) *DOMMouseEvent

WithCancelBubble sets the cancel bubble.

func (*DOMMouseEvent) WithReturnValue added in v0.17.0

func (dme *DOMMouseEvent) WithReturnValue(returnValue bool) *DOMMouseEvent

WithReturnValue sets the return value.

func (*DOMMouseEvent) X

func (dme *DOMMouseEvent) X() int

X returns the x.

func (*DOMMouseEvent) Y

func (dme *DOMMouseEvent) Y() int

Y returns the y.

type DOMMouseEventProvider added in v0.17.0

type DOMMouseEventProvider interface {
	objref.Object
	// contains filtered or unexported methods
}

DOMMouseEventProvider is accepted wherever a DOMMouseEvent (or one of its subclasses) is expected.

type DOMMutationEvent

type DOMMutationEvent struct {
	DOMEvent
}

DOMMutationEvent is an idiomatic wrapper over the Objective-C class DOMMutationEvent.

It embeds DOMEvent, promoting that type's methods.

func DOMMutationEventFromID

func DOMMutationEventFromID(id objc.ID) *DOMMutationEvent

DOMMutationEventFromID adopts an existing Objective-C object as a DOMMutationEvent (nil for 0), retaining it and registering a release finalizer.

func NewDOMMutationEventMutationEvent added in v0.17.0

func NewDOMMutationEventMutationEvent(type_ string, canBubble bool, cancelable bool, relatedNode *DOMNode, prevValue string, newValue string, attrName string, attrChange uint16) *DOMMutationEvent

NewDOMMutationEventMutationEvent creates a new DOMMutationEvent.

func NewDOMMutationEventMutationEventCanBubbleCancelableRelatedNodePrevValueNewValueAttrNameAttrChange added in v0.17.0

func NewDOMMutationEventMutationEventCanBubbleCancelableRelatedNodePrevValueNewValueAttrNameAttrChange(type_ string, canBubble bool, cancelable bool, relatedNode *DOMNode, prevValue string, newValue string, attrName string, attrChange uint16) *DOMMutationEvent

NewDOMMutationEventMutationEventCanBubbleCancelableRelatedNodePrevValueNewValueAttrNameAttrChange creates a new DOMMutationEvent.

func (*DOMMutationEvent) AttrChange

func (dme *DOMMutationEvent) AttrChange() uint16

AttrChange returns the attr change.

func (*DOMMutationEvent) AttrName

func (dme *DOMMutationEvent) AttrName() string

AttrName returns the attr name.

func (*DOMMutationEvent) NewValue

func (dme *DOMMutationEvent) NewValue() string

NewValue returns the new value.

func (*DOMMutationEvent) PrevValue

func (dme *DOMMutationEvent) PrevValue() string

PrevValue returns the prev value.

func (*DOMMutationEvent) RelatedNode

func (dme *DOMMutationEvent) RelatedNode() *DOMNode

RelatedNode returns the related node.

func (*DOMMutationEvent) WithCancelBubble added in v0.17.0

func (dme *DOMMutationEvent) WithCancelBubble(cancelBubble bool) *DOMMutationEvent

WithCancelBubble sets the cancel bubble.

func (*DOMMutationEvent) WithReturnValue added in v0.17.0

func (dme *DOMMutationEvent) WithReturnValue(returnValue bool) *DOMMutationEvent

WithReturnValue sets the return value.

type DOMNamedNodeMap

type DOMNamedNodeMap struct {
	DOMObject
}

DOMNamedNodeMap is an idiomatic wrapper over the Objective-C class DOMNamedNodeMap.

It embeds DOMObject, promoting that type's methods.

func DOMNamedNodeMapFromID

func DOMNamedNodeMapFromID(id objc.ID) *DOMNamedNodeMap

DOMNamedNodeMapFromID adopts an existing Objective-C object as a DOMNamedNodeMap (nil for 0), retaining it and registering a release finalizer.

func NewDOMNamedNodeMap added in v0.17.0

func NewDOMNamedNodeMap() *DOMNamedNodeMap

NewDOMNamedNodeMap creates a new DOMNamedNodeMap.

func (*DOMNamedNodeMap) GetNamedItem

func (dnnm *DOMNamedNodeMap) GetNamedItem(name string) *DOMNode

GetNamedItem wraps the corresponding Objective-C method.

func (*DOMNamedNodeMap) GetNamedItemNS

func (dnnm *DOMNamedNodeMap) GetNamedItemNS(namespaceURI string, localName string) *DOMNode

GetNamedItemNS wraps the corresponding Objective-C method.

func (*DOMNamedNodeMap) GetNamedItemNSLocalName

func (dnnm *DOMNamedNodeMap) GetNamedItemNSLocalName(namespaceURI string, localName string) *DOMNode

GetNamedItemNSLocalName wraps the corresponding Objective-C method.

func (*DOMNamedNodeMap) Item

func (dnnm *DOMNamedNodeMap) Item(index int) *DOMNode

Item wraps the corresponding Objective-C method.

func (*DOMNamedNodeMap) Length

func (dnnm *DOMNamedNodeMap) Length() int

Length returns the length.

func (*DOMNamedNodeMap) RemoveNamedItem

func (dnnm *DOMNamedNodeMap) RemoveNamedItem(name string) *DOMNode

RemoveNamedItem removes named item.

func (*DOMNamedNodeMap) RemoveNamedItemNS

func (dnnm *DOMNamedNodeMap) RemoveNamedItemNS(namespaceURI string, localName string) *DOMNode

RemoveNamedItemNS removes named item ns.

func (*DOMNamedNodeMap) RemoveNamedItemNSLocalName

func (dnnm *DOMNamedNodeMap) RemoveNamedItemNSLocalName(namespaceURI string, localName string) *DOMNode

RemoveNamedItemNSLocalName removes named item ns local name.

func (*DOMNamedNodeMap) SetNamedItem

func (dnnm *DOMNamedNodeMap) SetNamedItem(node *DOMNode) *DOMNode

SetNamedItem wraps the corresponding Objective-C method.

func (*DOMNamedNodeMap) SetNamedItemNS

func (dnnm *DOMNamedNodeMap) SetNamedItemNS(node *DOMNode) *DOMNode

SetNamedItemNS wraps the corresponding Objective-C method.

type DOMNode

type DOMNode struct {
	DOMObject
}

DOMNode is an idiomatic wrapper over the Objective-C class DOMNode.

DOMNode is an abstract base — you do not construct it directly. Construct one of DOMAttr, DOMCharacterData, DOMDocumentFragment, DOMDocumentType, DOMDocument, DOMElement, DOMEntityReference, DOMEntity and pass it where a DOMNode is accepted.

func DOMNodeFromID

func DOMNodeFromID(id objc.ID) *DOMNode

DOMNodeFromID adopts an existing Objective-C object as a DOMNode (nil for 0), retaining it and registering a release finalizer.

func (*DOMNode) AppendChild

func (dn *DOMNode) AppendChild(newChild *DOMNode) *DOMNode

AppendChild appends child.

func (*DOMNode) Attributes

func (dn *DOMNode) Attributes() *DOMNamedNodeMap

Attributes returns the attributes.

func (*DOMNode) BaseURI

func (dn *DOMNode) BaseURI() string

BaseURI returns the base URI.

func (*DOMNode) BoundingBox

func (dn *DOMNode) BoundingBox() corefoundation.CGRect

BoundingBox returns a rectangle that bounds the onscreen rendering of the node.

func (*DOMNode) ChildNodes

func (dn *DOMNode) ChildNodes() *DOMNodeList

ChildNodes returns the child nodes.

func (*DOMNode) CloneNode

func (dn *DOMNode) CloneNode(deep bool) *DOMNode

CloneNode wraps the corresponding Objective-C method.

func (*DOMNode) CompareDocumentPosition

func (dn *DOMNode) CompareDocumentPosition(other *DOMNode) uint16

CompareDocumentPosition wraps the corresponding Objective-C method.

func (*DOMNode) Contains

func (dn *DOMNode) Contains(other *DOMNode) bool

Contains wraps the corresponding Objective-C method.

func (*DOMNode) FirstChild

func (dn *DOMNode) FirstChild() *DOMNode

FirstChild returns the first child.

func (*DOMNode) HasAttributes

func (dn *DOMNode) HasAttributes() bool

HasAttributes reports whether the object has attributes.

func (*DOMNode) HasChildNodes

func (dn *DOMNode) HasChildNodes() bool

HasChildNodes reports whether the object has child nodes.

func (*DOMNode) InsertBefore

func (dn *DOMNode) InsertBefore(newChild *DOMNode, refChild *DOMNode) *DOMNode

InsertBefore inserts before.

func (*DOMNode) InsertBeforeRefChild

func (dn *DOMNode) InsertBeforeRefChild(newChild *DOMNode, refChild *DOMNode) *DOMNode

InsertBeforeRefChild inserts before ref child.

func (*DOMNode) IsContentEditable

func (dn *DOMNode) IsContentEditable() bool

IsContentEditable reports whether the object is content editable.

func (*DOMNode) IsDefaultNamespace

func (dn *DOMNode) IsDefaultNamespace(namespaceURI string) bool

IsDefaultNamespace wraps the corresponding Objective-C method.

func (*DOMNode) IsEqualNode

func (dn *DOMNode) IsEqualNode(other *DOMNode) bool

IsEqualNode wraps the corresponding Objective-C method.

func (*DOMNode) IsSameNode

func (dn *DOMNode) IsSameNode(other *DOMNode) bool

IsSameNode wraps the corresponding Objective-C method.

func (*DOMNode) IsSupported

func (dn *DOMNode) IsSupported(feature string, version string) bool

IsSupported wraps the corresponding Objective-C method.

func (*DOMNode) IsSupportedVersion

func (dn *DOMNode) IsSupportedVersion(feature string, version string) bool

IsSupportedVersion wraps the corresponding Objective-C method.

func (*DOMNode) LastChild

func (dn *DOMNode) LastChild() *DOMNode

LastChild returns the last child.

func (*DOMNode) LineBoxRects

func (dn *DOMNode) LineBoxRects() obj.Object

LineBoxRects returns the rectangles that bound each line of text in the node.

func (*DOMNode) LocalName

func (dn *DOMNode) LocalName() string

LocalName returns the local name.

func (*DOMNode) LookupNamespaceURI

func (dn *DOMNode) LookupNamespaceURI(prefix string) string

LookupNamespaceURI wraps the corresponding Objective-C method.

func (*DOMNode) LookupPrefix

func (dn *DOMNode) LookupPrefix(namespaceURI string) string

LookupPrefix wraps the corresponding Objective-C method.

func (*DOMNode) NamespaceURI

func (dn *DOMNode) NamespaceURI() string

NamespaceURI returns the namespace URI.

func (*DOMNode) NextSibling

func (dn *DOMNode) NextSibling() *DOMNode

NextSibling returns the next sibling.

func (*DOMNode) NodeName

func (dn *DOMNode) NodeName() string

NodeName returns the node name.

func (*DOMNode) NodeType

func (dn *DOMNode) NodeType() uint16

NodeType returns the node type.

func (*DOMNode) NodeValue

func (dn *DOMNode) NodeValue() string

NodeValue returns the node value.

func (*DOMNode) Normalize

func (dn *DOMNode) Normalize()

Normalize wraps the corresponding Objective-C method.

func (*DOMNode) OwnerDocument

func (dn *DOMNode) OwnerDocument() *DOMDocument

OwnerDocument returns the owner document.

func (*DOMNode) ParentElement

func (dn *DOMNode) ParentElement() *DOMElement

ParentElement returns the parent element.

func (*DOMNode) ParentNode

func (dn *DOMNode) ParentNode() *DOMNode

ParentNode returns the parent node.

func (*DOMNode) Prefix

func (dn *DOMNode) Prefix() string

Prefix returns the prefix.

func (*DOMNode) PreviousSibling

func (dn *DOMNode) PreviousSibling() *DOMNode

PreviousSibling returns the previous sibling.

func (*DOMNode) RemoveChild

func (dn *DOMNode) RemoveChild(oldChild *DOMNode) *DOMNode

RemoveChild removes child.

func (*DOMNode) ReplaceChild

func (dn *DOMNode) ReplaceChild(newChild *DOMNode, oldChild *DOMNode) *DOMNode

ReplaceChild replaces child.

func (*DOMNode) ReplaceChildOldChild

func (dn *DOMNode) ReplaceChildOldChild(newChild *DOMNode, oldChild *DOMNode) *DOMNode

ReplaceChildOldChild replaces child old child.

func (*DOMNode) TextContent

func (dn *DOMNode) TextContent() string

TextContent returns the text content.

func (*DOMNode) WebArchive

func (dn *DOMNode) WebArchive() *WebArchive

WebArchive returns the web archive.

func (*DOMNode) WithNodeValue added in v0.17.0

func (dn *DOMNode) WithNodeValue(nodeValue string) *DOMNode

WithNodeValue sets the node value.

func (*DOMNode) WithPrefix added in v0.17.0

func (dn *DOMNode) WithPrefix(prefix string) *DOMNode

WithPrefix sets the prefix.

func (*DOMNode) WithTextContent added in v0.17.0

func (dn *DOMNode) WithTextContent(textContent string) *DOMNode

WithTextContent sets the text content.

type DOMNodeFilter

type DOMNodeFilter interface {
}

DOMNodeFilter is the Go form of the Objective-C protocol DOMNodeFilter.

type DOMNodeIterator

type DOMNodeIterator struct {
	DOMObject
}

DOMNodeIterator is an idiomatic wrapper over the Objective-C class DOMNodeIterator.

It embeds DOMObject, promoting that type's methods.

func DOMNodeIteratorFromID

func DOMNodeIteratorFromID(id objc.ID) *DOMNodeIterator

DOMNodeIteratorFromID adopts an existing Objective-C object as a DOMNodeIterator (nil for 0), retaining it and registering a release finalizer.

func NewDOMNodeIterator added in v0.17.0

func NewDOMNodeIterator() *DOMNodeIterator

NewDOMNodeIterator creates a new DOMNodeIterator.

func (*DOMNodeIterator) Detach

func (dni *DOMNodeIterator) Detach()

Detach wraps the corresponding Objective-C method.

func (*DOMNodeIterator) ExpandEntityReferences

func (dni *DOMNodeIterator) ExpandEntityReferences() bool

ExpandEntityReferences wraps the corresponding Objective-C method.

func (*DOMNodeIterator) NextNode

func (dni *DOMNodeIterator) NextNode() *DOMNode

NextNode returns the next node.

func (*DOMNodeIterator) PointerBeforeReferenceNode

func (dni *DOMNodeIterator) PointerBeforeReferenceNode() bool

PointerBeforeReferenceNode wraps the corresponding Objective-C method.

func (*DOMNodeIterator) PreviousNode

func (dni *DOMNodeIterator) PreviousNode() *DOMNode

PreviousNode returns the previous node.

func (*DOMNodeIterator) ReferenceNode

func (dni *DOMNodeIterator) ReferenceNode() *DOMNode

ReferenceNode returns the reference node.

func (*DOMNodeIterator) Root

func (dni *DOMNodeIterator) Root() *DOMNode

Root returns the root.

func (*DOMNodeIterator) WhatToShow

func (dni *DOMNodeIterator) WhatToShow() int

WhatToShow returns the what to show.

type DOMNodeList

type DOMNodeList struct {
	DOMObject
}

DOMNodeList is an idiomatic wrapper over the Objective-C class DOMNodeList.

It embeds DOMObject, promoting that type's methods.

func DOMNodeListFromID

func DOMNodeListFromID(id objc.ID) *DOMNodeList

DOMNodeListFromID adopts an existing Objective-C object as a DOMNodeList (nil for 0), retaining it and registering a release finalizer.

func NewDOMNodeList added in v0.17.0

func NewDOMNodeList() *DOMNodeList

NewDOMNodeList creates a new DOMNodeList.

func (*DOMNodeList) Item

func (dnl *DOMNodeList) Item(index int) *DOMNode

Item wraps the corresponding Objective-C method.

func (*DOMNodeList) Length

func (dnl *DOMNodeList) Length() int

Length returns the length.

type DOMNodeProvider added in v0.17.0

type DOMNodeProvider interface {
	objref.Object
	// contains filtered or unexported methods
}

DOMNodeProvider is accepted wherever a DOMNode (or one of its subclasses) is expected.

type DOMObject

type DOMObject struct {
	WebScriptObject
}

DOMObject is an idiomatic wrapper over the Objective-C class DOMObject.

DOMObject is an abstract base — you do not construct it directly. Construct one of DOMAbstractView, DOMBlob, DOMCSSRuleList, DOMCSSRule, DOMCSSStyleDeclaration, DOMCSSValue, DOMCounter, DOMEvent, DOMFileList, DOMHTMLCollection, DOMHTMLOptionsCollection, DOMImplementation, DOMMediaList, DOMNamedNodeMap, DOMNodeIterator, DOMNodeList, DOMNode, DOMRGBColor, DOMRange, DOMRect, DOMStyleSheetList, DOMStyleSheet, DOMTreeWalker, DOMXPathExpression, DOMXPathResult and pass it where a DOMObject is accepted.

func DOMObjectFromID

func DOMObjectFromID(id objc.ID) *DOMObject

DOMObjectFromID adopts an existing Objective-C object as a DOMObject (nil for 0), retaining it and registering a release finalizer.

func (*DOMObject) Sheet

func (do *DOMObject) Sheet() *DOMStyleSheet

Sheet returns the sheet.

type DOMObjectInternal

type DOMObjectInternal struct{ obj.Object }

DOMObjectInternal is a handle for the opaque DOMObjectInternal type.

func (DOMObjectInternal) IsNil added in v0.18.0

func (h DOMObjectInternal) IsNil() bool

IsNil reports whether DOMObjectInternal is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.

type DOMObjectProvider added in v0.17.0

type DOMObjectProvider interface {
	objref.Object
	// contains filtered or unexported methods
}

DOMObjectProvider is accepted wherever a DOMObject (or one of its subclasses) is expected.

type DOMOverflowEvent

type DOMOverflowEvent struct {
	DOMEvent
}

DOMOverflowEvent is an idiomatic wrapper over the Objective-C class DOMOverflowEvent.

It embeds DOMEvent, promoting that type's methods.

func DOMOverflowEventFromID

func DOMOverflowEventFromID(id objc.ID) *DOMOverflowEvent

DOMOverflowEventFromID adopts an existing Objective-C object as a DOMOverflowEvent (nil for 0), retaining it and registering a release finalizer.

func NewDOMOverflowEventOverflowEventHorizontalOverflowVerticalOverflow added in v0.17.0

func NewDOMOverflowEventOverflowEventHorizontalOverflowVerticalOverflow(orient uint16, horizontalOverflow bool, verticalOverflow bool) *DOMOverflowEvent

NewDOMOverflowEventOverflowEventHorizontalOverflowVerticalOverflow creates a new DOMOverflowEvent.

func (*DOMOverflowEvent) HorizontalOverflow

func (doe *DOMOverflowEvent) HorizontalOverflow() bool

HorizontalOverflow wraps the corresponding Objective-C method.

func (*DOMOverflowEvent) Orient

func (doe *DOMOverflowEvent) Orient() uint16

Orient returns the orient.

func (*DOMOverflowEvent) VerticalOverflow

func (doe *DOMOverflowEvent) VerticalOverflow() bool

VerticalOverflow wraps the corresponding Objective-C method.

func (*DOMOverflowEvent) WithCancelBubble added in v0.17.0

func (doe *DOMOverflowEvent) WithCancelBubble(cancelBubble bool) *DOMOverflowEvent

WithCancelBubble sets the cancel bubble.

func (*DOMOverflowEvent) WithReturnValue added in v0.17.0

func (doe *DOMOverflowEvent) WithReturnValue(returnValue bool) *DOMOverflowEvent

WithReturnValue sets the return value.

type DOMProcessingInstruction

type DOMProcessingInstruction struct {
	DOMCharacterData
}

DOMProcessingInstruction is an idiomatic wrapper over the Objective-C class DOMProcessingInstruction.

It embeds DOMCharacterData, promoting that type's methods.

func DOMProcessingInstructionFromID

func DOMProcessingInstructionFromID(id objc.ID) *DOMProcessingInstruction

DOMProcessingInstructionFromID adopts an existing Objective-C object as a DOMProcessingInstruction (nil for 0), retaining it and registering a release finalizer.

func NewDOMProcessingInstruction added in v0.17.0

func NewDOMProcessingInstruction() *DOMProcessingInstruction

NewDOMProcessingInstruction creates a new DOMProcessingInstruction.

func (*DOMProcessingInstruction) Target

func (dpi *DOMProcessingInstruction) Target() string

Target returns the target.

func (*DOMProcessingInstruction) WithData added in v0.17.0

WithData sets the data.

func (*DOMProcessingInstruction) WithNodeValue added in v0.17.0

func (dpi *DOMProcessingInstruction) WithNodeValue(nodeValue string) *DOMProcessingInstruction

WithNodeValue sets the node value.

func (*DOMProcessingInstruction) WithPrefix added in v0.17.0

func (dpi *DOMProcessingInstruction) WithPrefix(prefix string) *DOMProcessingInstruction

WithPrefix sets the prefix.

func (*DOMProcessingInstruction) WithTextContent added in v0.17.0

func (dpi *DOMProcessingInstruction) WithTextContent(textContent string) *DOMProcessingInstruction

WithTextContent sets the text content.

type DOMProgressEvent

type DOMProgressEvent struct {
	DOMEvent
}

DOMProgressEvent is an idiomatic wrapper over the Objective-C class DOMProgressEvent.

It embeds DOMEvent, promoting that type's methods.

func DOMProgressEventFromID

func DOMProgressEventFromID(id objc.ID) *DOMProgressEvent

DOMProgressEventFromID adopts an existing Objective-C object as a DOMProgressEvent (nil for 0), retaining it and registering a release finalizer.

func NewDOMProgressEvent added in v0.17.0

func NewDOMProgressEvent() *DOMProgressEvent

NewDOMProgressEvent creates a new DOMProgressEvent.

func (*DOMProgressEvent) LengthComputable

func (dpe *DOMProgressEvent) LengthComputable() bool

LengthComputable wraps the corresponding Objective-C method.

func (*DOMProgressEvent) Loaded

func (dpe *DOMProgressEvent) Loaded() uint64

Loaded returns the loaded.

func (*DOMProgressEvent) Total

func (dpe *DOMProgressEvent) Total() uint64

Total returns the total.

func (*DOMProgressEvent) WithCancelBubble added in v0.17.0

func (dpe *DOMProgressEvent) WithCancelBubble(cancelBubble bool) *DOMProgressEvent

WithCancelBubble sets the cancel bubble.

func (*DOMProgressEvent) WithReturnValue added in v0.17.0

func (dpe *DOMProgressEvent) WithReturnValue(returnValue bool) *DOMProgressEvent

WithReturnValue sets the return value.

type DOMRGBColor

type DOMRGBColor struct {
	DOMObject
}

DOMRGBColor is an idiomatic wrapper over the Objective-C class DOMRGBColor.

It embeds DOMObject, promoting that type's methods.

func DOMRGBColorFromID

func DOMRGBColorFromID(id objc.ID) *DOMRGBColor

DOMRGBColorFromID adopts an existing Objective-C object as a DOMRGBColor (nil for 0), retaining it and registering a release finalizer.

func NewDOMRGBColor added in v0.17.0

func NewDOMRGBColor() *DOMRGBColor

NewDOMRGBColor creates a new DOMRGBColor.

func (*DOMRGBColor) Alpha

func (dc *DOMRGBColor) Alpha() *DOMCSSPrimitiveValue

Alpha returns the alpha.

func (*DOMRGBColor) Blue

func (dc *DOMRGBColor) Blue() *DOMCSSPrimitiveValue

Blue returns the blue.

func (*DOMRGBColor) Color

func (dc *DOMRGBColor) Color() obj.Object

Color returns the color.

func (*DOMRGBColor) Green

func (dc *DOMRGBColor) Green() *DOMCSSPrimitiveValue

Green returns the green.

func (*DOMRGBColor) Red

func (dc *DOMRGBColor) Red() *DOMCSSPrimitiveValue

Red returns the red.

type DOMRange

type DOMRange struct {
	DOMObject
}

DOMRange is an idiomatic wrapper over the Objective-C class DOMRange.

It embeds DOMObject, promoting that type's methods.

func DOMRangeFromID

func DOMRangeFromID(id objc.ID) *DOMRange

DOMRangeFromID adopts an existing Objective-C object as a DOMRange (nil for 0), retaining it and registering a release finalizer.

func NewDOMRange added in v0.17.0

func NewDOMRange() *DOMRange

NewDOMRange creates a new DOMRange.

func (*DOMRange) CloneContents

func (dr *DOMRange) CloneContents() *DOMDocumentFragment

CloneContents returns the clone contents.

func (*DOMRange) CloneRange

func (dr *DOMRange) CloneRange() *DOMRange

CloneRange returns the clone range.

func (*DOMRange) Collapse

func (dr *DOMRange) Collapse(toStart bool)

Collapse wraps the corresponding Objective-C method.

func (*DOMRange) Collapsed

func (dr *DOMRange) Collapsed() bool

Collapsed wraps the corresponding Objective-C method.

func (*DOMRange) CommonAncestorContainer

func (dr *DOMRange) CommonAncestorContainer() *DOMNode

CommonAncestorContainer returns the common ancestor container.

func (*DOMRange) CompareBoundaryPoints

func (dr *DOMRange) CompareBoundaryPoints(how uint16, sourceRange *DOMRange) int16

CompareBoundaryPoints wraps the corresponding Objective-C method.

func (*DOMRange) CompareBoundaryPointsSourceRange

func (dr *DOMRange) CompareBoundaryPointsSourceRange(how uint16, sourceRange *DOMRange) int16

CompareBoundaryPointsSourceRange wraps the corresponding Objective-C method.

func (*DOMRange) CompareNode

func (dr *DOMRange) CompareNode(refNode *DOMNode) int16

CompareNode wraps the corresponding Objective-C method.

func (*DOMRange) ComparePointOffset

func (dr *DOMRange) ComparePointOffset(refNode *DOMNode, offset int) int16

ComparePointOffset wraps the corresponding Objective-C method.

func (*DOMRange) CreateContextualFragment

func (dr *DOMRange) CreateContextualFragment(html string) *DOMDocumentFragment

CreateContextualFragment creates contextual fragment.

func (*DOMRange) DeleteContents

func (dr *DOMRange) DeleteContents()

DeleteContents deletes contents.

func (*DOMRange) Detach

func (dr *DOMRange) Detach()

Detach wraps the corresponding Objective-C method.

func (*DOMRange) EndContainer

func (dr *DOMRange) EndContainer() *DOMNode

EndContainer returns the end container.

func (*DOMRange) EndOffset

func (dr *DOMRange) EndOffset() int

EndOffset returns the end offset.

func (*DOMRange) ExtractContents

func (dr *DOMRange) ExtractContents() *DOMDocumentFragment

ExtractContents returns the extract contents.

func (*DOMRange) InsertNode

func (dr *DOMRange) InsertNode(newNode *DOMNode)

InsertNode inserts node.

func (*DOMRange) IntersectsNode

func (dr *DOMRange) IntersectsNode(refNode *DOMNode) bool

IntersectsNode wraps the corresponding Objective-C method.

func (*DOMRange) IsPointInRangeOffset

func (dr *DOMRange) IsPointInRangeOffset(refNode *DOMNode, offset int) bool

IsPointInRangeOffset wraps the corresponding Objective-C method.

func (*DOMRange) MarkupString

func (dr *DOMRange) MarkupString() string

MarkupString returns a markup string representing the range.

func (*DOMRange) SelectNode

func (dr *DOMRange) SelectNode(refNode *DOMNode)

SelectNode selects node.

func (*DOMRange) SelectNodeContents

func (dr *DOMRange) SelectNodeContents(refNode *DOMNode)

SelectNodeContents selects node contents.

func (*DOMRange) SetEnd

func (dr *DOMRange) SetEnd(refNode *DOMNode, offset int)

SetEnd wraps the corresponding Objective-C method.

func (*DOMRange) SetEndAfter

func (dr *DOMRange) SetEndAfter(refNode *DOMNode)

SetEndAfter wraps the corresponding Objective-C method.

func (*DOMRange) SetEndBefore

func (dr *DOMRange) SetEndBefore(refNode *DOMNode)

SetEndBefore wraps the corresponding Objective-C method.

func (*DOMRange) SetEndOffset

func (dr *DOMRange) SetEndOffset(refNode *DOMNode, offset int)

SetEndOffset wraps the corresponding Objective-C method.

func (*DOMRange) SetStart

func (dr *DOMRange) SetStart(refNode *DOMNode, offset int)

SetStart wraps the corresponding Objective-C method.

func (*DOMRange) SetStartAfter

func (dr *DOMRange) SetStartAfter(refNode *DOMNode)

SetStartAfter wraps the corresponding Objective-C method.

func (*DOMRange) SetStartBefore

func (dr *DOMRange) SetStartBefore(refNode *DOMNode)

SetStartBefore wraps the corresponding Objective-C method.

func (*DOMRange) SetStartOffset

func (dr *DOMRange) SetStartOffset(refNode *DOMNode, offset int)

SetStartOffset wraps the corresponding Objective-C method.

func (*DOMRange) StartContainer

func (dr *DOMRange) StartContainer() *DOMNode

StartContainer returns the start container.

func (*DOMRange) StartOffset

func (dr *DOMRange) StartOffset() int

StartOffset returns the start offset.

func (*DOMRange) SurroundContents

func (dr *DOMRange) SurroundContents(newParent *DOMNode)

SurroundContents wraps the corresponding Objective-C method.

func (*DOMRange) Text

func (dr *DOMRange) Text() string

Text returns the text.

func (*DOMRange) ToString

func (dr *DOMRange) ToString() string

ToString returns the to string.

func (*DOMRange) WebArchive

func (dr *DOMRange) WebArchive() *WebArchive

WebArchive returns a WebArchive representing the range.

type DOMRangeExceptionCode

type DOMRangeExceptionCode int32
const (
	DOMRangeExceptionCodeBadBoundarypointsErr DOMRangeExceptionCode = 1
	DOMRangeExceptionCodeInvalidNodeTypeErr   DOMRangeExceptionCode = 2
)

func (DOMRangeExceptionCode) String

func (e DOMRangeExceptionCode) String() string

String returns the DOMRangeExceptionCode constant's name, or its numeric form when the value is not a known constant.

type DOMRect

type DOMRect struct {
	DOMObject
}

DOMRect is an idiomatic wrapper over the Objective-C class DOMRect.

It embeds DOMObject, promoting that type's methods.

func DOMRectFromID

func DOMRectFromID(id objc.ID) *DOMRect

DOMRectFromID adopts an existing Objective-C object as a DOMRect (nil for 0), retaining it and registering a release finalizer.

func NewDOMRect added in v0.17.0

func NewDOMRect() *DOMRect

NewDOMRect creates a new DOMRect.

func (*DOMRect) Bottom

func (dr *DOMRect) Bottom() *DOMCSSPrimitiveValue

Bottom returns the bottom.

func (*DOMRect) Left

func (dr *DOMRect) Left() *DOMCSSPrimitiveValue

Left returns the left.

func (*DOMRect) Right

func (dr *DOMRect) Right() *DOMCSSPrimitiveValue

Right returns the right.

func (*DOMRect) Top

func (dr *DOMRect) Top() *DOMCSSPrimitiveValue

Top returns the top.

type DOMStyleSheet

type DOMStyleSheet struct {
	DOMObject
}

DOMStyleSheet is an idiomatic wrapper over the Objective-C class DOMStyleSheet.

DOMStyleSheet is an abstract base — you do not construct it directly. Construct one of DOMCSSStyleSheet and pass it where a DOMStyleSheet is accepted.

func DOMStyleSheetFromID

func DOMStyleSheetFromID(id objc.ID) *DOMStyleSheet

DOMStyleSheetFromID adopts an existing Objective-C object as a DOMStyleSheet (nil for 0), retaining it and registering a release finalizer.

func (*DOMStyleSheet) Disabled

func (dss *DOMStyleSheet) Disabled() bool

Disabled wraps the corresponding Objective-C method.

func (*DOMStyleSheet) Href

func (dss *DOMStyleSheet) Href() string

Href returns the href.

func (*DOMStyleSheet) Media

func (dss *DOMStyleSheet) Media() *DOMMediaList

Media returns the media.

func (*DOMStyleSheet) OwnerNode

func (dss *DOMStyleSheet) OwnerNode() *DOMNode

OwnerNode returns the owner node.

func (*DOMStyleSheet) ParentStyleSheet

func (dss *DOMStyleSheet) ParentStyleSheet() *DOMStyleSheet

ParentStyleSheet returns the parent style sheet.

func (*DOMStyleSheet) Title

func (dss *DOMStyleSheet) Title() string

Title returns the title.

func (*DOMStyleSheet) Type

func (dss *DOMStyleSheet) Type() string

Type returns the type.

func (*DOMStyleSheet) WithDisabled added in v0.17.0

func (dss *DOMStyleSheet) WithDisabled(disabled bool) *DOMStyleSheet

WithDisabled sets the disabled.

type DOMStyleSheetList

type DOMStyleSheetList struct {
	DOMObject
}

DOMStyleSheetList is an idiomatic wrapper over the Objective-C class DOMStyleSheetList.

It embeds DOMObject, promoting that type's methods.

func DOMStyleSheetListFromID

func DOMStyleSheetListFromID(id objc.ID) *DOMStyleSheetList

DOMStyleSheetListFromID adopts an existing Objective-C object as a DOMStyleSheetList (nil for 0), retaining it and registering a release finalizer.

func NewDOMStyleSheetList added in v0.17.0

func NewDOMStyleSheetList() *DOMStyleSheetList

NewDOMStyleSheetList creates a new DOMStyleSheetList.

func (*DOMStyleSheetList) Item

func (dssl *DOMStyleSheetList) Item(index int) *DOMStyleSheet

Item wraps the corresponding Objective-C method.

func (*DOMStyleSheetList) Length

func (dssl *DOMStyleSheetList) Length() int

Length returns the length.

type DOMStyleSheetProvider added in v0.17.0

type DOMStyleSheetProvider interface {
	objref.Object
	// contains filtered or unexported methods
}

DOMStyleSheetProvider is accepted wherever a DOMStyleSheet (or one of its subclasses) is expected.

type DOMText

type DOMText struct {
	DOMCharacterData
}

DOMText is an idiomatic wrapper over the Objective-C class DOMText.

DOMText is an abstract base — you do not construct it directly. Construct one of DOMCDATASection and pass it where a DOMText is accepted.

func DOMTextFromID

func DOMTextFromID(id objc.ID) *DOMText

DOMTextFromID adopts an existing Objective-C object as a DOMText (nil for 0), retaining it and registering a release finalizer.

func (*DOMText) ReplaceWholeText

func (dt *DOMText) ReplaceWholeText(content string) *DOMText

ReplaceWholeText replaces whole text.

func (*DOMText) SplitText

func (dt *DOMText) SplitText(offset int) *DOMText

SplitText wraps the corresponding Objective-C method.

func (*DOMText) WholeText

func (dt *DOMText) WholeText() string

WholeText returns the whole text.

func (*DOMText) WithData added in v0.17.0

func (dt *DOMText) WithData(data string) *DOMText

WithData sets the data.

func (*DOMText) WithNodeValue added in v0.17.0

func (dt *DOMText) WithNodeValue(nodeValue string) *DOMText

WithNodeValue sets the node value.

func (*DOMText) WithPrefix added in v0.17.0

func (dt *DOMText) WithPrefix(prefix string) *DOMText

WithPrefix sets the prefix.

func (*DOMText) WithTextContent added in v0.17.0

func (dt *DOMText) WithTextContent(textContent string) *DOMText

WithTextContent sets the text content.

type DOMTextProvider added in v0.17.0

type DOMTextProvider interface {
	objref.Object
	// contains filtered or unexported methods
}

DOMTextProvider is accepted wherever a DOMText (or one of its subclasses) is expected.

type DOMTreeWalker

type DOMTreeWalker struct {
	DOMObject
}

DOMTreeWalker is an idiomatic wrapper over the Objective-C class DOMTreeWalker.

It embeds DOMObject, promoting that type's methods.

func DOMTreeWalkerFromID

func DOMTreeWalkerFromID(id objc.ID) *DOMTreeWalker

DOMTreeWalkerFromID adopts an existing Objective-C object as a DOMTreeWalker (nil for 0), retaining it and registering a release finalizer.

func NewDOMTreeWalker added in v0.17.0

func NewDOMTreeWalker() *DOMTreeWalker

NewDOMTreeWalker creates a new DOMTreeWalker.

func (*DOMTreeWalker) CurrentNode

func (dtw *DOMTreeWalker) CurrentNode() *DOMNode

CurrentNode returns the current node.

func (*DOMTreeWalker) ExpandEntityReferences

func (dtw *DOMTreeWalker) ExpandEntityReferences() bool

ExpandEntityReferences wraps the corresponding Objective-C method.

func (*DOMTreeWalker) FirstChild

func (dtw *DOMTreeWalker) FirstChild() *DOMNode

FirstChild returns the first child.

func (*DOMTreeWalker) LastChild

func (dtw *DOMTreeWalker) LastChild() *DOMNode

LastChild returns the last child.

func (*DOMTreeWalker) NextNode

func (dtw *DOMTreeWalker) NextNode() *DOMNode

NextNode returns the next node.

func (*DOMTreeWalker) NextSibling

func (dtw *DOMTreeWalker) NextSibling() *DOMNode

NextSibling returns the next sibling.

func (*DOMTreeWalker) ParentNode

func (dtw *DOMTreeWalker) ParentNode() *DOMNode

ParentNode returns the parent node.

func (*DOMTreeWalker) PreviousNode

func (dtw *DOMTreeWalker) PreviousNode() *DOMNode

PreviousNode returns the previous node.

func (*DOMTreeWalker) PreviousSibling

func (dtw *DOMTreeWalker) PreviousSibling() *DOMNode

PreviousSibling returns the previous sibling.

func (*DOMTreeWalker) Root

func (dtw *DOMTreeWalker) Root() *DOMNode

Root returns the root.

func (*DOMTreeWalker) WhatToShow

func (dtw *DOMTreeWalker) WhatToShow() int

WhatToShow returns the what to show.

func (*DOMTreeWalker) WithCurrentNode added in v0.17.0

func (dtw *DOMTreeWalker) WithCurrentNode(currentNode DOMNodeProvider) *DOMTreeWalker

WithCurrentNode sets the current node.

type DOMUIEvent

type DOMUIEvent struct {
	DOMEvent
}

DOMUIEvent is an idiomatic wrapper over the Objective-C class DOMUIEvent.

DOMUIEvent is an abstract base — you do not construct it directly. Construct one of DOMKeyboardEvent, DOMMouseEvent and pass it where a DOMUIEvent is accepted.

func DOMUIEventFromID

func DOMUIEventFromID(id objc.ID) *DOMUIEvent

DOMUIEventFromID adopts an existing Objective-C object as a DOMUIEvent (nil for 0), retaining it and registering a release finalizer.

func NewDOMUIEventUIEvent added in v0.17.0

func NewDOMUIEventUIEvent(type_ string, canBubble bool, cancelable bool, view *DOMAbstractView, detail int) *DOMUIEvent

NewDOMUIEventUIEvent creates a new DOMUIEvent.

func NewDOMUIEventUIEventCanBubbleCancelableViewDetail added in v0.17.0

func NewDOMUIEventUIEventCanBubbleCancelableViewDetail(type_ string, canBubble bool, cancelable bool, view *DOMAbstractView, detail int) *DOMUIEvent

NewDOMUIEventUIEventCanBubbleCancelableViewDetail creates a new DOMUIEvent.

func (*DOMUIEvent) CharCode

func (de *DOMUIEvent) CharCode() int

CharCode returns the char code.

func (*DOMUIEvent) Detail

func (de *DOMUIEvent) Detail() int

Detail returns the detail.

func (*DOMUIEvent) KeyCode

func (de *DOMUIEvent) KeyCode() int

KeyCode returns the key code.

func (*DOMUIEvent) LayerX

func (de *DOMUIEvent) LayerX() int

LayerX returns the layer x.

func (*DOMUIEvent) LayerY

func (de *DOMUIEvent) LayerY() int

LayerY returns the layer y.

func (*DOMUIEvent) PageX

func (de *DOMUIEvent) PageX() int

PageX returns the page x.

func (*DOMUIEvent) PageY

func (de *DOMUIEvent) PageY() int

PageY returns the page y.

func (*DOMUIEvent) View

func (de *DOMUIEvent) View() *DOMAbstractView

View returns the view.

func (*DOMUIEvent) Which

func (de *DOMUIEvent) Which() int

Which returns the which.

func (*DOMUIEvent) WithCancelBubble added in v0.17.0

func (de *DOMUIEvent) WithCancelBubble(cancelBubble bool) *DOMUIEvent

WithCancelBubble sets the cancel bubble.

func (*DOMUIEvent) WithReturnValue added in v0.17.0

func (de *DOMUIEvent) WithReturnValue(returnValue bool) *DOMUIEvent

WithReturnValue sets the return value.

type DOMUIEventProvider added in v0.17.0

type DOMUIEventProvider interface {
	objref.Object
	// contains filtered or unexported methods
}

DOMUIEventProvider is accepted wherever a DOMUIEvent (or one of its subclasses) is expected.

type DOMWheelEvent

type DOMWheelEvent struct {
	DOMMouseEvent
}

DOMWheelEvent is an idiomatic wrapper over the Objective-C class DOMWheelEvent.

It embeds DOMMouseEvent, promoting that type's methods.

func DOMWheelEventFromID

func DOMWheelEventFromID(id objc.ID) *DOMWheelEvent

DOMWheelEventFromID adopts an existing Objective-C object as a DOMWheelEvent (nil for 0), retaining it and registering a release finalizer.

func NewDOMWheelEventWheelEventWheelDeltaYViewScreenXScreenYClientXClientYCtrlKeyAltKeyShiftKeyMetaKey added in v0.17.0

func NewDOMWheelEventWheelEventWheelDeltaYViewScreenXScreenYClientXClientYCtrlKeyAltKeyShiftKeyMetaKey(wheelDeltaX int, wheelDeltaY int, view *DOMAbstractView, screenX int, screenY int, clientX int, clientY int, ctrlKey bool, altKey bool, shiftKey bool, metaKey bool) *DOMWheelEvent

NewDOMWheelEventWheelEventWheelDeltaYViewScreenXScreenYClientXClientYCtrlKeyAltKeyShiftKeyMetaKey creates a new DOMWheelEvent.

func (*DOMWheelEvent) IsHorizontal

func (dwe *DOMWheelEvent) IsHorizontal() bool

IsHorizontal reports whether the object is horizontal.

func (*DOMWheelEvent) WheelDelta

func (dwe *DOMWheelEvent) WheelDelta() int

WheelDelta returns the wheel delta.

func (*DOMWheelEvent) WheelDeltaX

func (dwe *DOMWheelEvent) WheelDeltaX() int

WheelDeltaX returns the wheel delta x.

func (*DOMWheelEvent) WheelDeltaY

func (dwe *DOMWheelEvent) WheelDeltaY() int

WheelDeltaY returns the wheel delta y.

func (*DOMWheelEvent) WithCancelBubble added in v0.17.0

func (dwe *DOMWheelEvent) WithCancelBubble(cancelBubble bool) *DOMWheelEvent

WithCancelBubble sets the cancel bubble.

func (*DOMWheelEvent) WithReturnValue added in v0.17.0

func (dwe *DOMWheelEvent) WithReturnValue(returnValue bool) *DOMWheelEvent

WithReturnValue sets the return value.

type DOMXPathExceptionCode

type DOMXPathExceptionCode int32
const (
	DOMXPathExceptionCodeInvalidExpressionErr DOMXPathExceptionCode = 51
	DOMXPathExceptionCodeTypeErr              DOMXPathExceptionCode = 52
)

func (DOMXPathExceptionCode) String

func (e DOMXPathExceptionCode) String() string

String returns the DOMXPathExceptionCode constant's name, or its numeric form when the value is not a known constant.

type DOMXPathExpression

type DOMXPathExpression struct {
	DOMObject
}

DOMXPathExpression is an idiomatic wrapper over the Objective-C class DOMXPathExpression.

It embeds DOMObject, promoting that type's methods.

func DOMXPathExpressionFromID

func DOMXPathExpressionFromID(id objc.ID) *DOMXPathExpression

DOMXPathExpressionFromID adopts an existing Objective-C object as a DOMXPathExpression (nil for 0), retaining it and registering a release finalizer.

func NewDOMXPathExpression added in v0.17.0

func NewDOMXPathExpression() *DOMXPathExpression

NewDOMXPathExpression creates a new DOMXPathExpression.

func (*DOMXPathExpression) Evaluate

func (dpe *DOMXPathExpression) Evaluate(contextNode *DOMNode, type_ uint16, inResult *DOMXPathResult) *DOMXPathResult

Evaluate wraps the corresponding Objective-C method.

func (*DOMXPathExpression) EvaluateTypeInResult

func (dpe *DOMXPathExpression) EvaluateTypeInResult(contextNode *DOMNode, type_ uint16, inResult *DOMXPathResult) *DOMXPathResult

EvaluateTypeInResult wraps the corresponding Objective-C method.

type DOMXPathNSResolver

type DOMXPathNSResolver interface {
	LookupNamespaceURI(prefix string) string
}

DOMXPathNSResolver is the Go form of the Objective-C protocol DOMXPathNSResolver.

type DOMXPathResult

type DOMXPathResult struct {
	DOMObject
}

DOMXPathResult is an idiomatic wrapper over the Objective-C class DOMXPathResult.

It embeds DOMObject, promoting that type's methods.

func DOMXPathResultFromID

func DOMXPathResultFromID(id objc.ID) *DOMXPathResult

DOMXPathResultFromID adopts an existing Objective-C object as a DOMXPathResult (nil for 0), retaining it and registering a release finalizer.

func NewDOMXPathResult added in v0.17.0

func NewDOMXPathResult() *DOMXPathResult

NewDOMXPathResult creates a new DOMXPathResult.

func (*DOMXPathResult) BooleanValue

func (dpr *DOMXPathResult) BooleanValue() bool

BooleanValue wraps the corresponding Objective-C method.

func (*DOMXPathResult) InvalidIteratorState

func (dpr *DOMXPathResult) InvalidIteratorState() bool

InvalidIteratorState wraps the corresponding Objective-C method.

func (*DOMXPathResult) IterateNext

func (dpr *DOMXPathResult) IterateNext() *DOMNode

IterateNext returns the iterate next.

func (*DOMXPathResult) NumberValue

func (dpr *DOMXPathResult) NumberValue() float64

NumberValue returns the number value.

func (*DOMXPathResult) ResultType

func (dpr *DOMXPathResult) ResultType() uint16

ResultType returns the result type.

func (*DOMXPathResult) SingleNodeValue

func (dpr *DOMXPathResult) SingleNodeValue() *DOMNode

SingleNodeValue returns the single node value.

func (*DOMXPathResult) SnapshotItem

func (dpr *DOMXPathResult) SnapshotItem(index int) *DOMNode

SnapshotItem wraps the corresponding Objective-C method.

func (*DOMXPathResult) SnapshotLength

func (dpr *DOMXPathResult) SnapshotLength() int

SnapshotLength returns the snapshot length.

func (*DOMXPathResult) StringValue

func (dpr *DOMXPathResult) StringValue() string

StringValue returns the string value.

type DataTransferReportState added in v0.17.0

type DataTransferReportState int32

The state of a Data Transfer Report indicates whether or not the contents have been collected, and are ready to be accessed.

const (
	Nw_data_transfer_report_state_collecting DataTransferReportState = 1
	Nw_data_transfer_report_state_collected  DataTransferReportState = 2
)

func (DataTransferReportState) String added in v0.17.0

func (e DataTransferReportState) String() string

String returns the DataTransferReportState constant's name, or its numeric form when the value is not a known constant.

type DispatchAutoreleaseFrequency added in v0.17.0

type DispatchAutoreleaseFrequency uint64
const (
	DispatchAutoreleaseFrequencyInherit  DispatchAutoreleaseFrequency = 0
	DispatchAutoreleaseFrequencyWorkItem DispatchAutoreleaseFrequency = 1
	DispatchAutoreleaseFrequencyNever    DispatchAutoreleaseFrequency = 2
)

func (DispatchAutoreleaseFrequency) String added in v0.17.0

String returns the DispatchAutoreleaseFrequency constant's name, or its numeric form when the value is not a known constant.

type DispatchBlockFlags added in v0.17.0

type DispatchBlockFlags uint64

Bitmask — values may be combined with |.

const (
	DispatchBlockFlagsBarrier         DispatchBlockFlags = 1
	DispatchBlockFlagsDetached        DispatchBlockFlags = 2
	DispatchBlockFlagsAssignCurrent   DispatchBlockFlags = 4
	DispatchBlockFlagsNoQosClass      DispatchBlockFlags = 8
	DispatchBlockFlagsInheritQosClass DispatchBlockFlags = 16
	DispatchBlockFlagsEnforceQosClass DispatchBlockFlags = 32
)

func (DispatchBlockFlags) String added in v0.17.0

func (e DispatchBlockFlags) String() string

String returns the DispatchBlockFlags constant's name, or its numeric form when the value is not a known constant.

type EndpointType added in v0.17.0

type EndpointType int32

Endpoint types represent a well-known form of endpoint. Values may be added to this enumeration, and some custom endpoint types may use values not defined in this enumeration.

const (
	Nw_endpoint_type_invalid         EndpointType = 0
	Nw_endpoint_type_address         EndpointType = 1
	Nw_endpoint_type_host            EndpointType = 2
	Nw_endpoint_type_bonjour_service EndpointType = 3
	Nw_endpoint_type_url             EndpointType = 4
)

func (EndpointType) String added in v0.17.0

func (e EndpointType) String() string

String returns the EndpointType constant's name, or its numeric form when the value is not a known constant.

type ErrorDomain added in v0.17.0

type ErrorDomain int32

The enumeration of network error domains.

const (
	Nw_error_domain_invalid    ErrorDomain = 0
	Nw_error_domain_posix      ErrorDomain = 1
	Nw_error_domain_dns        ErrorDomain = 2
	Nw_error_domain_tls        ErrorDomain = 3
	Nw_error_domain_wifi_aware ErrorDomain = 4
)

func (ErrorDomain) String added in v0.17.0

func (e ErrorDomain) String() string

String returns the ErrorDomain constant's name, or its numeric form when the value is not a known constant.

type EthernetChannelState added in v0.17.0

type EthernetChannelState int32
const (
	Nw_ethernet_channel_state_invalid   EthernetChannelState = 0
	Nw_ethernet_channel_state_waiting   EthernetChannelState = 1
	Nw_ethernet_channel_state_preparing EthernetChannelState = 2
	Nw_ethernet_channel_state_ready     EthernetChannelState = 3
	Nw_ethernet_channel_state_failed    EthernetChannelState = 4
	Nw_ethernet_channel_state_cancelled EthernetChannelState = 5
)

func (EthernetChannelState) String added in v0.17.0

func (e EthernetChannelState) String() string

String returns the EthernetChannelState constant's name, or its numeric form when the value is not a known constant.

type EvCmd

type EvCmd int32
const (
	EVNOP   EvCmd = 0
	EVHIDE  EvCmd = 1
	EVSHOW  EvCmd = 2
	EVMOVE  EvCmd = 3
	EVLEVEL EvCmd = 4
)

func (EvCmd) String

func (e EvCmd) String() string

String returns the EvCmd constant's name, or its numeric form when the value is not a known constant.

type FilesecProperty added in v0.17.0

type FilesecProperty int32
const (
	FilesecPropertyOwner        FilesecProperty = 1
	FilesecPropertyGroup        FilesecProperty = 2
	FilesecPropertyUUID         FilesecProperty = 3
	FilesecPropertyMode         FilesecProperty = 4
	FilesecPropertyACL          FilesecProperty = 5
	FilesecPropertyGrpuuid      FilesecProperty = 6
	FilesecPropertyACLRaw       FilesecProperty = 100
	FilesecPropertyACLAllocsize FilesecProperty = 101
)

func (FilesecProperty) String added in v0.17.0

func (e FilesecProperty) String() string

String returns the FilesecProperty constant's name, or its numeric form when the value is not a known constant.

type FramerStartResult added in v0.17.0

type FramerStartResult int32
const (
	Nw_framer_start_result_ready           FramerStartResult = 1
	Nw_framer_start_result_will_mark_ready FramerStartResult = 2
)

func (FramerStartResult) String added in v0.17.0

func (e FramerStartResult) String() string

String returns the FramerStartResult constant's name, or its numeric form when the value is not a known constant.

type IPEcnFlag added in v0.17.0

type IPEcnFlag int32

ECN flags marked in IP headers to indicate congestion.

const (
	Nw_ip_ecn_flag_non_ect IPEcnFlag = 0
	Nw_ip_ecn_flag_ect_0   IPEcnFlag = 2
	Nw_ip_ecn_flag_ect_1   IPEcnFlag = 1
	Nw_ip_ecn_flag_ce      IPEcnFlag = 3
)

func (IPEcnFlag) String added in v0.17.0

func (e IPEcnFlag) String() string

String returns the IPEcnFlag constant's name, or its numeric form when the value is not a known constant.

type IPLocalAddressPreference added in v0.17.0

type IPLocalAddressPreference int32

Preference for local addresses selection.

const (
	Nw_ip_local_address_preference_default   IPLocalAddressPreference = 0
	Nw_ip_local_address_preference_temporary IPLocalAddressPreference = 1
	Nw_ip_local_address_preference_stable    IPLocalAddressPreference = 2
)

func (IPLocalAddressPreference) String added in v0.17.0

func (e IPLocalAddressPreference) String() string

String returns the IPLocalAddressPreference constant's name, or its numeric form when the value is not a known constant.

type IPVersion added in v0.17.0

type IPVersion int32

A specific version of the Internet Protocol.

const (
	Nw_ip_version_any IPVersion = 0
	Nw_ip_version_4   IPVersion = 4
	Nw_ip_version_6   IPVersion = 6
)

func (IPVersion) String added in v0.17.0

func (e IPVersion) String() string

String returns the IPVersion constant's name, or its numeric form when the value is not a known constant.

type Idtype added in v0.17.0

type Idtype int32
const (
	IdtypeAll  Idtype = 0
	IdtypePid  Idtype = 1
	IdtypePgid Idtype = 2
)

func (Idtype) String added in v0.17.0

func (e Idtype) String() string

String returns the Idtype constant's name, or its numeric form when the value is not a known constant.

type InterfaceRadioType added in v0.17.0

type InterfaceRadioType int32

Interface radio types represent the radio technology for a network link.

const (
	Nw_interface_radio_type_unknown         InterfaceRadioType = 0
	Nw_interface_radio_type_wifi_b          InterfaceRadioType = 1
	Nw_interface_radio_type_wifi_a          InterfaceRadioType = 2
	Nw_interface_radio_type_wifi_g          InterfaceRadioType = 3
	Nw_interface_radio_type_wifi_n          InterfaceRadioType = 4
	Nw_interface_radio_type_wifi_ac         InterfaceRadioType = 5
	Nw_interface_radio_type_wifi_ax         InterfaceRadioType = 6
	Nw_interface_radio_type_cell_lte        InterfaceRadioType = 128
	Nw_interface_radio_type_cell_endc_sub6  InterfaceRadioType = 129
	Nw_interface_radio_type_cell_endc_mmw   InterfaceRadioType = 130
	Nw_interface_radio_type_cell_nr_sa_sub6 InterfaceRadioType = 131
	Nw_interface_radio_type_cell_nr_sa_mmw  InterfaceRadioType = 132
	Nw_interface_radio_type_cell_wcdma      InterfaceRadioType = 133
	Nw_interface_radio_type_cell_gsm        InterfaceRadioType = 134
	Nw_interface_radio_type_cell_cdma       InterfaceRadioType = 135
	Nw_interface_radio_type_cell_evdo       InterfaceRadioType = 136
)

func (InterfaceRadioType) String added in v0.17.0

func (e InterfaceRadioType) String() string

String returns the InterfaceRadioType constant's name, or its numeric form when the value is not a known constant.

type InterfaceType added in v0.17.0

type InterfaceType int32

Interface types represent the underlying media for a network link, such as Wi-Fi or Cellular.

const (
	Nw_interface_type_other    InterfaceType = 0
	Nw_interface_type_wifi     InterfaceType = 1
	Nw_interface_type_cellular InterfaceType = 2
	Nw_interface_type_wired    InterfaceType = 3
	Nw_interface_type_loopback InterfaceType = 4
)

func (InterfaceType) String added in v0.17.0

func (e InterfaceType) String() string

String returns the InterfaceType constant's name, or its numeric form when the value is not a known constant.

type IpcInfoObjectType added in v0.17.0

type IpcInfoObjectType uint32
const (
	IpcInfoObjectTypeNone               IpcInfoObjectType = 0
	IpcInfoObjectTypeThreadControl      IpcInfoObjectType = 1
	IpcInfoObjectTypeTaskControl        IpcInfoObjectType = 2
	IpcInfoObjectTypeHost               IpcInfoObjectType = 3
	IpcInfoObjectTypeHostPriv           IpcInfoObjectType = 4
	IpcInfoObjectTypeProcessor          IpcInfoObjectType = 5
	IpcInfoObjectTypeProcessorSet       IpcInfoObjectType = 6
	IpcInfoObjectTypeProcessorSetName   IpcInfoObjectType = 7
	IpcInfoObjectTypeTimer              IpcInfoObjectType = 8
	IpcInfoObjectTypePortSubstOnce      IpcInfoObjectType = 9
	IpcInfoObjectTypeMig                IpcInfoObjectType = 10
	IpcInfoObjectTypeMemoryObject       IpcInfoObjectType = 11
	IpcInfoObjectTypeXmmPager           IpcInfoObjectType = 12
	IpcInfoObjectTypeXmmKernel          IpcInfoObjectType = 13
	IpcInfoObjectTypeXmmReply           IpcInfoObjectType = 14
	IpcInfoObjectTypeUndReply           IpcInfoObjectType = 15
	IpcInfoObjectTypeHostNotify         IpcInfoObjectType = 16
	IpcInfoObjectTypeHostSecurity       IpcInfoObjectType = 17
	IpcInfoObjectTypeLedger             IpcInfoObjectType = 18
	IpcInfoObjectTypeMainDevice         IpcInfoObjectType = 19
	IpcInfoObjectTypeTaskName           IpcInfoObjectType = 20
	IpcInfoObjectTypeSubsystem          IpcInfoObjectType = 21
	IpcInfoObjectTypeIODoneQueue        IpcInfoObjectType = 22
	IpcInfoObjectTypeSemaphore          IpcInfoObjectType = 23
	IpcInfoObjectTypeLockSet            IpcInfoObjectType = 24
	IpcInfoObjectTypeClock              IpcInfoObjectType = 25
	IpcInfoObjectTypeClockCtrl          IpcInfoObjectType = 26
	IpcInfoObjectTypeIokitIdent         IpcInfoObjectType = 27
	IpcInfoObjectTypeNamedEntry         IpcInfoObjectType = 28
	IpcInfoObjectTypeIokitConnect       IpcInfoObjectType = 29
	IpcInfoObjectTypeIokitObject        IpcInfoObjectType = 30
	IpcInfoObjectTypeUpl                IpcInfoObjectType = 31
	IpcInfoObjectTypeMemObjControl      IpcInfoObjectType = 32
	IpcInfoObjectTypeAuSessionport      IpcInfoObjectType = 33
	IpcInfoObjectTypeFileport           IpcInfoObjectType = 34
	IpcInfoObjectTypeLabelh             IpcInfoObjectType = 35
	IpcInfoObjectTypeTaskResume         IpcInfoObjectType = 36
	IpcInfoObjectTypeVoucher            IpcInfoObjectType = 37
	IpcInfoObjectTypeVoucherAttrControl IpcInfoObjectType = 38
	IpcInfoObjectTypeWorkInterval       IpcInfoObjectType = 39
	IpcInfoObjectTypeUxHandler          IpcInfoObjectType = 40
	IpcInfoObjectTypeUextObject         IpcInfoObjectType = 41
	IpcInfoObjectTypeArcadeReg          IpcInfoObjectType = 42
	IpcInfoObjectTypeEventlink          IpcInfoObjectType = 43
	IpcInfoObjectTypeTaskInspect        IpcInfoObjectType = 44
	IpcInfoObjectTypeTaskRead           IpcInfoObjectType = 45
	IpcInfoObjectTypeThreadInspect      IpcInfoObjectType = 46
	IpcInfoObjectTypeThreadRead         IpcInfoObjectType = 47
	IpcInfoObjectTypeSuidCred           IpcInfoObjectType = 48
	IpcInfoObjectTypeHypervisor         IpcInfoObjectType = 49
	IpcInfoObjectTypeTaskIDToken        IpcInfoObjectType = 50
	IpcInfoObjectTypeTaskFatal          IpcInfoObjectType = 51
	IpcInfoObjectTypeKcdata             IpcInfoObjectType = 52
	IpcInfoObjectTypeExclavesResource   IpcInfoObjectType = 53
	IpcInfoObjectTypeThreadResume       IpcInfoObjectType = 54
	IpcInfoObjectTypeUnknown            IpcInfoObjectType = 4294967295
)

func (IpcInfoObjectType) String added in v0.17.0

func (e IpcInfoObjectType) String() string

String returns the IpcInfoObjectType constant's name, or its numeric form when the value is not a known constant.

type LaunchDataType added in v0.17.0

type LaunchDataType int32
const (
	LaunchDataTypeDictionary LaunchDataType = 1
	LaunchDataTypeArray      LaunchDataType = 2
	LaunchDataTypeFd         LaunchDataType = 3
	LaunchDataTypeInteger    LaunchDataType = 4
	LaunchDataTypeReal       LaunchDataType = 5
	LaunchDataTypeBool       LaunchDataType = 6
	LaunchDataTypeString     LaunchDataType = 7
	LaunchDataTypeOpaque     LaunchDataType = 8
	LaunchDataTypeErrno      LaunchDataType = 9
	LaunchDataTypeMachport   LaunchDataType = 10
)

func (LaunchDataType) String added in v0.17.0

func (e LaunchDataType) String() string

String returns the LaunchDataType constant's name, or its numeric form when the value is not a known constant.

type LinkQuality added in v0.17.0

type LinkQuality int32

Link quality measurement is a representation of the expected capabilities of the link layer network attachment. Use this value to tune initial values for algorithms that can scale with the capabilities of the network. Do not use this value to gate connection attempts or to override adjustments that would be made based on actual network performance.

const (
	Nw_link_quality_unknown  LinkQuality = 0
	Nw_link_quality_minimal  LinkQuality = 10
	Nw_link_quality_moderate LinkQuality = 20
	Nw_link_quality_good     LinkQuality = 30
)

func (LinkQuality) String added in v0.17.0

func (e LinkQuality) String() string

String returns the LinkQuality constant's name, or its numeric form when the value is not a known constant.

type ListenerState added in v0.17.0

type ListenerState int32

Listener states sent by nw_listener_set_state_changed_handler. States progress forward and do not move backwards.

const (
	Nw_listener_state_invalid   ListenerState = 0
	Nw_listener_state_waiting   ListenerState = 1
	Nw_listener_state_ready     ListenerState = 2
	Nw_listener_state_failed    ListenerState = 3
	Nw_listener_state_cancelled ListenerState = 4
)

func (ListenerState) String added in v0.17.0

func (e ListenerState) String() string

String returns the ListenerState constant's name, or its numeric form when the value is not a known constant.

type MDLabelDomain

type MDLabelDomain int32

These constants are used to specify a domain to MDLabelCreate().

const (
	KMDLabelUserDomain  MDLabelDomain = 0
	KMDLabelLocalDomain MDLabelDomain = 1
)

func (MDLabelDomain) String

func (e MDLabelDomain) String() string

String returns the MDLabelDomain constant's name, or its numeric form when the value is not a known constant.

type MDQueryOptionFlags

type MDQueryOptionFlags int32
const (
	KMDQuerySynchronous        MDQueryOptionFlags = 1
	KMDQueryWantsUpdates       MDQueryOptionFlags = 4
	KMDQueryAllowFSTranslation MDQueryOptionFlags = 8
)

func (MDQueryOptionFlags) String

func (e MDQueryOptionFlags) String() string

String returns the MDQueryOptionFlags constant's name, or its numeric form when the value is not a known constant.

type MDQuerySortOptionFlags

type MDQuerySortOptionFlags int32
const (
	KMDQueryReverseSortOrderFlag MDQuerySortOptionFlags = 1
)

func (MDQuerySortOptionFlags) String

func (e MDQuerySortOptionFlags) String() string

String returns the MDQuerySortOptionFlags constant's name, or its numeric form when the value is not a known constant.

type MachVMRangeFlags added in v0.17.0

type MachVMRangeFlags uint64

Bitmask — values may be combined with |.

const (
	MachVMRangeFlagsNone MachVMRangeFlags = 0
)

func (MachVMRangeFlags) String added in v0.17.0

func (e MachVMRangeFlags) String() string

String returns the MachVMRangeFlags constant's name, or its numeric form when the value is not a known constant.

type MachVMRangeFlavor added in v0.17.0

type MachVMRangeFlavor uint32
const (
	MachVMRangeFlavorInvalid MachVMRangeFlavor = 0
	MachVMRangeFlavorV1      MachVMRangeFlavor = 1
)

func (MachVMRangeFlavor) String added in v0.17.0

func (e MachVMRangeFlavor) String() string

String returns the MachVMRangeFlavor constant's name, or its numeric form when the value is not a known constant.

type MachVMRangeTag added in v0.17.0

type MachVMRangeTag uint16
const (
	MachVMRangeTagDefault MachVMRangeTag = 0
	MachVMRangeTagData    MachVMRangeTag = 1
	MachVMRangeTagFixed   MachVMRangeTag = 2
)

func (MachVMRangeTag) String added in v0.17.0

func (e MachVMRangeTag) String() string

String returns the MachVMRangeTag constant's name, or its numeric form when the value is not a known constant.

type MpoFlags added in v0.17.0

type MpoFlags uint32

Bitmask — values may be combined with |.

const (
	MpoFlagsPort                        MpoFlags = 0
	MpoFlagsServicePort                 MpoFlags = 1024
	MpoFlagsConnectionPort              MpoFlags = 2048
	MpoFlagsReplyPort                   MpoFlags = 4096
	MpoFlagsWeakReplyPort               MpoFlags = 16384
	MpoFlagsNotificationPort            MpoFlags = 17408
	MpoFlagsExceptionPort               MpoFlags = 32768
	MpoFlagsConnectionPortWithPortArray MpoFlags = 65536
)

func (MpoFlags) String added in v0.17.0

func (e MpoFlags) String() string

String returns the MpoFlags constant's name, or its numeric form when the value is not a known constant.

type MultipathService added in v0.17.0

type MultipathService int32

Multipath services represent the modes of multipath usage that are allowed for connections.

const (
	Nw_multipath_service_disabled    MultipathService = 0
	Nw_multipath_service_handover    MultipathService = 1
	Nw_multipath_service_interactive MultipathService = 2
	Nw_multipath_service_aggregate   MultipathService = 3
)

func (MultipathService) String added in v0.17.0

func (e MultipathService) String() string

String returns the MultipathService constant's name, or its numeric form when the value is not a known constant.

type MultipathVersion added in v0.17.0

type MultipathVersion int32

Multipath versions represent the MPTCP standard versions

const (
	Nw_multipath_version_unspecified MultipathVersion = -1
	Nw_multipath_version_0           MultipathVersion = 0
	Nw_multipath_version_1           MultipathVersion = 1
)

func (MultipathVersion) String added in v0.17.0

func (e MultipathVersion) String() string

String returns the MultipathVersion constant's name, or its numeric form when the value is not a known constant.

type NSObject added in v0.17.0

type NSObject interface {
}

NSObject is the Go form of the Objective-C protocol NSObject.

type NSProgressReporting

type NSProgressReporting interface {
}

NSProgressReporting is the Go form of the Objective-C protocol NSProgressReporting.

type NXMouseButton

type NXMouseButton int32
const (
	NX_OneButton   NXMouseButton = 0
	NX_LeftButton  NXMouseButton = 1
	NX_RightButton NXMouseButton = 2
)

func (NXMouseButton) String

func (e NXMouseButton) String() string

String returns the NXMouseButton constant's name, or its numeric form when the value is not a known constant.

type OSClockid added in v0.17.0

type OSClockid uint32
const (
	OSClockidTime OSClockid = 32
)

func (OSClockid) String added in v0.17.0

func (e OSClockid) String() string

String returns the OSClockid constant's name, or its numeric form when the value is not a known constant.

type OSUnfairLockFlags added in v0.17.0

type OSUnfairLockFlags uint32

Bitmask — values may be combined with |.

const (
	OSUnfairLockFlagsNone         OSUnfairLockFlags = 0
	OSUnfairLockFlagsAdaptiveSpin OSUnfairLockFlags = 262144
)

func (OSUnfairLockFlags) String added in v0.17.0

func (e OSUnfairLockFlags) String() string

String returns the OSUnfairLockFlags constant's name, or its numeric form when the value is not a known constant.

type PMPageToPaperMappingType

type PMPageToPaperMappingType int32
const (
	KPMPageToPaperMappingNone       PMPageToPaperMappingType = 1
	KPMPageToPaperMappingScaleToFit PMPageToPaperMappingType = 2
)

func (PMPageToPaperMappingType) String

func (e PMPageToPaperMappingType) String() string

String returns the PMPageToPaperMappingType constant's name, or its numeric form when the value is not a known constant.

type ParametersExpiredDNSBehavior added in v0.17.0

type ParametersExpiredDNSBehavior int32

Expired DNS behavior defines whether or not a connection will allow the use of expired DNS answers during connection establishment.

const (
	Nw_parameters_expired_dns_behavior_default    ParametersExpiredDNSBehavior = 0
	Nw_parameters_expired_dns_behavior_allow      ParametersExpiredDNSBehavior = 1
	Nw_parameters_expired_dns_behavior_prohibit   ParametersExpiredDNSBehavior = 2
	Nw_parameters_expired_dns_behavior_persistent ParametersExpiredDNSBehavior = 3
)

func (ParametersExpiredDNSBehavior) String added in v0.17.0

String returns the ParametersExpiredDNSBehavior constant's name, or its numeric form when the value is not a known constant.

type PathStatus added in v0.17.0

type PathStatus int32

A network path status indicates if there is a usable route available upon which to send and receive data.

const (
	Nw_path_status_invalid     PathStatus = 0
	Nw_path_status_satisfied   PathStatus = 1
	Nw_path_status_unsatisfied PathStatus = 2
	Nw_path_status_satisfiable PathStatus = 3
)

func (PathStatus) String added in v0.17.0

func (e PathStatus) String() string

String returns the PathStatus constant's name, or its numeric form when the value is not a known constant.

type PathUnsatisfiedReason added in v0.17.0

type PathUnsatisfiedReason int32

A network path unsatisfied reason may indicate the reason the path is currently unsatisfied for some conditions.

const (
	Nw_path_unsatisfied_reason_not_available        PathUnsatisfiedReason = 0
	Nw_path_unsatisfied_reason_cellular_denied      PathUnsatisfiedReason = 1
	Nw_path_unsatisfied_reason_wifi_denied          PathUnsatisfiedReason = 2
	Nw_path_unsatisfied_reason_local_network_denied PathUnsatisfiedReason = 3
	Nw_path_unsatisfied_reason_vpn_inactive         PathUnsatisfiedReason = 4
)

func (PathUnsatisfiedReason) String added in v0.17.0

func (e PathUnsatisfiedReason) String() string

String returns the PathUnsatisfiedReason constant's name, or its numeric form when the value is not a known constant.

type PtrauthKey added in v0.17.0

type PtrauthKey int32
const (
	Ptrauth_key_none                     PtrauthKey = -1
	Ptrauth_key_asia                     PtrauthKey = 0
	Ptrauth_key_asib                     PtrauthKey = 1
	Ptrauth_key_asda                     PtrauthKey = 2
	Ptrauth_key_asdb                     PtrauthKey = 3
	Ptrauth_key_process_independent_code PtrauthKey = 0
	Ptrauth_key_process_dependent_code   PtrauthKey = 1
	Ptrauth_key_process_independent_data PtrauthKey = 2
	Ptrauth_key_process_dependent_data   PtrauthKey = 3
	Ptrauth_key_return_address           PtrauthKey = 1
	Ptrauth_key_frame_pointer            PtrauthKey = 3
	Ptrauth_key_function_pointer         PtrauthKey = 0
	Ptrauth_key_block_function           PtrauthKey = 0
	Ptrauth_key_cxx_vtable_pointer       PtrauthKey = 2
	Ptrauth_key_method_list_pointer      PtrauthKey = 2
	Ptrauth_key_objc_isa_pointer         PtrauthKey = 2
	Ptrauth_key_objc_super_pointer       PtrauthKey = 2
	Ptrauth_key_objc_sel_pointer         PtrauthKey = 3
	Ptrauth_key_objc_class_ro_pointer    PtrauthKey = 2
	Ptrauth_key_block_descriptor_pointer PtrauthKey = 2
	Ptrauth_key_init_fini_pointer        PtrauthKey = 0
)

func (PtrauthKey) String added in v0.17.0

func (e PtrauthKey) String() string

String returns the PtrauthKey constant's name, or its numeric form when the value is not a known constant.

type QosClass added in v0.17.0

type QosClass uint32
const (
	QosClassUserInteractive QosClass = 33
	QosClassUserInitiated   QosClass = 25
	QosClassDefault         QosClass = 21
	QosClassUtility         QosClass = 17
	QosClassBackground      QosClass = 9
	QosClassUnspecified     QosClass = 0
)

func (QosClass) String added in v0.17.0

func (e QosClass) String() string

String returns the QosClass constant's name, or its numeric form when the value is not a known constant.

type QuicStreamType added in v0.17.0

type QuicStreamType int32

Represents the type of a QUIC stream.

const (
	Nw_quic_stream_type_unknown        QuicStreamType = 0
	Nw_quic_stream_type_bidirectional  QuicStreamType = 1
	Nw_quic_stream_type_unidirectional QuicStreamType = 2
	Nw_quic_stream_type_datagram       QuicStreamType = 3
)

func (QuicStreamType) String added in v0.17.0

func (e QuicStreamType) String() string

String returns the QuicStreamType constant's name, or its numeric form when the value is not a known constant.

type ReportResolutionProtocol added in v0.17.0

type ReportResolutionProtocol int32

The protocol used for endpoint resolution.

const (
	Nw_report_resolution_protocol_unknown ReportResolutionProtocol = 0
	Nw_report_resolution_protocol_udp     ReportResolutionProtocol = 1
	Nw_report_resolution_protocol_tcp     ReportResolutionProtocol = 2
	Nw_report_resolution_protocol_tls     ReportResolutionProtocol = 3
	Nw_report_resolution_protocol_https   ReportResolutionProtocol = 4
)

func (ReportResolutionProtocol) String added in v0.17.0

func (e ReportResolutionProtocol) String() string

String returns the ReportResolutionProtocol constant's name, or its numeric form when the value is not a known constant.

type ReportResolutionSource added in v0.17.0

type ReportResolutionSource int32

The source of a resolution indicates if the set of endpoints was resolved locally using a cache, or sent a query over the network.

const (
	Nw_report_resolution_source_query         ReportResolutionSource = 1
	Nw_report_resolution_source_cache         ReportResolutionSource = 2
	Nw_report_resolution_source_expired_cache ReportResolutionSource = 3
)

func (ReportResolutionSource) String added in v0.17.0

func (e ReportResolutionSource) String() string

String returns the ReportResolutionSource constant's name, or its numeric form when the value is not a known constant.

type ServiceClass added in v0.17.0

type ServiceClass int32

The network service class represents the network queuing priority to use for traffic generated by a connection.

const (
	Nw_service_class_best_effort       ServiceClass = 0
	Nw_service_class_background        ServiceClass = 1
	Nw_service_class_interactive_video ServiceClass = 2
	Nw_service_class_interactive_voice ServiceClass = 3
	Nw_service_class_responsive_data   ServiceClass = 4
	Nw_service_class_signaling         ServiceClass = 5
)

func (ServiceClass) String added in v0.17.0

func (e ServiceClass) String() string

String returns the ServiceClass constant's name, or its numeric form when the value is not a known constant.

type TxtRecordFindKey added in v0.17.0

type TxtRecordFindKey int32

An enumeration of possible find results when trying to find a key-value pair in the TXT record object.

const (
	Nw_txt_record_find_key_invalid         TxtRecordFindKey = 0
	Nw_txt_record_find_key_not_present     TxtRecordFindKey = 1
	Nw_txt_record_find_key_no_value        TxtRecordFindKey = 2
	Nw_txt_record_find_key_empty_value     TxtRecordFindKey = 3
	Nw_txt_record_find_key_non_empty_value TxtRecordFindKey = 4
)

func (TxtRecordFindKey) String added in v0.17.0

func (e TxtRecordFindKey) String() string

String returns the TxtRecordFindKey constant's name, or its numeric form when the value is not a known constant.

type VirtualMemoryGuardExceptionCode added in v0.17.0

type VirtualMemoryGuardExceptionCode uint32
const (
	KGUARD_EXC_DEALLOC_GAP                   VirtualMemoryGuardExceptionCode = 1
	KGUARD_EXC_RECLAIM_COPYIO_FAILURE        VirtualMemoryGuardExceptionCode = 2
	KGUARD_EXC_RECLAIM_INDEX_FAILURE         VirtualMemoryGuardExceptionCode = 4
	KGUARD_EXC_RECLAIM_DEALLOCATE_FAILURE    VirtualMemoryGuardExceptionCode = 8
	KGUARD_EXC_RECLAIM_ACCOUNTING_FAILURE    VirtualMemoryGuardExceptionCode = 9
	KGUARD_EXC_SEC_IOPL_ON_EXEC_PAGE         VirtualMemoryGuardExceptionCode = 10
	KGUARD_EXC_SEC_EXEC_ON_IOPL_PAGE         VirtualMemoryGuardExceptionCode = 11
	KGUARD_EXC_SEC_UPL_WRITE_ON_EXEC_REGION  VirtualMemoryGuardExceptionCode = 12
	KGUARD_EXC_LARGE_ALLOCATION_TELEMETRY    VirtualMemoryGuardExceptionCode = 13
	KGUARD_EXC_SEC_ACCESS_FAULT              VirtualMemoryGuardExceptionCode = 98
	KGUARD_EXC_SEC_ASYNC_ACCESS_FAULT        VirtualMemoryGuardExceptionCode = 99
	KGUARD_EXC_SEC_COPY_DENIED               VirtualMemoryGuardExceptionCode = 100
	KGUARD_EXC_SEC_SHARING_DENIED            VirtualMemoryGuardExceptionCode = 101
	KGUARD_EXC_MTE_SYNC_FAULT                VirtualMemoryGuardExceptionCode = 200
	KGUARD_EXC_MTE_ASYNC_USER_FAULT          VirtualMemoryGuardExceptionCode = 201
	KGUARD_EXC_MTE_ASYNC_KERN_FAULT          VirtualMemoryGuardExceptionCode = 202
	KGUARD_EXC_GUARD_OBJECT_ASYNC_USER_FAULT VirtualMemoryGuardExceptionCode = 203
	KGUARD_EXC_GUARD_OBJECT_ASYNC_KERN_FAULT VirtualMemoryGuardExceptionCode = 204
)

func (VirtualMemoryGuardExceptionCode) String added in v0.17.0

String returns the VirtualMemoryGuardExceptionCode constant's name, or its numeric form when the value is not a known constant.

type WKAudiovisualMediaTypes

type WKAudiovisualMediaTypes uint64

The media types that require a user gesture to begin playing. Bitmask — values may be combined with |.

const (
	// No media types require a user gesture to begin playing.
	WKAudiovisualMediaTypeNone WKAudiovisualMediaTypes = 0
	// Media types that contain audio require a user gesture to begin playing.
	WKAudiovisualMediaTypeAudio WKAudiovisualMediaTypes = 1
	// Media types that contain video require a user gesture to begin playing.
	WKAudiovisualMediaTypeVideo WKAudiovisualMediaTypes = 2
	// All media types require a user gesture to begin playing.
	WKAudiovisualMediaTypeAll WKAudiovisualMediaTypes = 18446744073709551615
)

func (WKAudiovisualMediaTypes) String

func (e WKAudiovisualMediaTypes) String() string

String returns the WKAudiovisualMediaTypes constant's name, or its numeric form when the value is not a known constant.

type WKBackForwardList

type WKBackForwardList struct {
	objref.Handle
}

WKBackForwardList is an idiomatic wrapper over the Objective-C class WKBackForwardList.

An object that manages the list of previously loaded webpages, which the web view uses for forward and backward navigation.

func NewWKBackForwardList added in v0.17.0

func NewWKBackForwardList() *WKBackForwardList

NewWKBackForwardList creates a new WKBackForwardList.

func WKBackForwardListFromID

func WKBackForwardListFromID(id objc.ID) *WKBackForwardList

WKBackForwardListFromID adopts an existing Objective-C object as a WKBackForwardList (nil for 0), retaining it and registering a release finalizer.

func (*WKBackForwardList) BackItem

func (wbfl *WKBackForwardList) BackItem() *WKBackForwardListItem

BackItem returns the item immediately preceding the current item, or nil if there isn't one.

func (*WKBackForwardList) BackList

func (wbfl *WKBackForwardList) BackList() []*WKBackForwardListItem

BackList returns the portion of the list preceding the current item. The items are in the order in which they were originally visited.

BackList returns the collection as a Go slice.

func (*WKBackForwardList) CurrentItem

func (wbfl *WKBackForwardList) CurrentItem() *WKBackForwardListItem

CurrentItem returns the current item.

func (*WKBackForwardList) Description added in v0.17.0

func (wbfl *WKBackForwardList) Description() string

Description returns the object's -description text.

func (*WKBackForwardList) ForwardItem

func (wbfl *WKBackForwardList) ForwardItem() *WKBackForwardListItem

ForwardItem returns the item immediately following the current item, or nil if there isn't one.

func (*WKBackForwardList) ForwardList

func (wbfl *WKBackForwardList) ForwardList() []*WKBackForwardListItem

ForwardList returns the portion of the list following the current item. The items are in the order in which they were originally visited.

ForwardList returns the collection as a Go slice.

func (*WKBackForwardList) IsEqual added in v0.17.0

func (wbfl *WKBackForwardList) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*WKBackForwardList) IsKind added in v0.17.0

func (wbfl *WKBackForwardList) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*WKBackForwardList) ItemAtIndex

func (wbfl *WKBackForwardList) ItemAtIndex(index int) *WKBackForwardListItem

ItemAtIndex returns the item at the relative offset from the current item.

func (*WKBackForwardList) String added in v0.17.0

func (wbfl *WKBackForwardList) String() string

String returns the object's -description text, so a wrapper prints usefully under fmt.

type WKBackForwardListItem

type WKBackForwardListItem struct {
	objref.Handle
}

WKBackForwardListItem is an idiomatic wrapper over the Objective-C class WKBackForwardListItem.

A representation of a webpage that the web view previously visited.

func NewWKBackForwardListItem added in v0.17.0

func NewWKBackForwardListItem() *WKBackForwardListItem

NewWKBackForwardListItem creates a new WKBackForwardListItem.

func WKBackForwardListItemFromID

func WKBackForwardListItemFromID(id objc.ID) *WKBackForwardListItem

WKBackForwardListItemFromID adopts an existing Objective-C object as a WKBackForwardListItem (nil for 0), retaining it and registering a release finalizer.

func (*WKBackForwardListItem) Description added in v0.17.0

func (wbfli *WKBackForwardListItem) Description() string

Description returns the object's -description text.

func (*WKBackForwardListItem) IsEqual added in v0.17.0

func (wbfli *WKBackForwardListItem) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*WKBackForwardListItem) IsKind added in v0.17.0

func (wbfli *WKBackForwardListItem) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*WKBackForwardListItem) String added in v0.17.0

func (wbfli *WKBackForwardListItem) String() string

String returns the object's -description text, so a wrapper prints usefully under fmt.

func (*WKBackForwardListItem) Title

func (wbfli *WKBackForwardListItem) Title() string

Title returns the title of the webpage represented by this item.

func (*WKBackForwardListItem) URL

func (wbfli *WKBackForwardListItem) URL() string

URL returns the URL of the webpage represented by this item.

type WKContentMode

type WKContentMode int64

Constants that indicate how to render web view content.

const (
	WKContentModeRecommended WKContentMode = 0
	WKContentModeMobile      WKContentMode = 1
	WKContentModeDesktop     WKContentMode = 2
)

func (WKContentMode) String

func (e WKContentMode) String() string

String returns the WKContentMode constant's name, or its numeric form when the value is not a known constant.

type WKContentRuleList

type WKContentRuleList struct {
	objref.Handle
}

WKContentRuleList is an idiomatic wrapper over the Objective-C class WKContentRuleList.

A compiled list of rules to apply to web content.

func NewWKContentRuleList added in v0.17.0

func NewWKContentRuleList() *WKContentRuleList

NewWKContentRuleList creates a new WKContentRuleList.

func WKContentRuleListFromID

func WKContentRuleListFromID(id objc.ID) *WKContentRuleList

WKContentRuleListFromID adopts an existing Objective-C object as a WKContentRuleList (nil for 0), retaining it and registering a release finalizer.

func (*WKContentRuleList) Description added in v0.17.0

func (wcrl *WKContentRuleList) Description() string

Description returns the object's -description text.

func (*WKContentRuleList) Identifier

func (wcrl *WKContentRuleList) Identifier() string

Identifier returns the identifier.

func (*WKContentRuleList) IsEqual added in v0.17.0

func (wcrl *WKContentRuleList) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*WKContentRuleList) IsKind added in v0.17.0

func (wcrl *WKContentRuleList) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*WKContentRuleList) String added in v0.17.0

func (wcrl *WKContentRuleList) String() string

String returns the object's -description text, so a wrapper prints usefully under fmt.

type WKContentRuleListStore

type WKContentRuleListStore struct {
	objref.Handle
}

WKContentRuleListStore is an idiomatic wrapper over the Objective-C class WKContentRuleListStore.

An object that contains the rules for how to load and filter content in the web view.

func DefaultStore added in v0.17.0

func DefaultStore() *WKContentRuleListStore

DefaultStore returns the default content rule list store.

func NewWKContentRuleListStore added in v0.17.0

func NewWKContentRuleListStore() *WKContentRuleListStore

NewWKContentRuleListStore creates a new WKContentRuleListStore.

func StoreWithURL added in v0.17.0

func StoreWithURL(url string) *WKContentRuleListStore

StoreWithURL creates a new content rule list store in the specified directory.

func WKContentRuleListStoreFromID

func WKContentRuleListStoreFromID(id objc.ID) *WKContentRuleListStore

WKContentRuleListStoreFromID adopts an existing Objective-C object as a WKContentRuleListStore (nil for 0), retaining it and registering a release finalizer.

func (*WKContentRuleListStore) CompileContentRuleListForIdentifierEncodedContentRuleList added in v0.17.0

func (wcrls *WKContentRuleListStore) CompileContentRuleListForIdentifierEncodedContentRuleList(ctx context.Context, identifier string, encodedContentRuleList string) (result *WKContentRuleList, err error)

CompileContentRuleListForIdentifierEncodedContentRuleList compiles the specified JSON content into a new rule list and adds it to the current data store.

CompileContentRuleListForIdentifierEncodedContentRuleList blocks until the operation completes or ctx is cancelled.

func (*WKContentRuleListStore) Description added in v0.17.0

func (wcrls *WKContentRuleListStore) Description() string

Description returns the object's -description text.

func (*WKContentRuleListStore) GetAvailableContentRuleListIdentifiers

func (wcrls *WKContentRuleListStore) GetAvailableContentRuleListIdentifiers(ctx context.Context) (result obj.Object, err error)

GetAvailableContentRuleListIdentifiers fetches the identifiers for all rule lists in the store asynchronously.

GetAvailableContentRuleListIdentifiers blocks until the operation completes or ctx is cancelled.

func (*WKContentRuleListStore) IsEqual added in v0.17.0

func (wcrls *WKContentRuleListStore) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*WKContentRuleListStore) IsKind added in v0.17.0

func (wcrls *WKContentRuleListStore) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*WKContentRuleListStore) LookUpContentRuleListForIdentifier added in v0.17.0

func (wcrls *WKContentRuleListStore) LookUpContentRuleListForIdentifier(ctx context.Context, identifier string) (result *WKContentRuleList, err error)

LookUpContentRuleListForIdentifier searches asynchronously for a specific rule list in the data store.

LookUpContentRuleListForIdentifier blocks until the operation completes or ctx is cancelled.

func (*WKContentRuleListStore) RemoveContentRuleListForIdentifier added in v0.17.0

func (wcrls *WKContentRuleListStore) RemoveContentRuleListForIdentifier(ctx context.Context, identifier string) error

RemoveContentRuleListForIdentifier removes a rule list from the current data store asynchronously.

RemoveContentRuleListForIdentifier blocks until the operation completes or ctx is cancelled.

func (*WKContentRuleListStore) String added in v0.17.0

func (wcrls *WKContentRuleListStore) String() string

String returns the object's -description text, so a wrapper prints usefully under fmt.

type WKContentWorld

type WKContentWorld struct {
	objref.Handle
}

WKContentWorld is an idiomatic wrapper over the Objective-C class WKContentWorld.

An object that defines a scope of execution for JavaScript code, and which you use to prevent conflicts between different scripts.

func DefaultClientWorld added in v0.17.0

func DefaultClientWorld() *WKContentWorld

DefaultClientWorld returns retrieve the default world for API client use. When using a content world different from the page content world you can still manipulate the DOM and built-in DOM APIs but without conflicting with other aspects of the page content (e.g. JavaScript from the web page content itself) Repeated calls will retrieve the same WKContentWorld instance.

func NewWKContentWorld added in v0.17.0

func NewWKContentWorld() *WKContentWorld

NewWKContentWorld creates a new WKContentWorld.

func PageWorld added in v0.17.0

func PageWorld() *WKContentWorld

PageWorld returns retrieve the main world that page content itself uses. When interacting with page content in a WKWebView using the page content world you can disrupt the operation of page content (e.g. by conflicting with variable names in JavaScript set by the web page content itself).

func WKContentWorldFromID

func WKContentWorldFromID(id objc.ID) *WKContentWorld

WKContentWorldFromID adopts an existing Objective-C object as a WKContentWorld (nil for 0), retaining it and registering a release finalizer.

func WorldWithName added in v0.17.0

func WorldWithName(name string) *WKContentWorld

WorldWithName returns the custom content world with the specified name.

func (*WKContentWorld) Description added in v0.17.0

func (wcw *WKContentWorld) Description() string

Description returns the object's -description text.

func (*WKContentWorld) IsEqual added in v0.17.0

func (wcw *WKContentWorld) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*WKContentWorld) IsKind added in v0.17.0

func (wcw *WKContentWorld) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*WKContentWorld) Name

func (wcw *WKContentWorld) Name() string

Name returns the name of the WKContentWorld The pageWorld and defaultClientWorld instances will have a nil name. All other instances will have the non-nil name they were accessed by.

func (*WKContentWorld) String added in v0.17.0

func (wcw *WKContentWorld) String() string

String returns the object's -description text, so a wrapper prints usefully under fmt.

type WKCookiePolicy

type WKCookiePolicy int64

An enumeration with cases that indicate whether a cookie store allows cookie storage.

const (
	WKCookiePolicyAllow    WKCookiePolicy = 0
	WKCookiePolicyDisallow WKCookiePolicy = 1
)

func (WKCookiePolicy) String

func (e WKCookiePolicy) String() string

String returns the WKCookiePolicy constant's name, or its numeric form when the value is not a known constant.

type WKDialogResult

type WKDialogResult int64

An enumeration that lists the possible ways a delegate handled displaying a custom Lockdown Mode first use dialog.

const (
	// A result that indicates the delegate didn’t display a message, so the web view should show the default Lockdown Mode message.
	WKDialogResultShowDefault WKDialogResult = 1
	// A result that indicates the delegate didn’t display a message, so other web views should check again.
	WKDialogResultAskAgain WKDialogResult = 2
	// A result that indicates the delegate displayed the first use message.
	WKDialogResultHandled WKDialogResult = 3
)

func (WKDialogResult) String

func (e WKDialogResult) String() string

String returns the WKDialogResult constant's name, or its numeric form when the value is not a known constant.

type WKDownload

type WKDownload struct {
	objref.Handle
}

WKDownload is an idiomatic wrapper over the Objective-C class WKDownload.

An object that represents the download of a web resource.

func NewWKDownload added in v0.17.0

func NewWKDownload() *WKDownload

NewWKDownload creates a new WKDownload.

func WKDownloadFromID

func WKDownloadFromID(id objc.ID) *WKDownload

WKDownloadFromID adopts an existing Objective-C object as a WKDownload (nil for 0), retaining it and registering a release finalizer.

func (*WKDownload) Cancel

func (wd *WKDownload) Cancel(completionHandler func(obj.Object))

Cancel cancels the download, and optionally captures data so that you can resume the download later.

func (*WKDownload) Description added in v0.17.0

func (wd *WKDownload) Description() string

Description returns the object's -description text.

func (*WKDownload) IsEqual added in v0.17.0

func (wd *WKDownload) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*WKDownload) IsKind added in v0.17.0

func (wd *WKDownload) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*WKDownload) IsUserInitiated

func (wd *WKDownload) IsUserInitiated() bool

IsUserInitiated reports whether the object is user initiated.

func (*WKDownload) OriginalRequest

func (wd *WKDownload) OriginalRequest() *foundation.URLRequest

OriginalRequest returns the original request.

func (*WKDownload) OriginatingFrame

func (wd *WKDownload) OriginatingFrame() *WKFrameInfo

OriginatingFrame returns the originating frame.

func (*WKDownload) String added in v0.17.0

func (wd *WKDownload) String() string

String returns the object's -description text, so a wrapper prints usefully under fmt.

func (*WKDownload) WebView

func (wd *WKDownload) WebView() *WKWebView

WebView returns the web view.

type WKDownloadDelegate

type WKDownloadDelegate interface {
	DownloadDecideDestinationUsingResponseSuggestedFilenameCompletionHandler(download *WKDownload, response obj.Object, suggestedFilename string, completionHandler func(obj.Object))
}

WKDownloadDelegate is the Go form of the Objective-C protocol WKDownloadDelegate.

type WKDownloadPlaceholderPolicy

type WKDownloadPlaceholderPolicy int64
const (
	WKDownloadPlaceholderPolicyDisable WKDownloadPlaceholderPolicy = 0
	WKDownloadPlaceholderPolicyEnable  WKDownloadPlaceholderPolicy = 1
)

func (WKDownloadPlaceholderPolicy) String

String returns the WKDownloadPlaceholderPolicy constant's name, or its numeric form when the value is not a known constant.

type WKDownloadRedirectPolicy

type WKDownloadRedirectPolicy int64

An enumeration with cases that indicate whether to proceed with a redirect.

const (
	WKDownloadRedirectPolicyCancel WKDownloadRedirectPolicy = 0
	WKDownloadRedirectPolicyAllow  WKDownloadRedirectPolicy = 1
)

func (WKDownloadRedirectPolicy) String

func (e WKDownloadRedirectPolicy) String() string

String returns the WKDownloadRedirectPolicy constant's name, or its numeric form when the value is not a known constant.

type WKErrorCode

type WKErrorCode int64

Possible error values that WebKit APIs can return.

const (
	WKErrorUnknown                             WKErrorCode = 1
	WKErrorWebContentProcessTerminated         WKErrorCode = 2
	WKErrorWebViewInvalidated                  WKErrorCode = 3
	WKErrorJavaScriptExceptionOccurred         WKErrorCode = 4
	WKErrorJavaScriptResultTypeIsUnsupported   WKErrorCode = 5
	WKErrorContentRuleListStoreCompileFailed   WKErrorCode = 6
	WKErrorContentRuleListStoreLookUpFailed    WKErrorCode = 7
	WKErrorContentRuleListStoreRemoveFailed    WKErrorCode = 8
	WKErrorContentRuleListStoreVersionMismatch WKErrorCode = 9
	WKErrorAttributedStringContentFailedToLoad WKErrorCode = 10
	WKErrorAttributedStringContentLoadTimedOut WKErrorCode = 11
	WKErrorJavaScriptInvalidFrameTarget        WKErrorCode = 12
	WKErrorNavigationAppBoundDomain            WKErrorCode = 13
	WKErrorJavaScriptAppBoundDomain            WKErrorCode = 14
	WKErrorDuplicateCredential                 WKErrorCode = 15
	WKErrorMalformedCredential                 WKErrorCode = 16
	WKErrorCredentialNotFound                  WKErrorCode = 17
)

func (WKErrorCode) String

func (e WKErrorCode) String() string

String returns the WKErrorCode constant's name, or its numeric form when the value is not a known constant.

type WKFindConfiguration

type WKFindConfiguration struct {
	objref.Handle
}

WKFindConfiguration is an idiomatic wrapper over the Objective-C class WKFindConfiguration.

The configuration parameters to use when searching the contents of the web view.

func NewWKFindConfiguration added in v0.17.0

func NewWKFindConfiguration() *WKFindConfiguration

NewWKFindConfiguration creates a new WKFindConfiguration.

func WKFindConfigurationFromID

func WKFindConfigurationFromID(id objc.ID) *WKFindConfiguration

WKFindConfigurationFromID adopts an existing Objective-C object as a WKFindConfiguration (nil for 0), retaining it and registering a release finalizer.

func (*WKFindConfiguration) Backwards

func (wfc *WKFindConfiguration) Backwards() bool

Backwards wraps the corresponding Objective-C method.

func (*WKFindConfiguration) CaseSensitive

func (wfc *WKFindConfiguration) CaseSensitive() bool

CaseSensitive wraps the corresponding Objective-C method.

func (*WKFindConfiguration) Description added in v0.17.0

func (wfc *WKFindConfiguration) Description() string

Description returns the object's -description text.

func (*WKFindConfiguration) IsEqual added in v0.17.0

func (wfc *WKFindConfiguration) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*WKFindConfiguration) IsKind added in v0.17.0

func (wfc *WKFindConfiguration) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*WKFindConfiguration) String added in v0.17.0

func (wfc *WKFindConfiguration) String() string

String returns the object's -description text, so a wrapper prints usefully under fmt.

func (*WKFindConfiguration) WithBackwards added in v0.17.0

func (wfc *WKFindConfiguration) WithBackwards(backwards bool) *WKFindConfiguration

WithBackwards sets a Boolean value that indicates the search direction, relative to the current selection.

func (*WKFindConfiguration) WithCaseSensitive added in v0.17.0

func (wfc *WKFindConfiguration) WithCaseSensitive(caseSensitive bool) *WKFindConfiguration

WithCaseSensitive sets a Boolean value that indicates whether to consider case when matching the search string.

func (*WKFindConfiguration) WithWraps added in v0.17.0

func (wfc *WKFindConfiguration) WithWraps(wraps bool) *WKFindConfiguration

WithWraps sets a Boolean value that indicates whether the search wraps around to the other side of the page.

func (*WKFindConfiguration) Wraps

func (wfc *WKFindConfiguration) Wraps() bool

Wraps wraps the corresponding Objective-C method.

type WKFindResult

type WKFindResult struct {
	objref.Handle
}

WKFindResult is an idiomatic wrapper over the Objective-C class WKFindResult.

An object that contains the results of searching the web view’s contents.

func NewWKFindResult added in v0.17.0

func NewWKFindResult() *WKFindResult

NewWKFindResult creates a new WKFindResult.

func WKFindResultFromID

func WKFindResultFromID(id objc.ID) *WKFindResult

WKFindResultFromID adopts an existing Objective-C object as a WKFindResult (nil for 0), retaining it and registering a release finalizer.

func (*WKFindResult) Description added in v0.17.0

func (wfr *WKFindResult) Description() string

Description returns the object's -description text.

func (*WKFindResult) IsEqual added in v0.17.0

func (wfr *WKFindResult) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*WKFindResult) IsKind added in v0.17.0

func (wfr *WKFindResult) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*WKFindResult) MatchFound

func (wfr *WKFindResult) MatchFound() bool

MatchFound wraps the corresponding Objective-C method.

func (*WKFindResult) String added in v0.17.0

func (wfr *WKFindResult) String() string

String returns the object's -description text, so a wrapper prints usefully under fmt.

type WKFrameInfo

type WKFrameInfo struct {
	objref.Handle
}

WKFrameInfo is an idiomatic wrapper over the Objective-C class WKFrameInfo.

An object that contains information about a frame on a webpage.

func NewWKFrameInfo added in v0.17.0

func NewWKFrameInfo() *WKFrameInfo

NewWKFrameInfo creates a new WKFrameInfo.

func WKFrameInfoFromID

func WKFrameInfoFromID(id objc.ID) *WKFrameInfo

WKFrameInfoFromID adopts an existing Objective-C object as a WKFrameInfo (nil for 0), retaining it and registering a release finalizer.

func (*WKFrameInfo) Description added in v0.17.0

func (wfi *WKFrameInfo) Description() string

Description returns the object's -description text.

func (*WKFrameInfo) IsEqual added in v0.17.0

func (wfi *WKFrameInfo) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*WKFrameInfo) IsKind added in v0.17.0

func (wfi *WKFrameInfo) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*WKFrameInfo) IsMainFrame

func (wfi *WKFrameInfo) IsMainFrame() bool

IsMainFrame reports whether the frame is the main frame or a subframe.

func (*WKFrameInfo) Request

func (wfi *WKFrameInfo) Request() *foundation.URLRequest

Request returns the frame's current request.

func (*WKFrameInfo) SecurityOrigin

func (wfi *WKFrameInfo) SecurityOrigin() *WKSecurityOrigin

SecurityOrigin returns the frame's current security origin.

func (*WKFrameInfo) String added in v0.17.0

func (wfi *WKFrameInfo) String() string

String returns the object's -description text, so a wrapper prints usefully under fmt.

func (*WKFrameInfo) WebView

func (wfi *WKFrameInfo) WebView() *WKWebView

WebView returns the web view of the webpage that contains this frame.

type WKFullscreenState

type WKFullscreenState int64
const (
	WKFullscreenStateNotInFullscreen    WKFullscreenState = 0
	WKFullscreenStateEnteringFullscreen WKFullscreenState = 1
	WKFullscreenStateInFullscreen       WKFullscreenState = 2
	WKFullscreenStateExitingFullscreen  WKFullscreenState = 3
)

func (WKFullscreenState) String

func (e WKFullscreenState) String() string

String returns the WKFullscreenState constant's name, or its numeric form when the value is not a known constant.

type WKHTTPCookieStore

type WKHTTPCookieStore struct {
	objref.Handle
}

WKHTTPCookieStore is an idiomatic wrapper over the Objective-C class WKHTTPCookieStore.

An object that manages the HTTP cookies associated with a particular web view.

func NewWKHTTPCookieStore added in v0.17.0

func NewWKHTTPCookieStore() *WKHTTPCookieStore

NewWKHTTPCookieStore creates a new WKHTTPCookieStore.

func WKHTTPCookieStoreFromID

func WKHTTPCookieStoreFromID(id objc.ID) *WKHTTPCookieStore

WKHTTPCookieStoreFromID adopts an existing Objective-C object as a WKHTTPCookieStore (nil for 0), retaining it and registering a release finalizer.

func (*WKHTTPCookieStore) DeleteCookieCompletionHandler

func (wcs *WKHTTPCookieStore) DeleteCookieCompletionHandler(cookie obj.Object, completionHandler func())

DeleteCookieCompletionHandler deletes the specified cookie.

func (*WKHTTPCookieStore) Description added in v0.17.0

func (wcs *WKHTTPCookieStore) Description() string

Description returns the object's -description text.

func (*WKHTTPCookieStore) GetAllCookies

func (wcs *WKHTTPCookieStore) GetAllCookies(completionHandler func(obj.Object))

GetAllCookies fetches all stored cookies asynchronously and delivers them to the specified completion handler.

func (*WKHTTPCookieStore) GetCookiePolicy

func (wcs *WKHTTPCookieStore) GetCookiePolicy(completionHandler func(WKCookiePolicy))

GetCookiePolicy returns a cookie policy that indicates whether the cookie store allows cookie storage.

func (*WKHTTPCookieStore) IsEqual added in v0.17.0

func (wcs *WKHTTPCookieStore) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*WKHTTPCookieStore) IsKind added in v0.17.0

func (wcs *WKHTTPCookieStore) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*WKHTTPCookieStore) SetCookieCompletionHandler

func (wcs *WKHTTPCookieStore) SetCookieCompletionHandler(cookie obj.Object, completionHandler func())

SetCookieCompletionHandler adds a cookie to the cookie store.

func (*WKHTTPCookieStore) SetCookiePolicyCompletionHandler

func (wcs *WKHTTPCookieStore) SetCookiePolicyCompletionHandler(policy WKCookiePolicy, completionHandler func())

SetCookiePolicyCompletionHandler sets a cookie policy that indicates whether the cookie store allows cookie storage.

func (*WKHTTPCookieStore) SetCookiesCompletionHandler

func (wcs *WKHTTPCookieStore) SetCookiesCompletionHandler(cookies []*foundation.HTTPCookie, completionHandler func())

SetCookiesCompletionHandler set multiple cookies.

func (*WKHTTPCookieStore) String added in v0.17.0

func (wcs *WKHTTPCookieStore) String() string

String returns the object's -description text, so a wrapper prints usefully under fmt.

type WKHTTPCookieStoreObserver

type WKHTTPCookieStoreObserver interface {
}

WKHTTPCookieStoreObserver receives the callbacks of the Objective-C protocol WKHTTPCookieStoreObserver. Pass an implementation to the matching With… setter; the wrapper builds the Objective-C delegate object for you. Every method listed here is required. The protocol's optional methods are separate one-method interfaces (WKHTTPCookieStoreObserver…Handler): implement the ones you need on the same value and the framework will call them too.

type WKHTTPCookieStoreObserverCookiesDidChangeInCookieStoreHandler added in v0.17.0

type WKHTTPCookieStoreObserverCookiesDidChangeInCookieStoreHandler interface {
	CookiesDidChangeInCookieStore(cookieStore *WKHTTPCookieStore)
}

WKHTTPCookieStoreObserverCookiesDidChangeInCookieStoreHandler is the optional WKHTTPCookieStoreObserver method cookiesDidChangeInCookieStore:. Implement it on a WKHTTPCookieStoreObserver value to receive that callback; a value without it is simply never sent one.

type WKInactiveSchedulingPolicy

type WKInactiveSchedulingPolicy int64

An enumeration that lists policies for how a web view that’s not in a window handles tasks.

const (
	WKInactiveSchedulingPolicySuspend  WKInactiveSchedulingPolicy = 0
	WKInactiveSchedulingPolicyThrottle WKInactiveSchedulingPolicy = 1
	WKInactiveSchedulingPolicyNone     WKInactiveSchedulingPolicy = 2
)

func (WKInactiveSchedulingPolicy) String

String returns the WKInactiveSchedulingPolicy constant's name, or its numeric form when the value is not a known constant.

type WKMediaCaptureState

type WKMediaCaptureState int64

An enumeration that describes whether a media device, like a camera or microphone, is currently capturing audio or video.

const (
	// The media device is off.
	WKMediaCaptureStateNone WKMediaCaptureState = 0
	// The media device is actively capturing audio or video.
	WKMediaCaptureStateActive WKMediaCaptureState = 1
	// The media device is muted, and not actively capturing audio or video.
	WKMediaCaptureStateMuted WKMediaCaptureState = 2
)

func (WKMediaCaptureState) String

func (e WKMediaCaptureState) String() string

String returns the WKMediaCaptureState constant's name, or its numeric form when the value is not a known constant.

type WKMediaCaptureType

type WKMediaCaptureType int64

An enumeration listing the types of media devices that can capture audio, video, or both.

const (
	// A media device that can capture video.
	WKMediaCaptureTypeCamera WKMediaCaptureType = 0
	// A media device that can capture audio.
	WKMediaCaptureTypeMicrophone WKMediaCaptureType = 1
	// A media device or devices that can capture audio and video.
	WKMediaCaptureTypeCameraAndMicrophone WKMediaCaptureType = 2
)

func (WKMediaCaptureType) String

func (e WKMediaCaptureType) String() string

String returns the WKMediaCaptureType constant's name, or its numeric form when the value is not a known constant.

type WKMediaPlaybackState

type WKMediaPlaybackState int64

An enumeration that describes whether an audio or video presentation is playing, paused, or suspended.

const (
	// There is no media to play back.
	WKMediaPlaybackStateNone WKMediaPlaybackState = 0
	// The media is playing.
	WKMediaPlaybackStatePlaying WKMediaPlaybackState = 1
	// The media playback is paused.
	WKMediaPlaybackStatePaused WKMediaPlaybackState = 2
	// The media is not playing, and cannot be resumed until the user revokes the suspension.
	WKMediaPlaybackStateSuspended WKMediaPlaybackState = 3
)

func (WKMediaPlaybackState) String

func (e WKMediaPlaybackState) String() string

String returns the WKMediaPlaybackState constant's name, or its numeric form when the value is not a known constant.

type WKNavigation

type WKNavigation struct {
	objref.Handle
}

WKNavigation is an idiomatic wrapper over the Objective-C class WKNavigation.

An object that tracks the loading progress of a webpage.

func NewWKNavigation added in v0.17.0

func NewWKNavigation() *WKNavigation

NewWKNavigation creates a new WKNavigation.

func WKNavigationFromID

func WKNavigationFromID(id objc.ID) *WKNavigation

WKNavigationFromID adopts an existing Objective-C object as a WKNavigation (nil for 0), retaining it and registering a release finalizer.

func (*WKNavigation) Description added in v0.17.0

func (wn *WKNavigation) Description() string

Description returns the object's -description text.

func (*WKNavigation) EffectiveContentMode

func (wn *WKNavigation) EffectiveContentMode() WKContentMode

EffectiveContentMode returns the effective content mode.

func (*WKNavigation) IsEqual added in v0.17.0

func (wn *WKNavigation) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*WKNavigation) IsKind added in v0.17.0

func (wn *WKNavigation) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*WKNavigation) String added in v0.17.0

func (wn *WKNavigation) String() string

String returns the object's -description text, so a wrapper prints usefully under fmt.

type WKNavigationAction

type WKNavigationAction struct {
	objref.Handle
}

WKNavigationAction is an idiomatic wrapper over the Objective-C class WKNavigationAction.

An object that contains information about an action that causes navigation to occur.

func NewWKNavigationAction added in v0.17.0

func NewWKNavigationAction() *WKNavigationAction

NewWKNavigationAction creates a new WKNavigationAction.

func WKNavigationActionFromID

func WKNavigationActionFromID(id objc.ID) *WKNavigationAction

WKNavigationActionFromID adopts an existing Objective-C object as a WKNavigationAction (nil for 0), retaining it and registering a release finalizer.

func (*WKNavigationAction) ButtonNumber

func (wna *WKNavigationAction) ButtonNumber() int

ButtonNumber returns the number of the mouse button causing the navigation to be requested.

func (*WKNavigationAction) Description added in v0.17.0

func (wna *WKNavigationAction) Description() string

Description returns the object's -description text.

func (*WKNavigationAction) IsContentRuleListRedirect

func (wna *WKNavigationAction) IsContentRuleListRedirect() bool

IsContentRuleListRedirect reports whether the navigation is a redirect from a content rule list.

func (*WKNavigationAction) IsEqual added in v0.17.0

func (wna *WKNavigationAction) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*WKNavigationAction) IsKind added in v0.17.0

func (wna *WKNavigationAction) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*WKNavigationAction) NavigationType

func (wna *WKNavigationAction) NavigationType() WKNavigationType

NavigationType returns the type of action that triggered the navigation. The value is one of the constants of the enumerated type WKNavigationType.

func (*WKNavigationAction) Request

func (wna *WKNavigationAction) Request() *foundation.URLRequest

Request returns the navigation's request.

func (*WKNavigationAction) ShouldPerformDownload

func (wna *WKNavigationAction) ShouldPerformDownload() bool

ShouldPerformDownload reports whether the web content used a download attribute to indicate that this should be downloaded.

func (*WKNavigationAction) SourceFrame

func (wna *WKNavigationAction) SourceFrame() *WKFrameInfo

SourceFrame returns the frame requesting the navigation.

func (*WKNavigationAction) String added in v0.17.0

func (wna *WKNavigationAction) String() string

String returns the object's -description text, so a wrapper prints usefully under fmt.

func (*WKNavigationAction) TargetFrame

func (wna *WKNavigationAction) TargetFrame() *WKFrameInfo

TargetFrame returns the target frame, or nil if this is a new window navigation.

type WKNavigationActionPolicy

type WKNavigationActionPolicy int64

Constants that indicate whether to allow or cancel navigation to a webpage from an action.

const (
	// Cancel the navigation.
	WKNavigationActionPolicyCancel WKNavigationActionPolicy = 0
	// Allow the navigation to continue.
	WKNavigationActionPolicyAllow WKNavigationActionPolicy = 1
	// Allow the download to proceed.
	WKNavigationActionPolicyDownload WKNavigationActionPolicy = 2
)

func (WKNavigationActionPolicy) String

func (e WKNavigationActionPolicy) String() string

String returns the WKNavigationActionPolicy constant's name, or its numeric form when the value is not a known constant.

type WKNavigationDelegate

type WKNavigationDelegate interface {
}

WKNavigationDelegate receives the callbacks of the Objective-C protocol WKNavigationDelegate. Pass an implementation to the matching With… setter; the wrapper builds the Objective-C delegate object for you. Every method listed here is required. The protocol's optional methods are separate one-method interfaces (WKNavigationDelegate…Handler): implement the ones you need on the same value and the framework will call them too.

type WKNavigationDelegateWebViewDidCommitNavigationHandler added in v0.17.0

type WKNavigationDelegateWebViewDidCommitNavigationHandler interface {
	WebViewDidCommitNavigation(webView *WKWebView, navigation *WKNavigation)
}

WKNavigationDelegateWebViewDidCommitNavigationHandler is the optional WKNavigationDelegate method webView:didCommitNavigation:. Implement it on a WKNavigationDelegate value to receive that callback; a value without it is simply never sent one.

type WKNavigationDelegateWebViewDidFailNavigationWithErrorHandler added in v0.17.0

type WKNavigationDelegateWebViewDidFailNavigationWithErrorHandler interface {
	WebViewDidFailNavigationWithError(webView *WKWebView, navigation *WKNavigation, err error)
}

WKNavigationDelegateWebViewDidFailNavigationWithErrorHandler is the optional WKNavigationDelegate method webView:didFailNavigation:withError:. Implement it on a WKNavigationDelegate value to receive that callback; a value without it is simply never sent one.

type WKNavigationDelegateWebViewDidFailProvisionalNavigationWithErrorHandler added in v0.17.0

type WKNavigationDelegateWebViewDidFailProvisionalNavigationWithErrorHandler interface {
	WebViewDidFailProvisionalNavigationWithError(webView *WKWebView, navigation *WKNavigation, err error)
}

WKNavigationDelegateWebViewDidFailProvisionalNavigationWithErrorHandler is the optional WKNavigationDelegate method webView:didFailProvisionalNavigation:withError:. Implement it on a WKNavigationDelegate value to receive that callback; a value without it is simply never sent one.

type WKNavigationDelegateWebViewDidFinishNavigationHandler added in v0.17.0

type WKNavigationDelegateWebViewDidFinishNavigationHandler interface {
	WebViewDidFinishNavigation(webView *WKWebView, navigation *WKNavigation)
}

WKNavigationDelegateWebViewDidFinishNavigationHandler is the optional WKNavigationDelegate method webView:didFinishNavigation:. Implement it on a WKNavigationDelegate value to receive that callback; a value without it is simply never sent one.

type WKNavigationDelegateWebViewDidReceiveServerRedirectForProvisionalNavigationHandler added in v0.17.0

type WKNavigationDelegateWebViewDidReceiveServerRedirectForProvisionalNavigationHandler interface {
	WebViewDidReceiveServerRedirectForProvisionalNavigation(webView *WKWebView, navigation *WKNavigation)
}

WKNavigationDelegateWebViewDidReceiveServerRedirectForProvisionalNavigationHandler is the optional WKNavigationDelegate method webView:didReceiveServerRedirectForProvisionalNavigation:. Implement it on a WKNavigationDelegate value to receive that callback; a value without it is simply never sent one.

type WKNavigationDelegateWebViewDidStartProvisionalNavigationHandler added in v0.17.0

type WKNavigationDelegateWebViewDidStartProvisionalNavigationHandler interface {
	WebViewDidStartProvisionalNavigation(webView *WKWebView, navigation *WKNavigation)
}

WKNavigationDelegateWebViewDidStartProvisionalNavigationHandler is the optional WKNavigationDelegate method webView:didStartProvisionalNavigation:. Implement it on a WKNavigationDelegate value to receive that callback; a value without it is simply never sent one.

type WKNavigationDelegateWebViewNavigationActionDidBecomeDownloadHandler added in v0.17.0

type WKNavigationDelegateWebViewNavigationActionDidBecomeDownloadHandler interface {
	WebViewNavigationActionDidBecomeDownload(webView *WKWebView, navigationAction *WKNavigationAction, download *WKDownload)
}

WKNavigationDelegateWebViewNavigationActionDidBecomeDownloadHandler is the optional WKNavigationDelegate method webView:navigationAction:didBecomeDownload:. Implement it on a WKNavigationDelegate value to receive that callback; a value without it is simply never sent one.

type WKNavigationDelegateWebViewNavigationResponseDidBecomeDownloadHandler added in v0.17.0

type WKNavigationDelegateWebViewNavigationResponseDidBecomeDownloadHandler interface {
	WebViewNavigationResponseDidBecomeDownload(webView *WKWebView, navigationResponse *WKNavigationResponse, download *WKDownload)
}

WKNavigationDelegateWebViewNavigationResponseDidBecomeDownloadHandler is the optional WKNavigationDelegate method webView:navigationResponse:didBecomeDownload:. Implement it on a WKNavigationDelegate value to receive that callback; a value without it is simply never sent one.

type WKNavigationDelegateWebViewWebContentProcessDidTerminateHandler added in v0.17.0

type WKNavigationDelegateWebViewWebContentProcessDidTerminateHandler interface {
	WebViewWebContentProcessDidTerminate(webView *WKWebView)
}

WKNavigationDelegateWebViewWebContentProcessDidTerminateHandler is the optional WKNavigationDelegate method webViewWebContentProcessDidTerminate:. Implement it on a WKNavigationDelegate value to receive that callback; a value without it is simply never sent one.

type WKNavigationResponse

type WKNavigationResponse struct {
	objref.Handle
}

WKNavigationResponse is an idiomatic wrapper over the Objective-C class WKNavigationResponse.

An object that contains the response to a navigation request, and which you use to make navigation-related policy decisions.

func NewWKNavigationResponse added in v0.17.0

func NewWKNavigationResponse() *WKNavigationResponse

NewWKNavigationResponse creates a new WKNavigationResponse.

func WKNavigationResponseFromID

func WKNavigationResponseFromID(id objc.ID) *WKNavigationResponse

WKNavigationResponseFromID adopts an existing Objective-C object as a WKNavigationResponse (nil for 0), retaining it and registering a release finalizer.

func (*WKNavigationResponse) CanShowMIMEType

func (wnr *WKNavigationResponse) CanShowMIMEType() bool

CanShowMIMEType reports whether webKit can display the response's MIME type natively. Allowing a navigation response with a MIME type that can't be shown will cause the navigation to fail.

func (*WKNavigationResponse) Description added in v0.17.0

func (wnr *WKNavigationResponse) Description() string

Description returns the object's -description text.

func (*WKNavigationResponse) IsEqual added in v0.17.0

func (wnr *WKNavigationResponse) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*WKNavigationResponse) IsForMainFrame

func (wnr *WKNavigationResponse) IsForMainFrame() bool

IsForMainFrame reports whether the frame being navigated is the main frame.

func (*WKNavigationResponse) IsKind added in v0.17.0

func (wnr *WKNavigationResponse) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*WKNavigationResponse) Response

func (wnr *WKNavigationResponse) Response() *foundation.URLResponse

Response returns the frame's response.

func (*WKNavigationResponse) String added in v0.17.0

func (wnr *WKNavigationResponse) String() string

String returns the object's -description text, so a wrapper prints usefully under fmt.

type WKNavigationResponsePolicy

type WKNavigationResponsePolicy int64

Constants that indicate whether to allow or cancel navigation to a webpage from a response.

const (
	// Cancel the navigation.
	WKNavigationResponsePolicyCancel WKNavigationResponsePolicy = 0
	// Allow the navigation to continue.
	WKNavigationResponsePolicyAllow WKNavigationResponsePolicy = 1
	// Allow the download to proceed.
	WKNavigationResponsePolicyDownload WKNavigationResponsePolicy = 2
)

func (WKNavigationResponsePolicy) String

String returns the WKNavigationResponsePolicy constant's name, or its numeric form when the value is not a known constant.

type WKNavigationType

type WKNavigationType int64

The type of action that triggered the navigation.

const (
	// A link activation.
	WKNavigationTypeLinkActivated WKNavigationType = 0
	// A request to submit a form.
	WKNavigationTypeFormSubmitted WKNavigationType = 1
	// A request for the frame’s next or previous item.
	WKNavigationTypeBackForward WKNavigationType = 2
	// A request to reload the webpage.
	WKNavigationTypeReload WKNavigationType = 3
	// A request to resubmit a form.
	WKNavigationTypeFormResubmitted WKNavigationType = 4
	// A navigation request that originates for some other reason.
	WKNavigationTypeOther WKNavigationType = -1
)

func (WKNavigationType) String

func (e WKNavigationType) String() string

String returns the WKNavigationType constant's name, or its numeric form when the value is not a known constant.

type WKOpenPanelParameters

type WKOpenPanelParameters struct {
	objref.Handle
}

WKOpenPanelParameters is an idiomatic wrapper over the Objective-C class WKOpenPanelParameters.

The configuration details of a file upload control in your web content.

func NewWKOpenPanelParameters added in v0.17.0

func NewWKOpenPanelParameters() *WKOpenPanelParameters

NewWKOpenPanelParameters creates a new WKOpenPanelParameters.

func WKOpenPanelParametersFromID

func WKOpenPanelParametersFromID(id objc.ID) *WKOpenPanelParameters

WKOpenPanelParametersFromID adopts an existing Objective-C object as a WKOpenPanelParameters (nil for 0), retaining it and registering a release finalizer.

func (*WKOpenPanelParameters) AllowsDirectories

func (wopp *WKOpenPanelParameters) AllowsDirectories() bool

AllowsDirectories reports whether the file upload control supports selecting directories.

func (*WKOpenPanelParameters) AllowsMultipleSelection

func (wopp *WKOpenPanelParameters) AllowsMultipleSelection() bool

AllowsMultipleSelection reports whether the file upload control supports multiple files.

func (*WKOpenPanelParameters) Description added in v0.17.0

func (wopp *WKOpenPanelParameters) Description() string

Description returns the object's -description text.

func (*WKOpenPanelParameters) IsEqual added in v0.17.0

func (wopp *WKOpenPanelParameters) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*WKOpenPanelParameters) IsKind added in v0.17.0

func (wopp *WKOpenPanelParameters) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*WKOpenPanelParameters) String added in v0.17.0

func (wopp *WKOpenPanelParameters) String() string

String returns the object's -description text, so a wrapper prints usefully under fmt.

type WKPDFConfiguration

type WKPDFConfiguration struct {
	objref.Handle
}

WKPDFConfiguration is an idiomatic wrapper over the Objective-C class WKPDFConfiguration.

The configuration data to use when generating a PDF representation of a web view’s contents.

func NewWKPDFConfiguration added in v0.17.0

func NewWKPDFConfiguration() *WKPDFConfiguration

NewWKPDFConfiguration creates a new WKPDFConfiguration.

func WKPDFConfigurationFromID

func WKPDFConfigurationFromID(id objc.ID) *WKPDFConfiguration

WKPDFConfigurationFromID adopts an existing Objective-C object as a WKPDFConfiguration (nil for 0), retaining it and registering a release finalizer.

func (*WKPDFConfiguration) AllowTransparentBackground

func (wc *WKPDFConfiguration) AllowTransparentBackground() bool

AllowTransparentBackground reports whether the PDF should allow transparent backgrounds. The default value is `NO`.

func (*WKPDFConfiguration) Description added in v0.17.0

func (wc *WKPDFConfiguration) Description() string

Description returns the object's -description text.

func (*WKPDFConfiguration) IsEqual added in v0.17.0

func (wc *WKPDFConfiguration) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*WKPDFConfiguration) IsKind added in v0.17.0

func (wc *WKPDFConfiguration) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*WKPDFConfiguration) Rect

Rect returns the rect to capture in web page coordinates If the rect is set to the null rect, the bounds of the currently displayed web page will be used. The initial value is the null rect.

func (*WKPDFConfiguration) String added in v0.17.0

func (wc *WKPDFConfiguration) String() string

String returns the object's -description text, so a wrapper prints usefully under fmt.

func (*WKPDFConfiguration) WithAllowTransparentBackground added in v0.17.0

func (wc *WKPDFConfiguration) WithAllowTransparentBackground(allowTransparentBackground bool) *WKPDFConfiguration

WithAllowTransparentBackground sets a Boolean value that indicates whether the PDF may have a transparent background.

func (*WKPDFConfiguration) WithRect added in v0.17.0

WithRect sets the portion of your web view to capture, specified as a rectangle in the view’s coordinate system.

type WKPermissionDecision

type WKPermissionDecision int64

An enumeration of possible permission decisions for device resource access.

const (
	// Prompt the user for permission for the requested resource.
	WKPermissionDecisionPrompt WKPermissionDecision = 0
	// Grant permission for the requested resource.
	WKPermissionDecisionGrant WKPermissionDecision = 1
	// Deny permission for the requested resource.
	WKPermissionDecisionDeny WKPermissionDecision = 2
)

func (WKPermissionDecision) String

func (e WKPermissionDecision) String() string

String returns the WKPermissionDecision constant's name, or its numeric form when the value is not a known constant.

type WKPreferences

type WKPreferences struct {
	objref.Handle
}

WKPreferences is an idiomatic wrapper over the Objective-C class WKPreferences.

An object that encapsulates the standard behaviors to apply to websites.

func NewWKPreferences added in v0.17.0

func NewWKPreferences() *WKPreferences

NewWKPreferences creates a new WKPreferences.

func WKPreferencesFromID

func WKPreferencesFromID(id objc.ID) *WKPreferences

WKPreferencesFromID adopts an existing Objective-C object as a WKPreferences (nil for 0), retaining it and registering a release finalizer.

func (*WKPreferences) Description added in v0.17.0

func (wp *WKPreferences) Description() string

Description returns the object's -description text.

func (*WKPreferences) InactiveSchedulingPolicy

func (wp *WKPreferences) InactiveSchedulingPolicy() WKInactiveSchedulingPolicy

InactiveSchedulingPolicy specify the scheduling policy for the web view when it is inactive and detached from the view hierarchy. Web views are not considered idle when playing media or loading web pages. A suspended web view will pause JavaScript execution and page layout.

func (*WKPreferences) IsElementFullscreenEnabled

func (wp *WKPreferences) IsElementFullscreenEnabled() bool

IsElementFullscreenEnabled reports whether fullscreen API is enabled. The default value is false. We can set it to true to enable support for the fullscreen API.

func (*WKPreferences) IsEqual added in v0.17.0

func (wp *WKPreferences) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*WKPreferences) IsFraudulentWebsiteWarningEnabled

func (wp *WKPreferences) IsFraudulentWebsiteWarningEnabled() bool

IsFraudulentWebsiteWarningEnabled reports whether warnings should be shown for suspected fraudulent content such as phishing or malware. The default value is true.

func (*WKPreferences) IsKind added in v0.17.0

func (wp *WKPreferences) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*WKPreferences) IsSiteSpecificQuirksModeEnabled

func (wp *WKPreferences) IsSiteSpecificQuirksModeEnabled() bool

IsSiteSpecificQuirksModeEnabled reports whether webKit will apply built-in workarounds (quirks) to improve compatibility with certain known websites. You can disable site-specific quirks to help test your website without these workarounds. Enabled by default.

func (*WKPreferences) IsTextInteractionEnabled

func (wp *WKPreferences) IsTextInteractionEnabled() bool

IsTextInteractionEnabled reports whether text interaction is disabled.

func (*WKPreferences) JavaEnabled

func (wp *WKPreferences) JavaEnabled() bool

JavaEnabled wraps the corresponding Objective-C method.

func (*WKPreferences) JavaScriptCanOpenWindowsAutomatically

func (wp *WKPreferences) JavaScriptCanOpenWindowsAutomatically() bool

JavaScriptCanOpenWindowsAutomatically reports whether javaScript can open windows without user interaction. The default value is false in iOS and true in OS X.

func (*WKPreferences) JavaScriptEnabled

func (wp *WKPreferences) JavaScriptEnabled() bool

JavaScriptEnabled wraps the corresponding Objective-C method.

func (*WKPreferences) MinimumFontSize

func (wp *WKPreferences) MinimumFontSize() float64

MinimumFontSize returns the minimum font size in points. The default value is 0.

func (*WKPreferences) PlugInsEnabled

func (wp *WKPreferences) PlugInsEnabled() bool

PlugInsEnabled wraps the corresponding Objective-C method.

func (*WKPreferences) ShouldPrintBackgrounds

func (wp *WKPreferences) ShouldPrintBackgrounds() bool

ShouldPrintBackgrounds reports whether the web view should include backgrounds when printing. The default value is `NO`.

func (*WKPreferences) String added in v0.17.0

func (wp *WKPreferences) String() string

String returns the object's -description text, so a wrapper prints usefully under fmt.

func (wp *WKPreferences) TabFocusesLinks() bool

TabFocusesLinks reports whether if tabFocusesLinks is true, the tab key will focus links and form controls. The Option key temporarily reverses this preference.

func (*WKPreferences) WithElementFullscreenEnabled added in v0.17.0

func (wp *WKPreferences) WithElementFullscreenEnabled(elementFullscreenEnabled bool) *WKPreferences

WithElementFullscreenEnabled sets a Boolean value that indicates whether a web view can display content full screen.

func (*WKPreferences) WithFraudulentWebsiteWarningEnabled added in v0.17.0

func (wp *WKPreferences) WithFraudulentWebsiteWarningEnabled(fraudulentWebsiteWarningEnabled bool) *WKPreferences

WithFraudulentWebsiteWarningEnabled sets a Boolean value that indicates whether the web view shows warnings for suspected fraudulent content, such as malware or phishing attemps.

func (*WKPreferences) WithInactiveSchedulingPolicy added in v0.17.0

func (wp *WKPreferences) WithInactiveSchedulingPolicy(inactiveSchedulingPolicy WKInactiveSchedulingPolicy) *WKPreferences

WithInactiveSchedulingPolicy sets a policy you set to specify how a web view that’s not in a window handles tasks.

func (*WKPreferences) WithJavaEnabled added in v0.17.0

func (wp *WKPreferences) WithJavaEnabled(javaEnabled bool) *WKPreferences

WithJavaEnabled sets a Boolean value that indicates whether Java is enabled.

func (*WKPreferences) WithJavaScriptCanOpenWindowsAutomatically added in v0.17.0

func (wp *WKPreferences) WithJavaScriptCanOpenWindowsAutomatically(javaScriptCanOpenWindowsAutomatically bool) *WKPreferences

WithJavaScriptCanOpenWindowsAutomatically sets a Boolean value that indicates whether JavaScript can open windows without user interaction.

func (*WKPreferences) WithJavaScriptEnabled added in v0.17.0

func (wp *WKPreferences) WithJavaScriptEnabled(javaScriptEnabled bool) *WKPreferences

WithJavaScriptEnabled sets a Boolean value that indicates whether JavaScript is enabled.

func (*WKPreferences) WithMinimumFontSize added in v0.17.0

func (wp *WKPreferences) WithMinimumFontSize(minimumFontSize float64) *WKPreferences

WithMinimumFontSize sets the minimum font size, in points.

func (*WKPreferences) WithPlugInsEnabled added in v0.17.0

func (wp *WKPreferences) WithPlugInsEnabled(plugInsEnabled bool) *WKPreferences

WithPlugInsEnabled sets a Boolean value that indicates whether plug-ins are enabled.

func (*WKPreferences) WithShouldPrintBackgrounds added in v0.17.0

func (wp *WKPreferences) WithShouldPrintBackgrounds(shouldPrintBackgrounds bool) *WKPreferences

WithShouldPrintBackgrounds sets a Boolean value that indicates whether to include any background color or graphics when printing content.

func (*WKPreferences) WithSiteSpecificQuirksModeEnabled added in v0.17.0

func (wp *WKPreferences) WithSiteSpecificQuirksModeEnabled(siteSpecificQuirksModeEnabled bool) *WKPreferences

WithSiteSpecificQuirksModeEnabled sets a Boolean that indicates whether to apply site-specific compatibility workarounds.

func (wp *WKPreferences) WithTabFocusesLinks(tabFocusesLinks bool) *WKPreferences

WithTabFocusesLinks sets a Boolean value that indicates whether pressing the tab key changes the focus to links and form controls.

func (*WKPreferences) WithTextInteractionEnabled added in v0.17.0

func (wp *WKPreferences) WithTextInteractionEnabled(textInteractionEnabled bool) *WKPreferences

WithTextInteractionEnabled sets a Boolean value that indicates whether to allow people to select or otherwise interact with text.

type WKProcessPool

type WKProcessPool struct {
	objref.Handle
}

WKProcessPool is an idiomatic wrapper over the Objective-C class WKProcessPool.

An opaque token that you use to run multiple web views in a single process.

func NewWKProcessPool added in v0.17.0

func NewWKProcessPool() *WKProcessPool

NewWKProcessPool creates a new WKProcessPool.

func WKProcessPoolFromID

func WKProcessPoolFromID(id objc.ID) *WKProcessPool

WKProcessPoolFromID adopts an existing Objective-C object as a WKProcessPool (nil for 0), retaining it and registering a release finalizer.

func (*WKProcessPool) Description added in v0.17.0

func (wpp *WKProcessPool) Description() string

Description returns the object's -description text.

func (*WKProcessPool) IsEqual added in v0.17.0

func (wpp *WKProcessPool) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*WKProcessPool) IsKind added in v0.17.0

func (wpp *WKProcessPool) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*WKProcessPool) String added in v0.17.0

func (wpp *WKProcessPool) String() string

String returns the object's -description text, so a wrapper prints usefully under fmt.

type WKScriptMessage

type WKScriptMessage struct {
	objref.Handle
}

WKScriptMessage is an idiomatic wrapper over the Objective-C class WKScriptMessage.

An object that encapsulates a message sent by JavaScript code from a webpage.

func NewWKScriptMessage added in v0.17.0

func NewWKScriptMessage() *WKScriptMessage

NewWKScriptMessage creates a new WKScriptMessage.

func WKScriptMessageFromID

func WKScriptMessageFromID(id objc.ID) *WKScriptMessage

WKScriptMessageFromID adopts an existing Objective-C object as a WKScriptMessage (nil for 0), retaining it and registering a release finalizer.

func (*WKScriptMessage) Body

func (wsm *WKScriptMessage) Body() obj.Object

Body returns the body of the message. Allowed types are NSNumber, NSString, NSDate, NSArray, NSDictionary, and NSNull.

func (*WKScriptMessage) Description added in v0.17.0

func (wsm *WKScriptMessage) Description() string

Description returns the object's -description text.

func (*WKScriptMessage) FrameInfo

func (wsm *WKScriptMessage) FrameInfo() *WKFrameInfo

FrameInfo returns the frame sending the message.

func (*WKScriptMessage) IsEqual added in v0.17.0

func (wsm *WKScriptMessage) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*WKScriptMessage) IsKind added in v0.17.0

func (wsm *WKScriptMessage) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*WKScriptMessage) Name

func (wsm *WKScriptMessage) Name() string

Name returns the name of the message handler to which the message is sent.

func (*WKScriptMessage) String added in v0.17.0

func (wsm *WKScriptMessage) String() string

String returns the object's -description text, so a wrapper prints usefully under fmt.

func (*WKScriptMessage) WebView

func (wsm *WKScriptMessage) WebView() *WKWebView

WebView returns the web view sending the message.

func (*WKScriptMessage) World

func (wsm *WKScriptMessage) World() *WKContentWorld

World returns the content world from which the message was sent.

type WKScriptMessageHandler

type WKScriptMessageHandler interface {
}

WKScriptMessageHandler is the Go form of the Objective-C protocol WKScriptMessageHandler.

type WKScriptMessageHandlerWithReply

type WKScriptMessageHandlerWithReply interface {
}

WKScriptMessageHandlerWithReply is the Go form of the Objective-C protocol WKScriptMessageHandlerWithReply.

type WKSecurityOrigin

type WKSecurityOrigin struct {
	objref.Handle
}

WKSecurityOrigin is an idiomatic wrapper over the Objective-C class WKSecurityOrigin.

An object that identifies the origin of a particular resource.

func NewWKSecurityOrigin added in v0.17.0

func NewWKSecurityOrigin() *WKSecurityOrigin

NewWKSecurityOrigin creates a new WKSecurityOrigin.

func WKSecurityOriginFromID

func WKSecurityOriginFromID(id objc.ID) *WKSecurityOrigin

WKSecurityOriginFromID adopts an existing Objective-C object as a WKSecurityOrigin (nil for 0), retaining it and registering a release finalizer.

func (*WKSecurityOrigin) Description added in v0.17.0

func (wso *WKSecurityOrigin) Description() string

Description returns the object's -description text.

func (*WKSecurityOrigin) Host

func (wso *WKSecurityOrigin) Host() string

Host returns the security origin's host.

func (*WKSecurityOrigin) IsEqual added in v0.17.0

func (wso *WKSecurityOrigin) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*WKSecurityOrigin) IsKind added in v0.17.0

func (wso *WKSecurityOrigin) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*WKSecurityOrigin) Port

func (wso *WKSecurityOrigin) Port() int

Port returns the security origin's port.

func (*WKSecurityOrigin) Protocol

func (wso *WKSecurityOrigin) Protocol() string

Protocol returns the security origin's protocol.

func (*WKSecurityOrigin) String added in v0.17.0

func (wso *WKSecurityOrigin) String() string

String returns the object's -description text, so a wrapper prints usefully under fmt.

type WKSecurityRestrictionMode

type WKSecurityRestrictionMode int64
const (
	WKSecurityRestrictionModeNone                  WKSecurityRestrictionMode = 0
	WKSecurityRestrictionModeMaximizeCompatibility WKSecurityRestrictionMode = 1
	WKSecurityRestrictionModeLockdown              WKSecurityRestrictionMode = 2
)

func (WKSecurityRestrictionMode) String

func (e WKSecurityRestrictionMode) String() string

String returns the WKSecurityRestrictionMode constant's name, or its numeric form when the value is not a known constant.

type WKSnapshotConfiguration

type WKSnapshotConfiguration struct {
	objref.Handle
}

WKSnapshotConfiguration is an idiomatic wrapper over the Objective-C class WKSnapshotConfiguration.

The configuration data to use when generating an image from a web view’s contents.

func NewWKSnapshotConfiguration added in v0.17.0

func NewWKSnapshotConfiguration() *WKSnapshotConfiguration

NewWKSnapshotConfiguration creates a new WKSnapshotConfiguration.

func WKSnapshotConfigurationFromID

func WKSnapshotConfigurationFromID(id objc.ID) *WKSnapshotConfiguration

WKSnapshotConfigurationFromID adopts an existing Objective-C object as a WKSnapshotConfiguration (nil for 0), retaining it and registering a release finalizer.

func (*WKSnapshotConfiguration) AfterScreenUpdates

func (wsc *WKSnapshotConfiguration) AfterScreenUpdates() bool

AfterScreenUpdates reports whether a Boolean value that specifies whether the snapshot should be taken after recent changes have been incorporated. The value false will capture the screen in its current state, which might not include recent changes. The default value is true.

func (*WKSnapshotConfiguration) Description added in v0.17.0

func (wsc *WKSnapshotConfiguration) Description() string

Description returns the object's -description text.

func (*WKSnapshotConfiguration) IsEqual added in v0.17.0

func (wsc *WKSnapshotConfiguration) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*WKSnapshotConfiguration) IsKind added in v0.17.0

func (wsc *WKSnapshotConfiguration) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*WKSnapshotConfiguration) Rect

Rect returns the rect to snapshot in view coordinates. This rect should be contained within WKWebView's bounds. If the rect is set to the null rect, the view's bounds will be used. The initial value is the null rect.

func (*WKSnapshotConfiguration) SnapshotWidth

func (wsc *WKSnapshotConfiguration) SnapshotWidth() *foundation.Number

SnapshotWidth specify a custom width to control the size of image you get back. The height will be computed to maintain the aspect ratio established by rect. snapshotWidth represents the width in points. If the snapshotWidth is nil, rect's width will be used.

func (*WKSnapshotConfiguration) String added in v0.17.0

func (wsc *WKSnapshotConfiguration) String() string

String returns the object's -description text, so a wrapper prints usefully under fmt.

func (*WKSnapshotConfiguration) WithAfterScreenUpdates added in v0.17.0

func (wsc *WKSnapshotConfiguration) WithAfterScreenUpdates(afterScreenUpdates bool) *WKSnapshotConfiguration

WithAfterScreenUpdates sets a Boolean value that indicates whether to take the snapshot after incorporating any pending screen updates.

func (*WKSnapshotConfiguration) WithRect added in v0.17.0

WithRect sets the portion of your web view to capture, specified as a rectangle in the view’s coordinate system.

func (*WKSnapshotConfiguration) WithSnapshotWidth added in v0.17.0

func (wsc *WKSnapshotConfiguration) WithSnapshotWidth(snapshotWidth obj.Object) *WKSnapshotConfiguration

WithSnapshotWidth sets the width of the captured image, in points.

type WKUIDelegate

type WKUIDelegate interface {
}

WKUIDelegate receives the callbacks of the Objective-C protocol WKUIDelegate. Pass an implementation to the matching With… setter; the wrapper builds the Objective-C delegate object for you. Every method listed here is required. The protocol's optional methods are separate one-method interfaces (WKUIDelegate…Handler): implement the ones you need on the same value and the framework will call them too.

type WKUIDelegateWebViewDidCloseHandler added in v0.17.0

type WKUIDelegateWebViewDidCloseHandler interface {
	WebViewDidClose(webView *WKWebView)
}

WKUIDelegateWebViewDidCloseHandler is the optional WKUIDelegate method webViewDidClose:. Implement it on a WKUIDelegate value to receive that callback; a value without it is simply never sent one.

type WKURLSchemeHandler

type WKURLSchemeHandler interface {
}

WKURLSchemeHandler is the Go form of the Objective-C protocol WKURLSchemeHandler.

type WKURLSchemeTask

type WKURLSchemeTask interface {
	DidReceiveResponse(response obj.Object)
	DidReceiveData(data []byte)
	DidFinish()
	DidFailWithError(err unsafe.Pointer)
	Request() *foundation.URLRequest
}

WKURLSchemeTask is the Go form of the Objective-C protocol WKURLSchemeTask.

type WKUserContentController

type WKUserContentController struct {
	objref.Handle
}

WKUserContentController is an idiomatic wrapper over the Objective-C class WKUserContentController.

An object for managing interactions between JavaScript code and your web view, and for filtering content in your web view.

func NewWKUserContentController added in v0.17.0

func NewWKUserContentController() *WKUserContentController

NewWKUserContentController creates a new WKUserContentController.

func WKUserContentControllerFromID

func WKUserContentControllerFromID(id objc.ID) *WKUserContentController

WKUserContentControllerFromID adopts an existing Objective-C object as a WKUserContentController (nil for 0), retaining it and registering a release finalizer.

func (*WKUserContentController) AddContentRuleList

func (wucc *WKUserContentController) AddContentRuleList(contentRuleList *WKContentRuleList)

AddContentRuleList adds the specified content rule list to the content controller object.

func (*WKUserContentController) AddUserScript

func (wucc *WKUserContentController) AddUserScript(userScript *WKUserScript)

AddUserScript injects the specified script into the webpage’s content.

func (*WKUserContentController) Description added in v0.17.0

func (wucc *WKUserContentController) Description() string

Description returns the object's -description text.

func (*WKUserContentController) IsEqual added in v0.17.0

func (wucc *WKUserContentController) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*WKUserContentController) IsKind added in v0.17.0

func (wucc *WKUserContentController) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*WKUserContentController) RemoveAllContentRuleLists

func (wucc *WKUserContentController) RemoveAllContentRuleLists()

RemoveAllContentRuleLists removes all rules lists from the content controller.

func (*WKUserContentController) RemoveAllScriptMessageHandlers

func (wucc *WKUserContentController) RemoveAllScriptMessageHandlers()

RemoveAllScriptMessageHandlers uninstalls all custom message handlers associated with the user content controller.

func (*WKUserContentController) RemoveAllScriptMessageHandlersFromContentWorld

func (wucc *WKUserContentController) RemoveAllScriptMessageHandlersFromContentWorld(contentWorld *WKContentWorld)

RemoveAllScriptMessageHandlersFromContentWorld uninstalls all custom message handlers from the specified content world in your JavaScript code.

func (*WKUserContentController) RemoveAllUserScripts

func (wucc *WKUserContentController) RemoveAllUserScripts()

RemoveAllUserScripts removes all user scripts from the web view.

func (*WKUserContentController) RemoveContentRuleList

func (wucc *WKUserContentController) RemoveContentRuleList(contentRuleList *WKContentRuleList)

RemoveContentRuleList removes the specified rule list from the content controller object.

func (*WKUserContentController) RemoveScriptMessageHandlerForName

func (wucc *WKUserContentController) RemoveScriptMessageHandlerForName(name string)

RemoveScriptMessageHandlerForName uninstalls the custom message handler with the specified name from your JavaScript code.

func (*WKUserContentController) RemoveScriptMessageHandlerForNameContentWorld

func (wucc *WKUserContentController) RemoveScriptMessageHandlerForNameContentWorld(name string, contentWorld *WKContentWorld)

RemoveScriptMessageHandlerForNameContentWorld uninstalls a custom message handler from the specified content world in your JavaScript code.

func (*WKUserContentController) String added in v0.17.0

func (wucc *WKUserContentController) String() string

String returns the object's -description text, so a wrapper prints usefully under fmt.

func (*WKUserContentController) UserScripts

func (wucc *WKUserContentController) UserScripts() []*WKUserScript

UserScripts returns the user scripts associated with this user content controller.

UserScripts returns the collection as a Go slice.

type WKUserInterfaceDirectionPolicy

type WKUserInterfaceDirectionPolicy int64

The policy that determines the directionality of user interface elements in a web view.

const (
	// The directionality follows the CSS/HTML/XHTML specifications.
	WKUserInterfaceDirectionPolicyContent WKUserInterfaceDirectionPolicy = 0
	// The directionality follows the view’s user interface layout direction.
	WKUserInterfaceDirectionPolicySystem WKUserInterfaceDirectionPolicy = 1
)

func (WKUserInterfaceDirectionPolicy) String

String returns the WKUserInterfaceDirectionPolicy constant's name, or its numeric form when the value is not a known constant.

type WKUserScript

type WKUserScript struct {
	objref.Handle
}

WKUserScript is an idiomatic wrapper over the Objective-C class WKUserScript.

A script that the web view injects into a webpage.

func NewWKUserScriptWithSourceInjectionTimeForMainFrameOnly added in v0.17.0

func NewWKUserScriptWithSourceInjectionTimeForMainFrameOnly(source string, injectionTime WKUserScriptInjectionTime, forMainFrameOnly bool) *WKUserScript

NewWKUserScriptWithSourceInjectionTimeForMainFrameOnly creates a user script object that contains the specified source code and attributes.

func NewWKUserScriptWithSourceInjectionTimeForMainFrameOnlyInContentWorld added in v0.17.0

func NewWKUserScriptWithSourceInjectionTimeForMainFrameOnlyInContentWorld(source string, injectionTime WKUserScriptInjectionTime, forMainFrameOnly bool, contentWorld *WKContentWorld) *WKUserScript

NewWKUserScriptWithSourceInjectionTimeForMainFrameOnlyInContentWorld creates a user script object that is scoped to a particular content world.

func WKUserScriptFromID

func WKUserScriptFromID(id objc.ID) *WKUserScript

WKUserScriptFromID adopts an existing Objective-C object as a WKUserScript (nil for 0), retaining it and registering a release finalizer.

func (*WKUserScript) Description added in v0.17.0

func (wus *WKUserScript) Description() string

Description returns the object's -description text.

func (*WKUserScript) InjectionTime

func (wus *WKUserScript) InjectionTime() WKUserScriptInjectionTime

InjectionTime returns the injection time.

func (*WKUserScript) IsEqual added in v0.17.0

func (wus *WKUserScript) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*WKUserScript) IsForMainFrameOnly

func (wus *WKUserScript) IsForMainFrameOnly() bool

IsForMainFrameOnly reports whether the object is for main frame only.

func (*WKUserScript) IsKind added in v0.17.0

func (wus *WKUserScript) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*WKUserScript) Source

func (wus *WKUserScript) Source() string

Source returns the source.

func (*WKUserScript) String added in v0.17.0

func (wus *WKUserScript) String() string

String returns the object's -description text, so a wrapper prints usefully under fmt.

type WKUserScriptInjectionTime

type WKUserScriptInjectionTime int64

Constants for the times at which to inject script content into a webpage.

const (
	// A constant to inject the script after the creation of the webpage’s document element, but before loading any other content.
	WKUserScriptInjectionTimeAtDocumentStart WKUserScriptInjectionTime = 0
	// A constant to inject the script after the document finishes loading, but before loading any other subresources.
	WKUserScriptInjectionTimeAtDocumentEnd WKUserScriptInjectionTime = 1
)

func (WKUserScriptInjectionTime) String

func (e WKUserScriptInjectionTime) String() string

String returns the WKUserScriptInjectionTime constant's name, or its numeric form when the value is not a known constant.

type WKWebExtension

type WKWebExtension struct {
	objref.Handle
}

WKWebExtension is an idiomatic wrapper over the Objective-C class WKWebExtension.

An object that encapsulates a web extension’s resources that the manifest file defines.

func ExtensionWithAppExtensionBundle added in v0.17.0

func ExtensionWithAppExtensionBundle(ctx context.Context, appExtensionBundle obj.Object) (result *WKWebExtension, err error)

ExtensionWithAppExtensionBundle returns a web extension initialized with a specified app extension bundle.

ExtensionWithAppExtensionBundle blocks until the operation completes or ctx is cancelled.

func ExtensionWithResourceBaseURL added in v0.17.0

func ExtensionWithResourceBaseURL(ctx context.Context, resourceBaseURL string) (result *WKWebExtension, err error)

ExtensionWithResourceBaseURL returns a web extension initialized with a specified resource base URL, which can point to either a directory or a ZIP archive.

ExtensionWithResourceBaseURL blocks until the operation completes or ctx is cancelled.

func NewWKWebExtension added in v0.17.0

func NewWKWebExtension() *WKWebExtension

NewWKWebExtension creates a new WKWebExtension.

func WKWebExtensionFromID

func WKWebExtensionFromID(id objc.ID) *WKWebExtension

WKWebExtensionFromID adopts an existing Objective-C object as a WKWebExtension (nil for 0), retaining it and registering a release finalizer.

func (*WKWebExtension) ActionIconForSize

func (wwe *WKWebExtension) ActionIconForSize(size corefoundation.CGSize) obj.Object

ActionIconForSize returns the default action icon for the specified size.

func (*WKWebExtension) AllRequestedMatchPatterns

func (wwe *WKWebExtension) AllRequestedMatchPatterns() []*WKWebExtensionMatchPattern

AllRequestedMatchPatterns returns the set of websites that the extension requires access to for injected content and for receiving messages from websites. The order of the returned elements is unspecified.

func (*WKWebExtension) DefaultLocale

func (wwe *WKWebExtension) DefaultLocale() *foundation.Locale

DefaultLocale returns the default locale for the extension. Returns `nil` if there was no default locale specified.

func (*WKWebExtension) Description added in v0.17.0

func (wwe *WKWebExtension) Description() string

Description returns the object's -description text.

func (*WKWebExtension) DisplayActionLabel

func (wwe *WKWebExtension) DisplayActionLabel() string

DisplayActionLabel returns the default localized extension action label. Returns `nil` if there was no default action label specified. This label serves as a default and should be used to represent the extension in contexts like action sheets or toolbars prior to the extension being loaded into an extension context. Once the extension is loaded, use the “actionForTab:“ API to get the tab-specific label.

func (*WKWebExtension) DisplayDescription

func (wwe *WKWebExtension) DisplayDescription() string

DisplayDescription returns the localized extension description. Returns `nil` if there was no description specified.

func (*WKWebExtension) DisplayName

func (wwe *WKWebExtension) DisplayName() string

DisplayName returns the localized extension name. Returns `nil` if there was no name specified.

func (*WKWebExtension) DisplayShortName

func (wwe *WKWebExtension) DisplayShortName() string

DisplayShortName returns the localized extension short name. Returns `nil` if there was no short name specified.

func (*WKWebExtension) DisplayVersion

func (wwe *WKWebExtension) DisplayVersion() string

DisplayVersion returns the localized extension display version. Returns `nil` if there was no display version specified.

func (*WKWebExtension) Errors

func (wwe *WKWebExtension) Errors() []obj.Object

Errors returns an array of all errors that occurred during the processing of the extension. Provides an array of all parse-time errors for the extension, with repeat errors consolidated into a single entry for the original occurrence only. If no errors occurred, an empty array is returned.

func (*WKWebExtension) HasBackgroundContent

func (wwe *WKWebExtension) HasBackgroundContent() bool

HasBackgroundContent reports whether the extension has background content that can run when needed. If this property is `YES`, the extension can run in the background even when no webpages are open.

func (*WKWebExtension) HasCommands

func (wwe *WKWebExtension) HasCommands() bool

HasCommands reports whether the extension includes commands that users can invoke. If this property is `YES`, the extension contains one or more commands that can be performed by the user. These commands should be accessible via keyboard shortcuts, menu items, or other user interface elements provided by the app. The list of commands can be accessed via “commands“ on an extension context, and invoked via “performCommand:“.

func (*WKWebExtension) HasContentModificationRules

func (wwe *WKWebExtension) HasContentModificationRules() bool

HasContentModificationRules reports whether the extension includes rules used for content modification or blocking.

func (*WKWebExtension) HasInjectedContent

func (wwe *WKWebExtension) HasInjectedContent() bool

HasInjectedContent reports whether the extension has script or stylesheet content that can be injected into webpages. If this property is `YES`, the extension has content that can be injected by matching against the extension's requested match patterns.

func (*WKWebExtension) HasOptionsPage

func (wwe *WKWebExtension) HasOptionsPage() bool

HasOptionsPage reports whether the extension has an options page. If this property is `YES`, the extension includes a dedicated options page where users can customize settings. The app should provide access to this page through a user interface element, which can be accessed via “optionsPageURL“ on an extension context.

func (*WKWebExtension) HasOverrideNewTabPage

func (wwe *WKWebExtension) HasOverrideNewTabPage() bool

HasOverrideNewTabPage reports whether the extension provides an alternative to the default new tab page. If this property is `YES`, the extension can specify a custom page that can be displayed when a new tab is opened in the app, instead of the default new tab page. The app should prompt the user for permission to use the extension's new tab page as the default, which can be accessed via “overrideNewTabPageURL“ on an extension context.

func (*WKWebExtension) HasPersistentBackgroundContent

func (wwe *WKWebExtension) HasPersistentBackgroundContent() bool

HasPersistentBackgroundContent reports whether the extension has background content that stays in memory as long as the extension is loaded.

func (*WKWebExtension) IconForSize

func (wwe *WKWebExtension) IconForSize(size corefoundation.CGSize) obj.Object

IconForSize returns the extension’s icon image for the specified size.

func (*WKWebExtension) IsEqual added in v0.17.0

func (wwe *WKWebExtension) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*WKWebExtension) IsKind added in v0.17.0

func (wwe *WKWebExtension) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*WKWebExtension) Manifest

func (wwe *WKWebExtension) Manifest() map[string]obj.Object

Manifest returns the parsed manifest as a dictionary.

func (*WKWebExtension) ManifestVersion

func (wwe *WKWebExtension) ManifestVersion() float64

ManifestVersion returns the parsed manifest version, or `0` if there is no version specified in the manifest.

func (*WKWebExtension) OptionalPermissionMatchPatterns

func (wwe *WKWebExtension) OptionalPermissionMatchPatterns() []*WKWebExtensionMatchPattern

OptionalPermissionMatchPatterns returns the set of websites that the extension may need access to for optional functionality. These match patterns can be requested by the extension at a later time. The order of the returned elements is unspecified.

func (*WKWebExtension) OptionalPermissions

func (wwe *WKWebExtension) OptionalPermissions() []*foundation.String

OptionalPermissions returns the set of permissions that the extension may need for optional functionality. These permissions can be requested by the extension at a later time. The order of the returned elements is unspecified.

func (*WKWebExtension) RequestedPermissionMatchPatterns

func (wwe *WKWebExtension) RequestedPermissionMatchPatterns() []*WKWebExtensionMatchPattern

RequestedPermissionMatchPatterns returns the set of websites that the extension requires access to for its base functionality. The order of the returned elements is unspecified.

func (*WKWebExtension) RequestedPermissions

func (wwe *WKWebExtension) RequestedPermissions() []*foundation.String

RequestedPermissions returns the set of permissions that the extension requires for its base functionality. The order of the returned elements is unspecified.

func (*WKWebExtension) String added in v0.17.0

func (wwe *WKWebExtension) String() string

String returns the object's -description text, so a wrapper prints usefully under fmt.

func (*WKWebExtension) SupportsManifestVersion

func (wwe *WKWebExtension) SupportsManifestVersion(manifestVersion float64) bool

SupportsManifestVersion checks if a manifest version is supported by the extension.

type WKWebExtensionAction

type WKWebExtensionAction struct {
	objref.Handle
}

WKWebExtensionAction is an idiomatic wrapper over the Objective-C class WKWebExtensionAction.

func NewWKWebExtensionAction added in v0.17.0

func NewWKWebExtensionAction() *WKWebExtensionAction

NewWKWebExtensionAction creates a new WKWebExtensionAction.

func WKWebExtensionActionFromID

func WKWebExtensionActionFromID(id objc.ID) *WKWebExtensionAction

WKWebExtensionActionFromID adopts an existing Objective-C object as a WKWebExtensionAction (nil for 0), retaining it and registering a release finalizer.

func (*WKWebExtensionAction) BadgeText

func (wwea *WKWebExtensionAction) BadgeText() string

BadgeText returns the badge text for the action. Provides the text that appears on the badge for the action. An empty string signifies that no badge should be shown.

func (*WKWebExtensionAction) ClosePopup

func (wwea *WKWebExtensionAction) ClosePopup()

ClosePopup triggers the dismissal process of the popup. Invoke this method to manage the popup's lifecycle, ensuring the web view is unloaded and resources are released once the popup closes. This method is automatically called upon the dismissal of the action's “UIViewController“ or “NSPopover“. For custom scenarios where the popup's lifecycle is manually managed, it must be explicitly invoked to ensure proper closure.

func (*WKWebExtensionAction) Description added in v0.17.0

func (wwea *WKWebExtensionAction) Description() string

Description returns the object's -description text.

func (*WKWebExtensionAction) HasUnreadBadgeText

func (wwea *WKWebExtensionAction) HasUnreadBadgeText() bool

HasUnreadBadgeText reports whether the badge text is unread. This property is automatically set to `YES` when “badgeText“ changes and is not empty. If “badgeText“ becomes empty or the popup associated with the action is presented, this property is automatically set to `NO`. Additionally, it should be set to `NO` by the app when the badge has been presented to the user. This property is useful for higher-level notification badges when extensions might be hidden behind an action sheet.

func (*WKWebExtensionAction) IconForSize

func (wwea *WKWebExtensionAction) IconForSize(size corefoundation.CGSize) obj.Object

IconForSize wraps the corresponding Objective-C method.

func (*WKWebExtensionAction) InspectionName

func (wwea *WKWebExtensionAction) InspectionName() string

InspectionName returns the name shown when inspecting the popup web view. This is the text that will appear when inspecting the popup web view.

func (*WKWebExtensionAction) IsEnabled

func (wwea *WKWebExtensionAction) IsEnabled() bool

IsEnabled reports whether the action is enabled.

func (*WKWebExtensionAction) IsEqual added in v0.17.0

func (wwea *WKWebExtensionAction) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*WKWebExtensionAction) IsKind added in v0.17.0

func (wwea *WKWebExtensionAction) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*WKWebExtensionAction) Label

func (wwea *WKWebExtensionAction) Label() string

Label returns the localized display label for the action.

func (*WKWebExtensionAction) MenuItems

func (wwea *WKWebExtensionAction) MenuItems() []obj.Object

MenuItems returns the menu items.

MenuItems returns the collection as a Go slice.

func (*WKWebExtensionAction) PopupPopover

func (wwea *WKWebExtensionAction) PopupPopover() obj.Object

PopupPopover returns a popover that presents a web view loaded with the popup page for this action, or `nil` if no popup is specified. This popover contains a view controller with a web view preloaded with the popup page. It automatically adjusts its size to fit the web view's content size. The “presentsPopup“ property should be checked to determine the availability of a popup before using this property. Dismissing the popover will close the popup and unload the web view.

func (*WKWebExtensionAction) PopupWebView

func (wwea *WKWebExtensionAction) PopupWebView() *WKWebView

PopupWebView returns a web view loaded with the popup page for this action, or `nil` if no popup is specified. The web view will be preloaded with the popup page upon first access or after it has been unloaded. Use the “presentsPopup“ property to determine whether a popup should be displayed before using this property.

func (*WKWebExtensionAction) PresentsPopup

func (wwea *WKWebExtensionAction) PresentsPopup() bool

PresentsPopup reports whether the action has a popup. Use this property to check if the action has a popup before attempting to show any popup views.

func (*WKWebExtensionAction) String added in v0.17.0

func (wwea *WKWebExtensionAction) String() string

String returns the object's -description text, so a wrapper prints usefully under fmt.

func (*WKWebExtensionAction) WebExtensionContext

func (wwea *WKWebExtensionAction) WebExtensionContext() *WKWebExtensionContext

WebExtensionContext returns the extension context to which this action is related.

func (*WKWebExtensionAction) WithHasUnreadBadgeText added in v0.17.0

func (wwea *WKWebExtensionAction) WithHasUnreadBadgeText(hasUnreadBadgeText bool) *WKWebExtensionAction

WithHasUnreadBadgeText sets a Boolean value indicating whether the badge text is unread. This property is automatically set to `YES` when “badgeText“ changes and is not empty. If “badgeText“ becomes empty or the popup associated with the action is presented, this property is automatically set to `NO`. Additionally, it should be set to `NO` by the app when the badge has been presented to the user. This property is useful for higher-level notification badges when extensions might be hidden behind an action sheet.

func (*WKWebExtensionAction) WithInspectionName added in v0.17.0

func (wwea *WKWebExtensionAction) WithInspectionName(inspectionName string) *WKWebExtensionAction

WithInspectionName sets the name shown when inspecting the popup web view. This is the text that will appear when inspecting the popup web view.

type WKWebExtensionCommand

type WKWebExtensionCommand struct {
	objref.Handle
}

WKWebExtensionCommand is an idiomatic wrapper over the Objective-C class WKWebExtensionCommand.

func NewWKWebExtensionCommand added in v0.17.0

func NewWKWebExtensionCommand() *WKWebExtensionCommand

NewWKWebExtensionCommand creates a new WKWebExtensionCommand.

func WKWebExtensionCommandFromID

func WKWebExtensionCommandFromID(id objc.ID) *WKWebExtensionCommand

WKWebExtensionCommandFromID adopts an existing Objective-C object as a WKWebExtensionCommand (nil for 0), retaining it and registering a release finalizer.

func (*WKWebExtensionCommand) ActivationKey

func (wwec *WKWebExtensionCommand) ActivationKey() string

ActivationKey returns the primary key used to trigger the command, distinct from any modifier flags. This property can be customized within the app to avoid conflicts with existing shortcuts or to enable user personalization. It should accurately represent the activation key as used by the app, which the extension can use to display the complete shortcut in its interface. If no shortcut is desired for the command, the property should be set to `nil`. This value should be saved and restored as needed by the app.

func (*WKWebExtensionCommand) Description added in v0.17.0

func (wwec *WKWebExtensionCommand) Description() string

Description returns the object's -description text.

func (*WKWebExtensionCommand) Identifier

func (wwec *WKWebExtensionCommand) Identifier() string

Identifier returns a unique identifier for the command.

func (*WKWebExtensionCommand) IsEqual added in v0.17.0

func (wwec *WKWebExtensionCommand) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*WKWebExtensionCommand) IsKind added in v0.17.0

func (wwec *WKWebExtensionCommand) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*WKWebExtensionCommand) MenuItem

func (wwec *WKWebExtensionCommand) MenuItem() obj.Object

MenuItem returns the menu item.

func (*WKWebExtensionCommand) String added in v0.17.0

func (wwec *WKWebExtensionCommand) String() string

String returns the object's -description text, so a wrapper prints usefully under fmt.

func (*WKWebExtensionCommand) Title

func (wwec *WKWebExtensionCommand) Title() string

Title returns descriptive title for the command aiding discoverability. This title can be displayed in user interface elements such as keyboard shortcuts lists or menu items to help users understand its purpose.

func (*WKWebExtensionCommand) WebExtensionContext

func (wwec *WKWebExtensionCommand) WebExtensionContext() *WKWebExtensionContext

WebExtensionContext returns the web extension context associated with the command.

func (*WKWebExtensionCommand) WithActivationKey added in v0.17.0

func (wwec *WKWebExtensionCommand) WithActivationKey(activationKey string) *WKWebExtensionCommand

WithActivationKey sets the primary key used to trigger the command, distinct from any modifier flags. This property can be customized within the app to avoid conflicts with existing shortcuts or to enable user personalization. It should accurately represent the activation key as used by the app, which the extension can use to display the complete shortcut in its interface. If no shortcut is desired for the command, the property should be set to `nil`. This value should be saved and restored as needed by the app.

type WKWebExtensionContext

type WKWebExtensionContext struct {
	objref.Handle
}

WKWebExtensionContext is an idiomatic wrapper over the Objective-C class WKWebExtensionContext.

An object that represents the runtime environment for a web extension.

func ContextForExtension added in v0.17.0

func ContextForExtension(extension *WKWebExtension) *WKWebExtensionContext

ContextForExtension returns a web extension context initialized with the specified extension.

func NewWKWebExtensionContextForExtension added in v0.17.0

func NewWKWebExtensionContextForExtension(extension *WKWebExtension) *WKWebExtensionContext

NewWKWebExtensionContextForExtension returns a web extension context initialized with a specified extension.

func WKWebExtensionContextFromID

func WKWebExtensionContextFromID(id objc.ID) *WKWebExtensionContext

WKWebExtensionContextFromID adopts an existing Objective-C object as a WKWebExtensionContext (nil for 0), retaining it and registering a release finalizer.

func (*WKWebExtensionContext) BaseURL

func (wwec *WKWebExtensionContext) BaseURL() string

BaseURL returns the base URL the context uses for loading extension resources or injecting content into webpages. The default value is a unique URL using the `webkit-extension` scheme. The base URL can be set to any URL, but only the scheme and host will be used. The scheme cannot be a scheme that is already supported by “WKWebView“ (e.g. http, https, etc.) Setting is only allowed when the context is not loaded.

func (*WKWebExtensionContext) CommandForEvent

func (wwec *WKWebExtensionContext) CommandForEvent(event obj.Object) *WKWebExtensionCommand

CommandForEvent retrieves the command associated with the given event without performing it.

func (*WKWebExtensionContext) Commands

func (wwec *WKWebExtensionContext) Commands() []*WKWebExtensionCommand

Commands returns the commands associated with the extension. Provides all commands registered within the extension. Each command represents an action or behavior available for the web extension.

Commands returns the collection as a Go slice.

func (*WKWebExtensionContext) CurrentPermissionMatchPatterns

func (wwec *WKWebExtensionContext) CurrentPermissionMatchPatterns() []*WKWebExtensionMatchPattern

CurrentPermissionMatchPatterns returns the currently granted permission match patterns that have not expired.

func (*WKWebExtensionContext) CurrentPermissions

func (wwec *WKWebExtensionContext) CurrentPermissions() []*foundation.String

CurrentPermissions returns the currently granted permissions that have not expired.

func (*WKWebExtensionContext) DeniedPermissionMatchPatterns

func (wwec *WKWebExtensionContext) DeniedPermissionMatchPatterns() obj.Object

DeniedPermissionMatchPatterns returns the currently denied permission match patterns and their expiration dates. Match patterns that don't expire will have a distant future date. This will never include expired entries at time of access. Setting this property will replace all existing entries. Use this property for saving and restoring permission status in bulk. Match patterns in this dictionary should be explicitly denied by the user before being added. Any match pattern in this collection will not be presented for approval again until they expire. This value should be saved and restored as needed by the app.

func (*WKWebExtensionContext) DeniedPermissions

func (wwec *WKWebExtensionContext) DeniedPermissions() obj.Object

DeniedPermissions returns the currently denied permissions and their expiration dates. Permissions that don't expire will have a distant future date. This will never include expired entries at time of access. Setting this property will replace all existing entries. Use this property for saving and restoring permission status in bulk. Permissions in this dictionary should be explicitly denied by the user before being added. Any match pattern in this collection will not be presented for approval again until they expire. This value should be saved and restored as needed by the app.

func (*WKWebExtensionContext) Description added in v0.17.0

func (wwec *WKWebExtensionContext) Description() string

Description returns the object's -description text.

func (*WKWebExtensionContext) DidDeselectTabs

func (wwec *WKWebExtensionContext) DidDeselectTabs(deselectedTabs []obj.Object)

DidDeselectTabs called by the app when tabs are deselected to fire appropriate events with only this extension.

func (*WKWebExtensionContext) DidSelectTabs

func (wwec *WKWebExtensionContext) DidSelectTabs(selectedTabs []obj.Object)

DidSelectTabs called by the app when tabs are selected to fire appropriate events with only this extension.

func (*WKWebExtensionContext) Errors

func (wwec *WKWebExtensionContext) Errors() []obj.Object

Errors returns all errors that occurred in the extension context. Provides an array of all parse-time and runtime errors for the extension and extension context, with repeat errors consolidated into a single entry for the original occurrence. If no errors occurred, an empty array is returned.

func (*WKWebExtensionContext) GrantedPermissionMatchPatterns

func (wwec *WKWebExtensionContext) GrantedPermissionMatchPatterns() obj.Object

GrantedPermissionMatchPatterns returns the currently granted permission match patterns and their expiration dates. Match patterns that don't expire will have a distant future date. This will never include expired entries at time of access. Setting this property will replace all existing entries. Use this property for saving and restoring permission status in bulk. Match patterns in this dictionary should be explicitly granted by the user before being added. Any match pattern in this collection will not be presented for approval again until they expire. This value should be saved and restored as needed by the app.

func (*WKWebExtensionContext) GrantedPermissions

func (wwec *WKWebExtensionContext) GrantedPermissions() obj.Object

GrantedPermissions returns the currently granted permissions and their expiration dates. Permissions that don't expire will have a distant future date. This will never include expired entries at time of access. Setting this property will replace all existing entries. Use this property for saving and restoring permission status in bulk. Permissions in this dictionary should be explicitly granted by the user before being added. Any permissions in this collection will not be presented for approval again until they expire. This value should be saved and restored as needed by the app.

func (*WKWebExtensionContext) HasAccessToAllHosts

func (wwec *WKWebExtensionContext) HasAccessToAllHosts() bool

HasAccessToAllHosts reports whether a Boolean value indicating if the currently granted permission match patterns set contains the `<all_urls>` pattern or any `*` host patterns.

func (*WKWebExtensionContext) HasAccessToAllURLs

func (wwec *WKWebExtensionContext) HasAccessToAllURLs() bool

HasAccessToAllURLs reports whether a Boolean value indicating if the currently granted permission match patterns set contains the `<all_urls>` pattern. This does not check for any `*` host patterns. In most cases you should use the broader “hasAccessToAllHosts“.

func (*WKWebExtensionContext) HasAccessToPrivateData

func (wwec *WKWebExtensionContext) HasAccessToPrivateData() bool

HasAccessToPrivateData reports whether a Boolean value indicating if the extension has access to private data. If this property is `YES`, the extension is granted permission to interact with private windows, tabs, and cookies. Access to private data should be explicitly allowed by the user before setting this property. This value should be saved and restored as needed by the app.

func (*WKWebExtensionContext) HasAccessToURL

func (wwec *WKWebExtensionContext) HasAccessToURL(url string) bool

HasAccessToURL checks the specified URL against the currently granted permission match patterns.

func (*WKWebExtensionContext) HasContentModificationRules

func (wwec *WKWebExtensionContext) HasContentModificationRules() bool

HasContentModificationRules reports whether the extension includes rules used for content modification or blocking. This includes both static rules available in the extension's manifest and dynamic rules applied during a browsing session.

func (*WKWebExtensionContext) HasInjectedContent

func (wwec *WKWebExtensionContext) HasInjectedContent() bool

HasInjectedContent reports whether the extension has script or stylesheet content that can be injected into webpages. If this property is `YES`, the extension has content that can be injected by matching against the extension's requested match patterns.

func (*WKWebExtensionContext) HasInjectedContentForURL

func (wwec *WKWebExtensionContext) HasInjectedContentForURL(url string) bool

HasInjectedContentForURL checks if the extension has script or stylesheet content that can be injected into the specified URL.

func (*WKWebExtensionContext) HasPermission

func (wwec *WKWebExtensionContext) HasPermission(permission obj.Object) bool

HasPermission checks the specified permission against the currently granted permissions.

func (*WKWebExtensionContext) HasRequestedOptionalAccessToAllHosts

func (wwec *WKWebExtensionContext) HasRequestedOptionalAccessToAllHosts() bool

HasRequestedOptionalAccessToAllHosts reports whether a Boolean value indicating if the extension has requested optional access to all hosts. If this property is `YES`, the extension has asked for access to all hosts in a call to `browser.runtime.permissions.request()`, and future permission checks will present discrete hosts for approval as being implicitly requested. This value should be saved and restored as needed by the app.

func (*WKWebExtensionContext) InspectionName

func (wwec *WKWebExtensionContext) InspectionName() string

InspectionName returns the name shown when inspecting the background web view. This is the text that will appear when inspecting the background web view.

func (*WKWebExtensionContext) IsEqual added in v0.17.0

func (wwec *WKWebExtensionContext) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*WKWebExtensionContext) IsInspectable

func (wwec *WKWebExtensionContext) IsInspectable() bool

IsInspectable reports whether web Inspector can inspect the “WKWebView“ instances for this context. A context can control multiple “WKWebView“ instances, from the background content, to the popover. You should set this to `YES` when needed for debugging purposes. The default value is `NO`.

func (*WKWebExtensionContext) IsKind added in v0.17.0

func (wwec *WKWebExtensionContext) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*WKWebExtensionContext) IsLoaded

func (wwec *WKWebExtensionContext) IsLoaded() bool

IsLoaded reports whether a Boolean value indicating if this context is loaded in an extension controller.

func (*WKWebExtensionContext) LoadBackgroundContent added in v0.17.0

func (wwec *WKWebExtensionContext) LoadBackgroundContent(ctx context.Context) error

LoadBackgroundContent loads the background content if needed for the extension.

LoadBackgroundContent blocks until the operation completes or ctx is cancelled.

func (*WKWebExtensionContext) OpenTabs

func (wwec *WKWebExtensionContext) OpenTabs() []obj.Object

OpenTabs returns a set of open tabs in all open windows that are exposed to this extension. Provides a set of tabs in all open windows that are visible to the extension, as updated by the “didOpenTab:“ and “didCloseTab:“ methods. Initially populated by the tabs in the windows returned by the extension controller delegate method “webExtensionController:openWindowsForExtensionContext:“.

func (*WKWebExtensionContext) OpenWindows

func (wwec *WKWebExtensionContext) OpenWindows() []obj.Object

OpenWindows returns the open windows that are exposed to this extension. Provides the windows that are open and visible to the extension, as updated by the “didOpenWindow:“ and “didCloseWindow:“ methods. Initially populated by the windows returned by the extension controller delegate method “webExtensionController:openWindowsForExtensionContext:“.

func (*WKWebExtensionContext) OptionsPageURL

func (wwec *WKWebExtensionContext) OptionsPageURL() string

OptionsPageURL returns the URL of the extension's options page, if the extension has one. Provides the URL for the dedicated options page, if provided by the extension; otherwise `nil` if no page is defined. The app should provide access to this page through a user interface element.

func (*WKWebExtensionContext) OverrideNewTabPageURL

func (wwec *WKWebExtensionContext) OverrideNewTabPageURL() string

OverrideNewTabPageURL returns the URL to use as an alternative to the default new tab page, if the extension has one. Provides the URL for a new tab page, if provided by the extension; otherwise `nil` if no page is defined. The app should prompt the user for permission to use the extension's new tab page as the default.

func (*WKWebExtensionContext) PerformCommand

func (wwec *WKWebExtensionContext) PerformCommand(command *WKWebExtensionCommand)

PerformCommand performs the specified command, triggering events specific to this extension.

func (*WKWebExtensionContext) PerformCommandForEvent

func (wwec *WKWebExtensionContext) PerformCommandForEvent(event obj.Object) bool

PerformCommandForEvent performs the command associated with the given event.

func (*WKWebExtensionContext) PermissionStatusForMatchPattern

func (wwec *WKWebExtensionContext) PermissionStatusForMatchPattern(pattern *WKWebExtensionMatchPattern) WKWebExtensionContextPermissionStatus

PermissionStatusForMatchPattern checks the specified match pattern against the currently denied, granted, and requested permission match patterns.

func (*WKWebExtensionContext) PermissionStatusForPermission

func (wwec *WKWebExtensionContext) PermissionStatusForPermission(permission obj.Object) WKWebExtensionContextPermissionStatus

PermissionStatusForPermission checks the specified permission against the currently denied, granted, and requested permissions.

func (*WKWebExtensionContext) PermissionStatusForURL

func (wwec *WKWebExtensionContext) PermissionStatusForURL(url string) WKWebExtensionContextPermissionStatus

PermissionStatusForURL checks the specified URL against the currently denied, granted, and requested permission match patterns.

func (*WKWebExtensionContext) SetPermissionStatusForMatchPattern

func (wwec *WKWebExtensionContext) SetPermissionStatusForMatchPattern(status WKWebExtensionContextPermissionStatus, pattern *WKWebExtensionMatchPattern)

SetPermissionStatusForMatchPattern sets the status of a match pattern with a distant future expiration date.

func (*WKWebExtensionContext) SetPermissionStatusForMatchPatternExpirationDate

func (wwec *WKWebExtensionContext) SetPermissionStatusForMatchPatternExpirationDate(status WKWebExtensionContextPermissionStatus, pattern *WKWebExtensionMatchPattern, expirationDate time.Time)

SetPermissionStatusForMatchPatternExpirationDate sets the status of a match pattern with a specific expiration date.

func (*WKWebExtensionContext) SetPermissionStatusForPermission

func (wwec *WKWebExtensionContext) SetPermissionStatusForPermission(status WKWebExtensionContextPermissionStatus, permission obj.Object)

SetPermissionStatusForPermission sets the status of a permission with a distant future expiration date.

func (*WKWebExtensionContext) SetPermissionStatusForPermissionExpirationDate

func (wwec *WKWebExtensionContext) SetPermissionStatusForPermissionExpirationDate(status WKWebExtensionContextPermissionStatus, permission obj.Object, expirationDate time.Time)

SetPermissionStatusForPermissionExpirationDate sets the status of a permission with a specific expiration date.

func (*WKWebExtensionContext) SetPermissionStatusForURL

func (wwec *WKWebExtensionContext) SetPermissionStatusForURL(status WKWebExtensionContextPermissionStatus, url string)

SetPermissionStatusForURL sets the permission status of a URL with a distant future expiration date.

func (*WKWebExtensionContext) SetPermissionStatusForURLExpirationDate

func (wwec *WKWebExtensionContext) SetPermissionStatusForURLExpirationDate(status WKWebExtensionContextPermissionStatus, url string, expirationDate time.Time)

SetPermissionStatusForURLExpirationDate sets the permission status of a URL with a distant future expiration date.

func (*WKWebExtensionContext) String added in v0.17.0

func (wwec *WKWebExtensionContext) String() string

String returns the object's -description text, so a wrapper prints usefully under fmt.

func (*WKWebExtensionContext) UniqueIdentifier

func (wwec *WKWebExtensionContext) UniqueIdentifier() string

UniqueIdentifier returns a unique identifier used to distinguish the extension from other extensions and target it for messages. The default value is a unique value that matches the host in the default base URL. The identifier can be any value that is unique. Setting is only allowed when the context is not loaded. This value is accessible by the extension via `browser.runtime.id` and is used for messaging the extension via `browser.runtime.sendMessage()`.

func (*WKWebExtensionContext) UnsupportedAPIs

func (wwec *WKWebExtensionContext) UnsupportedAPIs() []string

UnsupportedAPIs specifies unsupported APIs for this extension, making them `undefined` in JavaScript. This property allows the app to specify a subset of web extension APIs that it chooses not to support, effectively making these APIs `undefined` within the extension's JavaScript contexts. This enables extensions to employ feature detection techniques for unsupported APIs, allowing them to adapt their behavior based on the APIs actually supported by the app. Setting is only allowed when the context is not loaded. Only certain APIs can be specified here, particularly those within the `browser` namespace and other dynamic functions and properties, anything else will be silently ignored.

func (*WKWebExtensionContext) WebExtension

func (wwec *WKWebExtensionContext) WebExtension() *WKWebExtension

WebExtension returns the extension this context represents.

func (*WKWebExtensionContext) WebExtensionController

func (wwec *WKWebExtensionContext) WebExtensionController() *WKWebExtensionController

WebExtensionController returns the extension controller this context is loaded in, otherwise `nil` if it isn't loaded.

func (*WKWebExtensionContext) WebViewConfiguration

func (wwec *WKWebExtensionContext) WebViewConfiguration() *WKWebViewConfiguration

WebViewConfiguration returns the web view configuration to use for web views that load pages from this extension. Returns a customized copy of the configuration, originally set in the web extension controller configuration, for this extension. The app must use this configuration when initializing web views intended to navigate to a URL originating from this extension's base URL. The app must also swap web views in tabs when navigating to and from web extension URLs. This property returns `nil` if the context isn't associated with a web extension controller. The returned configuration copy can be customized prior to web view initialization.

func (*WKWebExtensionContext) WithBaseURL added in v0.17.0

func (wwec *WKWebExtensionContext) WithBaseURL(baseURL string) *WKWebExtensionContext

WithBaseURL sets the base URL the context uses for loading extension resources or injecting content into webpages.

func (*WKWebExtensionContext) WithDeniedPermissionMatchPatterns added in v0.17.0

func (wwec *WKWebExtensionContext) WithDeniedPermissionMatchPatterns(deniedPermissionMatchPatterns obj.Object) *WKWebExtensionContext

WithDeniedPermissionMatchPatterns sets the currently denied permission match patterns and their expiration dates.

func (*WKWebExtensionContext) WithDeniedPermissions added in v0.17.0

func (wwec *WKWebExtensionContext) WithDeniedPermissions(deniedPermissions obj.Object) *WKWebExtensionContext

WithDeniedPermissions sets the currently denied permissions and their expiration dates.

func (*WKWebExtensionContext) WithGrantedPermissionMatchPatterns added in v0.17.0

func (wwec *WKWebExtensionContext) WithGrantedPermissionMatchPatterns(grantedPermissionMatchPatterns obj.Object) *WKWebExtensionContext

WithGrantedPermissionMatchPatterns sets the currently granted permission match patterns and their expiration dates.

func (*WKWebExtensionContext) WithGrantedPermissions added in v0.17.0

func (wwec *WKWebExtensionContext) WithGrantedPermissions(grantedPermissions obj.Object) *WKWebExtensionContext

WithGrantedPermissions sets the currently granted permissions and their expiration dates.

func (*WKWebExtensionContext) WithHasAccessToPrivateData added in v0.17.0

func (wwec *WKWebExtensionContext) WithHasAccessToPrivateData(hasAccessToPrivateData bool) *WKWebExtensionContext

WithHasAccessToPrivateData sets a Boolean value indicating if the extension has access to private data.

func (*WKWebExtensionContext) WithHasRequestedOptionalAccessToAllHosts added in v0.17.0

func (wwec *WKWebExtensionContext) WithHasRequestedOptionalAccessToAllHosts(hasRequestedOptionalAccessToAllHosts bool) *WKWebExtensionContext

WithHasRequestedOptionalAccessToAllHosts sets a Boolean value indicating if the extension has requested optional access to all hosts.

func (*WKWebExtensionContext) WithInspectable added in v0.17.0

func (wwec *WKWebExtensionContext) WithInspectable(inspectable bool) *WKWebExtensionContext

WithInspectable sets determines whether Web Inspector can inspect the WKWebView instances for this context.

func (*WKWebExtensionContext) WithInspectionName added in v0.17.0

func (wwec *WKWebExtensionContext) WithInspectionName(inspectionName string) *WKWebExtensionContext

WithInspectionName sets the name shown when inspecting the background web view.

func (*WKWebExtensionContext) WithUniqueIdentifier added in v0.17.0

func (wwec *WKWebExtensionContext) WithUniqueIdentifier(uniqueIdentifier string) *WKWebExtensionContext

WithUniqueIdentifier sets a unique identifier used to distinguish the extension from other extensions and target it for messages.

func (*WKWebExtensionContext) WithUnsupportedAPIs added in v0.17.0

func (wwec *WKWebExtensionContext) WithUnsupportedAPIs(unsupportedAPIs []string) *WKWebExtensionContext

WithUnsupportedAPIs sets specifies unsupported APIs for this extension, making them undefined in JavaScript.

type WKWebExtensionContextError

type WKWebExtensionContextError int64
const (
	WKWebExtensionContextErrorUnknown                       WKWebExtensionContextError = 1
	WKWebExtensionContextErrorAlreadyLoaded                 WKWebExtensionContextError = 2
	WKWebExtensionContextErrorNotLoaded                     WKWebExtensionContextError = 3
	WKWebExtensionContextErrorBaseURLAlreadyInUse           WKWebExtensionContextError = 4
	WKWebExtensionContextErrorNoBackgroundContent           WKWebExtensionContextError = 5
	WKWebExtensionContextErrorBackgroundContentFailedToLoad WKWebExtensionContextError = 6
)

func (WKWebExtensionContextError) String

String returns the WKWebExtensionContextError constant's name, or its numeric form when the value is not a known constant.

type WKWebExtensionContextPermissionStatus

type WKWebExtensionContextPermissionStatus int64
const (
	WKWebExtensionContextPermissionStatusDeniedExplicitly    WKWebExtensionContextPermissionStatus = -3
	WKWebExtensionContextPermissionStatusDeniedImplicitly    WKWebExtensionContextPermissionStatus = -2
	WKWebExtensionContextPermissionStatusRequestedImplicitly WKWebExtensionContextPermissionStatus = -1
	WKWebExtensionContextPermissionStatusUnknown             WKWebExtensionContextPermissionStatus = 0
	WKWebExtensionContextPermissionStatusRequestedExplicitly WKWebExtensionContextPermissionStatus = 1
	WKWebExtensionContextPermissionStatusGrantedImplicitly   WKWebExtensionContextPermissionStatus = 2
	WKWebExtensionContextPermissionStatusGrantedExplicitly   WKWebExtensionContextPermissionStatus = 3
)

func (WKWebExtensionContextPermissionStatus) String

String returns the WKWebExtensionContextPermissionStatus constant's name, or its numeric form when the value is not a known constant.

type WKWebExtensionController

type WKWebExtensionController struct {
	objref.Handle
}

WKWebExtensionController is an idiomatic wrapper over the Objective-C class WKWebExtensionController.

An object that manages a set of loaded extension contexts.

func NewWKWebExtensionController added in v0.17.0

func NewWKWebExtensionController() *WKWebExtensionController

NewWKWebExtensionController creates a new WKWebExtensionController.

func NewWKWebExtensionControllerWithConfiguration added in v0.17.0

func NewWKWebExtensionControllerWithConfiguration(configuration *WKWebExtensionControllerConfiguration) *WKWebExtensionController

NewWKWebExtensionControllerWithConfiguration returns a web extension controller initialized with the specified configuration.

func WKWebExtensionControllerFromID

func WKWebExtensionControllerFromID(id objc.ID) *WKWebExtensionController

WKWebExtensionControllerFromID adopts an existing Objective-C object as a WKWebExtensionController (nil for 0), retaining it and registering a release finalizer.

func (*WKWebExtensionController) Configuration

Configuration returns a copy of the configuration with which the web extension controller was initialized. Mutating the configuration has no effect on the web extension controller.

func (*WKWebExtensionController) Description added in v0.17.0

func (wwec *WKWebExtensionController) Description() string

Description returns the object's -description text.

func (*WKWebExtensionController) DidDeselectTabs

func (wwec *WKWebExtensionController) DidDeselectTabs(deselectedTabs []obj.Object)

DidDeselectTabs should be called by the app when tabs are deselected to fire appropriate events with all loaded web extensions.

func (*WKWebExtensionController) DidSelectTabs

func (wwec *WKWebExtensionController) DidSelectTabs(selectedTabs []obj.Object)

DidSelectTabs should be called by the app when tabs are selected to fire appropriate events with all loaded web extensions.

func (*WKWebExtensionController) ExtensionContextForExtension

func (wwec *WKWebExtensionController) ExtensionContextForExtension(extension *WKWebExtension) *WKWebExtensionContext

ExtensionContextForExtension returns a loaded extension context for the specified extension.

func (*WKWebExtensionController) ExtensionContextForURL

func (wwec *WKWebExtensionController) ExtensionContextForURL(url string) *WKWebExtensionContext

ExtensionContextForURL returns a loaded extension context matching the specified URL.

func (*WKWebExtensionController) ExtensionContexts

func (wwec *WKWebExtensionController) ExtensionContexts() []*WKWebExtensionContext

ExtensionContexts returns a set of all the currently loaded extension contexts.

func (*WKWebExtensionController) Extensions

func (wwec *WKWebExtensionController) Extensions() []*WKWebExtension

Extensions returns a set of all the currently loaded extensions.

func (*WKWebExtensionController) FetchDataRecordOfTypesForExtensionContext added in v0.17.0

func (wwec *WKWebExtensionController) FetchDataRecordOfTypesForExtensionContext(ctx context.Context, dataTypes []*foundation.String, extensionContext *WKWebExtensionContext) (result *WKWebExtensionDataRecord, err error)

FetchDataRecordOfTypesForExtensionContext fetches a data record containing the given extension data types for a specific known web extension context.

FetchDataRecordOfTypesForExtensionContext blocks until the operation completes or ctx is cancelled.

func (*WKWebExtensionController) FetchDataRecordsOfTypes added in v0.17.0

func (wwec *WKWebExtensionController) FetchDataRecordsOfTypes(ctx context.Context, dataTypes []*foundation.String) (result obj.Object, err error)

FetchDataRecordsOfTypes fetches data records containing the given extension data types for all known extensions.

FetchDataRecordsOfTypes blocks until the operation completes or ctx is cancelled.

func (*WKWebExtensionController) IsEqual added in v0.17.0

func (wwec *WKWebExtensionController) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*WKWebExtensionController) IsKind added in v0.17.0

func (wwec *WKWebExtensionController) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*WKWebExtensionController) LoadExtensionContext added in v0.17.0

func (wwec *WKWebExtensionController) LoadExtensionContext(extensionContext *WKWebExtensionContext) error

LoadExtensionContext loads the specified extension context.

func (*WKWebExtensionController) RemoveDataOfTypesFromDataRecords added in v0.17.0

func (wwec *WKWebExtensionController) RemoveDataOfTypesFromDataRecords(ctx context.Context, dataTypes []*foundation.String, dataRecords []*WKWebExtensionDataRecord) error

RemoveDataOfTypesFromDataRecords removes extension data of the given types for the given data records.

RemoveDataOfTypesFromDataRecords blocks until the operation completes or ctx is cancelled.

func (*WKWebExtensionController) String added in v0.17.0

func (wwec *WKWebExtensionController) String() string

String returns the object's -description text, so a wrapper prints usefully under fmt.

func (*WKWebExtensionController) UnloadExtensionContext added in v0.17.0

func (wwec *WKWebExtensionController) UnloadExtensionContext(extensionContext *WKWebExtensionContext) error

UnloadExtensionContext unloads the specified extension context.

func (*WKWebExtensionController) WithDelegate added in v0.17.0

WithDelegate sets the extension controller delegate.

type WKWebExtensionControllerConfiguration

type WKWebExtensionControllerConfiguration struct {
	objref.Handle
}

WKWebExtensionControllerConfiguration is an idiomatic wrapper over the Objective-C class WKWebExtensionControllerConfiguration.

func ConfigurationWithIdentifier added in v0.17.0

func ConfigurationWithIdentifier(identifier obj.Object) *WKWebExtensionControllerConfiguration

ConfigurationWithIdentifier returns a new configuration that is persistent and unique for the specified identifier. If a “WKWebExtensionController“ is associated with a unique persistent configuration, data will be written to the file system in a unique location based on the specified identifier.

func DefaultConfiguration added in v0.17.0

func DefaultConfiguration() *WKWebExtensionControllerConfiguration

DefaultConfiguration returns a new default configuration that is persistent and not unique. If a “WKWebExtensionController“ is associated with a persistent configuration, data will be written to the file system in a common location. When using multiple extension controllers, each controller should use a unique configuration to avoid conflicts.

func NewWKWebExtensionControllerConfiguration added in v0.17.0

func NewWKWebExtensionControllerConfiguration() *WKWebExtensionControllerConfiguration

NewWKWebExtensionControllerConfiguration creates a new WKWebExtensionControllerConfiguration.

func NonPersistentConfiguration added in v0.17.0

func NonPersistentConfiguration() *WKWebExtensionControllerConfiguration

NonPersistentConfiguration returns a new non-persistent configuration. If a “WKWebExtensionController“ is associated with a non-persistent configuration, no data will be written to the file system. This is useful for extensions in "private browsing" situations.

func WKWebExtensionControllerConfigurationFromID

func WKWebExtensionControllerConfigurationFromID(id objc.ID) *WKWebExtensionControllerConfiguration

WKWebExtensionControllerConfigurationFromID adopts an existing Objective-C object as a WKWebExtensionControllerConfiguration (nil for 0), retaining it and registering a release finalizer.

func (*WKWebExtensionControllerConfiguration) DefaultWebsiteDataStore

func (wwecc *WKWebExtensionControllerConfiguration) DefaultWebsiteDataStore() *WKWebsiteDataStore

DefaultWebsiteDataStore returns the default data store for website data and cookie access in extension contexts. This property sets the primary data store for managing website data, including cookies, which extensions can access, subject to the granted permissions within the extension contexts. Defaults to “WKWebsiteDataStore.defaultDataStore“.

func (*WKWebExtensionControllerConfiguration) Description added in v0.17.0

func (wwecc *WKWebExtensionControllerConfiguration) Description() string

Description returns the object's -description text.

func (*WKWebExtensionControllerConfiguration) Identifier

Identifier returns the unique identifier used for persistent configuration storage, or `nil` when it is the default or not persistent.

func (*WKWebExtensionControllerConfiguration) IsEqual added in v0.17.0

func (wwecc *WKWebExtensionControllerConfiguration) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*WKWebExtensionControllerConfiguration) IsKind added in v0.17.0

func (wwecc *WKWebExtensionControllerConfiguration) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*WKWebExtensionControllerConfiguration) IsPersistent

func (wwecc *WKWebExtensionControllerConfiguration) IsPersistent() bool

IsPersistent reports whether a Boolean value indicating if this context will write data to the the file system.

func (*WKWebExtensionControllerConfiguration) String added in v0.17.0

String returns the object's -description text, so a wrapper prints usefully under fmt.

func (*WKWebExtensionControllerConfiguration) WebViewConfiguration

func (wwecc *WKWebExtensionControllerConfiguration) WebViewConfiguration() *WKWebViewConfiguration

WebViewConfiguration returns the web view configuration to be used as a basis for configuring web views in extension contexts.

func (*WKWebExtensionControllerConfiguration) WithDefaultWebsiteDataStore added in v0.17.0

func (wwecc *WKWebExtensionControllerConfiguration) WithDefaultWebsiteDataStore(defaultWebsiteDataStore *WKWebsiteDataStore) *WKWebExtensionControllerConfiguration

WithDefaultWebsiteDataStore sets the default data store for website data and cookie access in extension contexts. This property sets the primary data store for managing website data, including cookies, which extensions can access, subject to the granted permissions within the extension contexts. Defaults to “WKWebsiteDataStore.defaultDataStore“.

func (*WKWebExtensionControllerConfiguration) WithWebViewConfiguration added in v0.17.0

func (wwecc *WKWebExtensionControllerConfiguration) WithWebViewConfiguration(webViewConfiguration *WKWebViewConfiguration) *WKWebExtensionControllerConfiguration

WithWebViewConfiguration sets the web view configuration to be used as a basis for configuring web views in extension contexts.

type WKWebExtensionControllerDelegate

type WKWebExtensionControllerDelegate interface {
}

WKWebExtensionControllerDelegate receives the callbacks of the Objective-C protocol WKWebExtensionControllerDelegate. Pass an implementation to the matching With… setter; the wrapper builds the Objective-C delegate object for you. Every method listed here is required. The protocol's optional methods are separate one-method interfaces (WKWebExtensionControllerDelegate…Handler): implement the ones you need on the same value and the framework will call them too.

type WKWebExtensionControllerDelegateWebExtensionControllerDidUpdateActionForExtensionContextHandler added in v0.17.0

type WKWebExtensionControllerDelegateWebExtensionControllerDidUpdateActionForExtensionContextHandler interface {
	WebExtensionControllerDidUpdateActionForExtensionContext(controller *WKWebExtensionController, action *WKWebExtensionAction, context_ *WKWebExtensionContext)
}

WKWebExtensionControllerDelegateWebExtensionControllerDidUpdateActionForExtensionContextHandler is the optional WKWebExtensionControllerDelegate method webExtensionController:didUpdateAction:forExtensionContext:. Implement it on a WKWebExtensionControllerDelegate value to receive that callback; a value without it is simply never sent one.

type WKWebExtensionDataRecord

type WKWebExtensionDataRecord struct {
	objref.Handle
}

WKWebExtensionDataRecord is an idiomatic wrapper over the Objective-C class WKWebExtensionDataRecord.

func NewWKWebExtensionDataRecord added in v0.17.0

func NewWKWebExtensionDataRecord() *WKWebExtensionDataRecord

NewWKWebExtensionDataRecord creates a new WKWebExtensionDataRecord.

func WKWebExtensionDataRecordFromID

func WKWebExtensionDataRecordFromID(id objc.ID) *WKWebExtensionDataRecord

WKWebExtensionDataRecordFromID adopts an existing Objective-C object as a WKWebExtensionDataRecord (nil for 0), retaining it and registering a release finalizer.

func (*WKWebExtensionDataRecord) ContainedDataTypes

func (wwedr *WKWebExtensionDataRecord) ContainedDataTypes() []*foundation.String

ContainedDataTypes returns the set of data types contained in this data record. The order of the returned elements is unspecified.

func (*WKWebExtensionDataRecord) Description added in v0.17.0

func (wwedr *WKWebExtensionDataRecord) Description() string

Description returns the object's -description text.

func (*WKWebExtensionDataRecord) DisplayName

func (wwedr *WKWebExtensionDataRecord) DisplayName() string

DisplayName returns the display name for the web extension to which this data record belongs.

func (*WKWebExtensionDataRecord) Errors

func (wwedr *WKWebExtensionDataRecord) Errors() []obj.Object

Errors returns an array of errors that may have occurred when either calculating or deleting storage.

func (*WKWebExtensionDataRecord) IsEqual added in v0.17.0

func (wwedr *WKWebExtensionDataRecord) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*WKWebExtensionDataRecord) IsKind added in v0.17.0

func (wwedr *WKWebExtensionDataRecord) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*WKWebExtensionDataRecord) SizeInBytesOfTypes

func (wwedr *WKWebExtensionDataRecord) SizeInBytesOfTypes(dataTypes []*foundation.String) int

SizeInBytesOfTypes retrieves the size in bytes of the specific data types in this data record.

func (*WKWebExtensionDataRecord) String added in v0.17.0

func (wwedr *WKWebExtensionDataRecord) String() string

String returns the object's -description text, so a wrapper prints usefully under fmt.

func (*WKWebExtensionDataRecord) TotalSizeInBytes

func (wwedr *WKWebExtensionDataRecord) TotalSizeInBytes() int

TotalSizeInBytes returns the total size in bytes of all data types contained in this data record.

func (*WKWebExtensionDataRecord) UniqueIdentifier

func (wwedr *WKWebExtensionDataRecord) UniqueIdentifier() string

UniqueIdentifier returns unique identifier for the web extension context to which this data record belongs.

type WKWebExtensionDataRecordError

type WKWebExtensionDataRecordError int64

Constants that indicate errors in the WKWebExtensionDataRecord domain.

const (
	WKWebExtensionDataRecordErrorUnknown                   WKWebExtensionDataRecordError = 1
	WKWebExtensionDataRecordErrorLocalStorageFailed        WKWebExtensionDataRecordError = 2
	WKWebExtensionDataRecordErrorSessionStorageFailed      WKWebExtensionDataRecordError = 3
	WKWebExtensionDataRecordErrorSynchronizedStorageFailed WKWebExtensionDataRecordError = 4
)

func (WKWebExtensionDataRecordError) String

String returns the WKWebExtensionDataRecordError constant's name, or its numeric form when the value is not a known constant.

type WKWebExtensionError

type WKWebExtensionError int64
const (
	WKWebExtensionErrorUnknown                           WKWebExtensionError = 1
	WKWebExtensionErrorResourceNotFound                  WKWebExtensionError = 2
	WKWebExtensionErrorInvalidResourceCodeSignature      WKWebExtensionError = 3
	WKWebExtensionErrorInvalidManifest                   WKWebExtensionError = 4
	WKWebExtensionErrorUnsupportedManifestVersion        WKWebExtensionError = 5
	WKWebExtensionErrorInvalidManifestEntry              WKWebExtensionError = 6
	WKWebExtensionErrorInvalidDeclarativeNetRequestEntry WKWebExtensionError = 7
	WKWebExtensionErrorInvalidBackgroundPersistence      WKWebExtensionError = 8
	WKWebExtensionErrorInvalidArchive                    WKWebExtensionError = 9
)

func (WKWebExtensionError) String

func (e WKWebExtensionError) String() string

String returns the WKWebExtensionError constant's name, or its numeric form when the value is not a known constant.

type WKWebExtensionMatchPattern

type WKWebExtensionMatchPattern struct {
	objref.Handle
}

WKWebExtensionMatchPattern is an idiomatic wrapper over the Objective-C class WKWebExtensionMatchPattern.

func AllHostsAndSchemesMatchPattern added in v0.17.0

func AllHostsAndSchemesMatchPattern() *WKWebExtensionMatchPattern

AllHostsAndSchemesMatchPattern returns a pattern object that has `*` for scheme, host, and path.

func AllURLsMatchPattern added in v0.17.0

func AllURLsMatchPattern() *WKWebExtensionMatchPattern

AllURLsMatchPattern returns a pattern object for `<all_urls>`.

func MatchPatternWithSchemeHostPath added in v0.17.0

func MatchPatternWithSchemeHostPath(scheme string, host string, path string) *WKWebExtensionMatchPattern

MatchPatternWithSchemeHostPath returns a pattern object for the specified scheme, host, and path strings.

func MatchPatternWithString added in v0.17.0

func MatchPatternWithString(str string) *WKWebExtensionMatchPattern

MatchPatternWithString returns a pattern object for the specified pattern string.

func NewWKWebExtensionMatchPatternWithSchemeHostPath added in v0.17.0

func NewWKWebExtensionMatchPatternWithSchemeHostPath(scheme string, host string, path string) (result *WKWebExtensionMatchPattern, err error)

NewWKWebExtensionMatchPatternWithSchemeHostPath returns a pattern object for the specified scheme, host, and path strings.

func NewWKWebExtensionMatchPatternWithString added in v0.17.0

func NewWKWebExtensionMatchPatternWithString(str string) (result *WKWebExtensionMatchPattern, err error)

NewWKWebExtensionMatchPatternWithString returns a pattern object for the specified pattern string.

func WKWebExtensionMatchPatternFromID

func WKWebExtensionMatchPatternFromID(id objc.ID) *WKWebExtensionMatchPattern

WKWebExtensionMatchPatternFromID adopts an existing Objective-C object as a WKWebExtensionMatchPattern (nil for 0), retaining it and registering a release finalizer.

func (*WKWebExtensionMatchPattern) Description added in v0.17.0

func (wwemp *WKWebExtensionMatchPattern) Description() string

Description returns the object's -description text.

func (*WKWebExtensionMatchPattern) Host

func (wwemp *WKWebExtensionMatchPattern) Host() string

Host returns the host part of the pattern string, unless “matchesAllURLs“ is `YES`.

func (*WKWebExtensionMatchPattern) IsEqual added in v0.17.0

func (wwemp *WKWebExtensionMatchPattern) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*WKWebExtensionMatchPattern) IsKind added in v0.17.0

func (wwemp *WKWebExtensionMatchPattern) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*WKWebExtensionMatchPattern) MatchesAllHosts

func (wwemp *WKWebExtensionMatchPattern) MatchesAllHosts() bool

MatchesAllHosts reports whether if the pattern is `<all_urls>` or has `*` as the host.

func (*WKWebExtensionMatchPattern) MatchesAllURLs

func (wwemp *WKWebExtensionMatchPattern) MatchesAllURLs() bool

MatchesAllURLs reports whether if the pattern is `<all_urls>`.

func (*WKWebExtensionMatchPattern) MatchesPattern

func (wwemp *WKWebExtensionMatchPattern) MatchesPattern(pattern *WKWebExtensionMatchPattern) bool

MatchesPattern matches the receiver pattern against the specified pattern.

func (*WKWebExtensionMatchPattern) MatchesPatternOptions

func (wwemp *WKWebExtensionMatchPattern) MatchesPatternOptions(pattern *WKWebExtensionMatchPattern, options WKWebExtensionMatchPatternOptions) bool

MatchesPatternOptions matches the receiver pattern against the specified pattern with options.

func (*WKWebExtensionMatchPattern) MatchesURL

func (wwemp *WKWebExtensionMatchPattern) MatchesURL(url string) bool

MatchesURL matches the reciever pattern against the specified URL.

func (*WKWebExtensionMatchPattern) MatchesURLOptions

func (wwemp *WKWebExtensionMatchPattern) MatchesURLOptions(url string, options WKWebExtensionMatchPatternOptions) bool

MatchesURLOptions matches the reciever pattern against the specified URL with options.

func (*WKWebExtensionMatchPattern) Path

func (wwemp *WKWebExtensionMatchPattern) Path() string

Path returns the path part of the pattern string, unless “matchesAllURLs“ is `YES`.

func (*WKWebExtensionMatchPattern) Scheme

func (wwemp *WKWebExtensionMatchPattern) Scheme() string

Scheme returns the scheme part of the pattern string, unless “matchesAllURLs“ is `YES`.

func (*WKWebExtensionMatchPattern) String

func (wwemp *WKWebExtensionMatchPattern) String() string

String returns the original pattern string.

type WKWebExtensionMatchPatternError

type WKWebExtensionMatchPatternError int64

Constants that indicate errors in the WKWebExtensionMatchPattern domain.

const (
	WKWebExtensionMatchPatternErrorUnknown       WKWebExtensionMatchPatternError = 1
	WKWebExtensionMatchPatternErrorInvalidScheme WKWebExtensionMatchPatternError = 2
	WKWebExtensionMatchPatternErrorInvalidHost   WKWebExtensionMatchPatternError = 3
	WKWebExtensionMatchPatternErrorInvalidPath   WKWebExtensionMatchPatternError = 4
)

func (WKWebExtensionMatchPatternError) String

String returns the WKWebExtensionMatchPatternError constant's name, or its numeric form when the value is not a known constant.

type WKWebExtensionMatchPatternOptions

type WKWebExtensionMatchPatternOptions uint64

Constants used by WKWebExtensionMatchPattern to indicate matching options. Bitmask — values may be combined with |.

const (
	// Indicates no special matching options.
	WKWebExtensionMatchPatternOptionsNone                 WKWebExtensionMatchPatternOptions = 0
	WKWebExtensionMatchPatternOptionsIgnoreSchemes        WKWebExtensionMatchPatternOptions = 1
	WKWebExtensionMatchPatternOptionsIgnorePaths          WKWebExtensionMatchPatternOptions = 2
	WKWebExtensionMatchPatternOptionsMatchBidirectionally WKWebExtensionMatchPatternOptions = 4
)

func (WKWebExtensionMatchPatternOptions) String

String returns the WKWebExtensionMatchPatternOptions constant's name, or its numeric form when the value is not a known constant.

type WKWebExtensionMessagePort

type WKWebExtensionMessagePort struct {
	objref.Handle
}

WKWebExtensionMessagePort is an idiomatic wrapper over the Objective-C class WKWebExtensionMessagePort.

func NewWKWebExtensionMessagePort added in v0.17.0

func NewWKWebExtensionMessagePort() *WKWebExtensionMessagePort

NewWKWebExtensionMessagePort creates a new WKWebExtensionMessagePort.

func WKWebExtensionMessagePortFromID

func WKWebExtensionMessagePortFromID(id objc.ID) *WKWebExtensionMessagePort

WKWebExtensionMessagePortFromID adopts an existing Objective-C object as a WKWebExtensionMessagePort (nil for 0), retaining it and registering a release finalizer.

func (*WKWebExtensionMessagePort) ApplicationIdentifier

func (wwemp *WKWebExtensionMessagePort) ApplicationIdentifier() string

ApplicationIdentifier returns the unique identifier for the app to which this port should be connected. This identifier is provided by the web extension and may or may not be used by the app. It's up to the app to decide how to interpret this identifier.

func (*WKWebExtensionMessagePort) Description added in v0.17.0

func (wwemp *WKWebExtensionMessagePort) Description() string

Description returns the object's -description text.

func (*WKWebExtensionMessagePort) Disconnect

func (wwemp *WKWebExtensionMessagePort) Disconnect()

Disconnect disconnects the port, terminating all further messages.

func (*WKWebExtensionMessagePort) DisconnectWithError

func (wwemp *WKWebExtensionMessagePort) DisconnectWithError(err unsafe.Pointer)

DisconnectWithError disconnects the port, terminating all further messages with an optional error.

func (*WKWebExtensionMessagePort) IsDisconnected

func (wwemp *WKWebExtensionMessagePort) IsDisconnected() bool

IsDisconnected reports whether the message port is disconnected.

func (*WKWebExtensionMessagePort) IsEqual added in v0.17.0

func (wwemp *WKWebExtensionMessagePort) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*WKWebExtensionMessagePort) IsKind added in v0.17.0

func (wwemp *WKWebExtensionMessagePort) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*WKWebExtensionMessagePort) SendMessage added in v0.17.0

func (wwemp *WKWebExtensionMessagePort) SendMessage(ctx context.Context, message obj.Object) error

SendMessage sends a message to the connected web extension.

SendMessage blocks until the operation completes or ctx is cancelled.

func (*WKWebExtensionMessagePort) String added in v0.17.0

func (wwemp *WKWebExtensionMessagePort) String() string

String returns the object's -description text, so a wrapper prints usefully under fmt.

func (*WKWebExtensionMessagePort) WithDisconnectHandler added in v0.18.0

func (wwemp *WKWebExtensionMessagePort) WithDisconnectHandler(disconnectHandler func(unsafe.Pointer)) *WKWebExtensionMessagePort

WithDisconnectHandler sets the block to be executed when the port disconnects. An optional block to be invoked when the port disconnects, taking an optional error that indicates if the disconnection was caused by an error.

func (*WKWebExtensionMessagePort) WithMessageHandler added in v0.18.0

func (wwemp *WKWebExtensionMessagePort) WithMessageHandler(messageHandler func(obj.Object, unsafe.Pointer)) *WKWebExtensionMessagePort

WithMessageHandler sets the block to be executed when a message is received from the web extension. An optional block to be invoked when a message is received, taking two parameters: the message and an optional error.

type WKWebExtensionMessagePortError

type WKWebExtensionMessagePortError int64

Constants that indicate errors in the WKWebExtensionMessagePort domain.

const (
	WKWebExtensionMessagePortErrorUnknown        WKWebExtensionMessagePortError = 1
	WKWebExtensionMessagePortErrorNotConnected   WKWebExtensionMessagePortError = 2
	WKWebExtensionMessagePortErrorMessageInvalid WKWebExtensionMessagePortError = 3
)

func (WKWebExtensionMessagePortError) String

String returns the WKWebExtensionMessagePortError constant's name, or its numeric form when the value is not a known constant.

type WKWebExtensionTab

type WKWebExtensionTab interface {
}

WKWebExtensionTab is the Go form of the Objective-C protocol WKWebExtensionTab.

type WKWebExtensionTabChangedProperties

type WKWebExtensionTabChangedProperties uint64

Bitmask — values may be combined with |.

const (
	WKWebExtensionTabChangedPropertiesNone         WKWebExtensionTabChangedProperties = 0
	WKWebExtensionTabChangedPropertiesLoading      WKWebExtensionTabChangedProperties = 2
	WKWebExtensionTabChangedPropertiesMuted        WKWebExtensionTabChangedProperties = 4
	WKWebExtensionTabChangedPropertiesPinned       WKWebExtensionTabChangedProperties = 8
	WKWebExtensionTabChangedPropertiesPlayingAudio WKWebExtensionTabChangedProperties = 16
	WKWebExtensionTabChangedPropertiesReaderMode   WKWebExtensionTabChangedProperties = 32
	WKWebExtensionTabChangedPropertiesSize         WKWebExtensionTabChangedProperties = 64
	WKWebExtensionTabChangedPropertiesTitle        WKWebExtensionTabChangedProperties = 128
	WKWebExtensionTabChangedPropertiesURL          WKWebExtensionTabChangedProperties = 256
	WKWebExtensionTabChangedPropertiesZoomFactor   WKWebExtensionTabChangedProperties = 512
)

func (WKWebExtensionTabChangedProperties) String

String returns the WKWebExtensionTabChangedProperties constant's name, or its numeric form when the value is not a known constant.

type WKWebExtensionTabConfiguration

type WKWebExtensionTabConfiguration struct {
	objref.Handle
}

WKWebExtensionTabConfiguration is an idiomatic wrapper over the Objective-C class WKWebExtensionTabConfiguration.

func NewWKWebExtensionTabConfiguration added in v0.17.0

func NewWKWebExtensionTabConfiguration() *WKWebExtensionTabConfiguration

NewWKWebExtensionTabConfiguration creates a new WKWebExtensionTabConfiguration.

func WKWebExtensionTabConfigurationFromID

func WKWebExtensionTabConfigurationFromID(id objc.ID) *WKWebExtensionTabConfiguration

WKWebExtensionTabConfigurationFromID adopts an existing Objective-C object as a WKWebExtensionTabConfiguration (nil for 0), retaining it and registering a release finalizer.

func (*WKWebExtensionTabConfiguration) Description added in v0.17.0

func (wwetc *WKWebExtensionTabConfiguration) Description() string

Description returns the object's -description text.

func (*WKWebExtensionTabConfiguration) Index

func (wwetc *WKWebExtensionTabConfiguration) Index() int

Index indicates the position where the tab should be opened within the window.

func (*WKWebExtensionTabConfiguration) IsEqual added in v0.17.0

func (wwetc *WKWebExtensionTabConfiguration) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*WKWebExtensionTabConfiguration) IsKind added in v0.17.0

func (wwetc *WKWebExtensionTabConfiguration) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*WKWebExtensionTabConfiguration) ShouldAddToSelection

func (wwetc *WKWebExtensionTabConfiguration) ShouldAddToSelection() bool

ShouldAddToSelection reports whether the tab should be added to the current tab selection. If this property is `YES`, the tab should be part of the current selection, but not necessarily become the active tab unless “shouldBeActive“ is also `YES`. If this property is `NO`, the tab shouldn't be part of the current selection.

func (*WKWebExtensionTabConfiguration) ShouldBeActive

func (wwetc *WKWebExtensionTabConfiguration) ShouldBeActive() bool

ShouldBeActive reports whether the tab should be the active tab. If this property is `YES`, the tab should be made active in the window, ensuring it is the frontmost tab. Being active implies the tab is also selected. If this property is `NO`, the tab shouldn't affect the currently active tab.

func (*WKWebExtensionTabConfiguration) ShouldBeMuted

func (wwetc *WKWebExtensionTabConfiguration) ShouldBeMuted() bool

ShouldBeMuted reports whether the tab should be muted.

func (*WKWebExtensionTabConfiguration) ShouldBePinned

func (wwetc *WKWebExtensionTabConfiguration) ShouldBePinned() bool

ShouldBePinned reports whether the tab should be pinned.

func (*WKWebExtensionTabConfiguration) ShouldReaderModeBeActive

func (wwetc *WKWebExtensionTabConfiguration) ShouldReaderModeBeActive() bool

ShouldReaderModeBeActive reports whether reader mode in the tab should be active.

func (*WKWebExtensionTabConfiguration) String added in v0.17.0

func (wwetc *WKWebExtensionTabConfiguration) String() string

String returns the object's -description text, so a wrapper prints usefully under fmt.

func (*WKWebExtensionTabConfiguration) URL added in v0.17.0

URL indicates the initial URL for the tab. If this property is `nil`, the app's default "start page" should appear in the tab.

type WKWebExtensionWindow

type WKWebExtensionWindow interface {
}

WKWebExtensionWindow is the Go form of the Objective-C protocol WKWebExtensionWindow.

type WKWebExtensionWindowConfiguration

type WKWebExtensionWindowConfiguration struct {
	objref.Handle
}

WKWebExtensionWindowConfiguration is an idiomatic wrapper over the Objective-C class WKWebExtensionWindowConfiguration.

func NewWKWebExtensionWindowConfiguration added in v0.17.0

func NewWKWebExtensionWindowConfiguration() *WKWebExtensionWindowConfiguration

NewWKWebExtensionWindowConfiguration creates a new WKWebExtensionWindowConfiguration.

func WKWebExtensionWindowConfigurationFromID

func WKWebExtensionWindowConfigurationFromID(id objc.ID) *WKWebExtensionWindowConfiguration

WKWebExtensionWindowConfigurationFromID adopts an existing Objective-C object as a WKWebExtensionWindowConfiguration (nil for 0), retaining it and registering a release finalizer.

func (*WKWebExtensionWindowConfiguration) Description added in v0.17.0

func (wwewc *WKWebExtensionWindowConfiguration) Description() string

Description returns the object's -description text.

func (*WKWebExtensionWindowConfiguration) Frame

Frame indicates the frame where the window should be positioned on the main screen. This frame should override the app's default window position and size. Individual components (e.g., `origin.x`, `size.width`) will be `NaN` if not specified.

func (*WKWebExtensionWindowConfiguration) IsEqual added in v0.17.0

func (wwewc *WKWebExtensionWindowConfiguration) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*WKWebExtensionWindowConfiguration) IsKind added in v0.17.0

func (wwewc *WKWebExtensionWindowConfiguration) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*WKWebExtensionWindowConfiguration) ShouldBeFocused

func (wwewc *WKWebExtensionWindowConfiguration) ShouldBeFocused() bool

ShouldBeFocused reports whether the window should be focused.

func (*WKWebExtensionWindowConfiguration) ShouldBePrivate

func (wwewc *WKWebExtensionWindowConfiguration) ShouldBePrivate() bool

ShouldBePrivate reports whether the window should be private.

func (*WKWebExtensionWindowConfiguration) String added in v0.17.0

func (wwewc *WKWebExtensionWindowConfiguration) String() string

String returns the object's -description text, so a wrapper prints usefully under fmt.

func (*WKWebExtensionWindowConfiguration) TabURLs

func (wwewc *WKWebExtensionWindowConfiguration) TabURLs() []string

TabURLs indicates the URLs that the window should initially load as tabs. If “tabURLs“ and “tabs“ are both empty, the app's default "start page" should appear in a tab.

TabURLs returns the collection as a Go slice.

func (*WKWebExtensionWindowConfiguration) Tabs

Tabs indicates the existing tabs that should be moved to the window. If “tabs“ and “tabURLs“ are both empty, the app's default "start page" should appear in a tab.

func (*WKWebExtensionWindowConfiguration) WindowState

WindowState indicates the window state for the window.

func (*WKWebExtensionWindowConfiguration) WindowType

WindowType indicates the window type for the window.

type WKWebExtensionWindowState

type WKWebExtensionWindowState int64

Constants used by WKWebExtensionWindow to indicate possible states of a window.

const (
	WKWebExtensionWindowStateNormal     WKWebExtensionWindowState = 0
	WKWebExtensionWindowStateMinimized  WKWebExtensionWindowState = 1
	WKWebExtensionWindowStateMaximized  WKWebExtensionWindowState = 2
	WKWebExtensionWindowStateFullscreen WKWebExtensionWindowState = 3
)

func (WKWebExtensionWindowState) String

func (e WKWebExtensionWindowState) String() string

String returns the WKWebExtensionWindowState constant's name, or its numeric form when the value is not a known constant.

type WKWebExtensionWindowType

type WKWebExtensionWindowType int64

Constants used by WKWebExtensionWindow to indicate the type of a window.

const (
	WKWebExtensionWindowTypeNormal WKWebExtensionWindowType = 0
	WKWebExtensionWindowTypePopup  WKWebExtensionWindowType = 1
)

func (WKWebExtensionWindowType) String

func (e WKWebExtensionWindowType) String() string

String returns the WKWebExtensionWindowType constant's name, or its numeric form when the value is not a known constant.

type WKWebView

type WKWebView struct {
	objref.Handle
}

WKWebView is an idiomatic wrapper over the Objective-C class WKWebView.

An object that displays interactive web content, such as for an in-app browser.

func NewWKWebViewWithCoder added in v0.17.0

func NewWKWebViewWithCoder(coder obj.Object) *WKWebView

NewWKWebViewWithCoder returns an object initialized from data in the specified coder object.

func NewWKWebViewWithFrameConfiguration added in v0.17.0

func NewWKWebViewWithFrameConfiguration(frame corefoundation.CGRect, configuration *WKWebViewConfiguration) *WKWebView

NewWKWebViewWithFrameConfiguration creates a web view and initializes it with the specified frame and configuration data.

func WKWebViewFromID

func WKWebViewFromID(id objc.ID) *WKWebView

WKWebViewFromID adopts an existing Objective-C object as a WKWebView (nil for 0), retaining it and registering a release finalizer.

func (*WKWebView) AllowsBackForwardNavigationGestures

func (wwv *WKWebView) AllowsBackForwardNavigationGestures() bool

AllowsBackForwardNavigationGestures reports whether horizontal swipe gestures will trigger back-forward list navigations. The default value is false.

func (*WKWebView) AllowsLinkPreview

func (wwv *WKWebView) AllowsLinkPreview() bool

AllowsLinkPreview reports whether link preview is allowed for any links inside this WKWebView. The default value is true on Mac and iOS.

func (*WKWebView) AllowsMagnification

func (wwv *WKWebView) AllowsMagnification() bool

AllowsMagnification wraps the corresponding Objective-C method.

func (*WKWebView) BackForwardList

func (wwv *WKWebView) BackForwardList() *WKBackForwardList

BackForwardList returns the web view's back-forward list.

func (*WKWebView) CallAsyncJavaScriptArgumentsInFrameInContentWorldCompletionHandler

func (wwv *WKWebView) CallAsyncJavaScriptArgumentsInFrameInContentWorldCompletionHandler(functionBody string, arguments map[string]obj.Object, frame *WKFrameInfo, contentWorld *WKContentWorld, completionHandler func(unsafe.Pointer, unsafe.Pointer))

CallAsyncJavaScriptArgumentsInFrameInContentWorldCompletionHandler executes the specified string as an asynchronous JavaScript function.

func (*WKWebView) CameraCaptureState

func (wwv *WKWebView) CameraCaptureState() WKMediaCaptureState

CameraCaptureState returns the state of camera capture on a web page.

func (*WKWebView) CanGoBack

func (wwv *WKWebView) CanGoBack() bool

CanGoBack reports whether there is a back item in the back-forward list that can be navigated to.

func (*WKWebView) CanGoForward

func (wwv *WKWebView) CanGoForward() bool

CanGoForward reports whether there is a forward item in the back-forward list that can be navigated to.

func (*WKWebView) CertificateChain

func (wwv *WKWebView) CertificateChain() obj.Object

CertificateChain returns the certificate chain.

func (*WKWebView) CloseAllMediaPresentations

func (wwv *WKWebView) CloseAllMediaPresentations()

CloseAllMediaPresentations closes all media presentations.

func (*WKWebView) CloseAllMediaPresentationsWithCompletionHandler

func (wwv *WKWebView) CloseAllMediaPresentationsWithCompletionHandler(completionHandler func())

CloseAllMediaPresentationsWithCompletionHandler closes all media the web view is presenting, including picture-in-picture video and fullscreen video.

func (*WKWebView) Configuration

func (wwv *WKWebView) Configuration() *WKWebViewConfiguration

Configuration returns a copy of the configuration with which the web view was initialized.

func (*WKWebView) CreatePDFWithConfigurationCompletionHandler

func (wwv *WKWebView) CreatePDFWithConfigurationCompletionHandler(pdfConfiguration *WKPDFConfiguration, completionHandler func(obj.Object, unsafe.Pointer))

CreatePDFWithConfigurationCompletionHandler generates PDF data from the web view’s contents asynchronously.

func (*WKWebView) CreateWebArchiveDataWithCompletionHandler

func (wwv *WKWebView) CreateWebArchiveDataWithCompletionHandler(completionHandler func(obj.Object, unsafe.Pointer))

CreateWebArchiveDataWithCompletionHandler creates a web archive of the web view’s contents asynchronously.

func (*WKWebView) CustomUserAgent

func (wwv *WKWebView) CustomUserAgent() string

CustomUserAgent returns the custom user agent string or nil if no custom user agent string has been set.

func (*WKWebView) Description added in v0.17.0

func (wwv *WKWebView) Description() string

Description returns the object's -description text.

func (*WKWebView) EstimatedProgress

func (wwv *WKWebView) EstimatedProgress() float64

EstimatedProgress returns an estimate of what fraction of the current navigation has been completed. This value ranges from 0.0 to 1.0 based on the total number of bytes expected to be received, including the main document and all of its potential subresources. After a navigation completes, the value remains at 1.0 until a new navigation starts, at which point it is reset to 0.0.

func (*WKWebView) EvaluateJavaScriptCompletionHandler

func (wwv *WKWebView) EvaluateJavaScriptCompletionHandler(javaScriptString string, completionHandler func(unsafe.Pointer, unsafe.Pointer))

EvaluateJavaScriptCompletionHandler evaluates the specified JavaScript string.

func (*WKWebView) EvaluateJavaScriptInFrameInContentWorldCompletionHandler

func (wwv *WKWebView) EvaluateJavaScriptInFrameInContentWorldCompletionHandler(javaScriptString string, frame *WKFrameInfo, contentWorld *WKContentWorld, completionHandler func(unsafe.Pointer, unsafe.Pointer))

EvaluateJavaScriptInFrameInContentWorldCompletionHandler evaluates the specified JavaScript string in the specified frame and content world.

func (*WKWebView) FetchDataOfTypesCompletionHandler

func (wwv *WKWebView) FetchDataOfTypesCompletionHandler(dataTypes WKWebViewDataType, completionHandler func(obj.Object, unsafe.Pointer))

FetchDataOfTypesCompletionHandler fetches data of types completion handler.

func (*WKWebView) FindStringWithConfigurationCompletionHandler

func (wwv *WKWebView) FindStringWithConfigurationCompletionHandler(str string, configuration *WKFindConfiguration, completionHandler func(obj.Object))

FindStringWithConfigurationCompletionHandler searches for the specified string in the web view’s content.

func (*WKWebView) FullscreenState

func (wwv *WKWebView) FullscreenState() WKFullscreenState

FullscreenState returns a WKWebView's fullscreen state.

func (*WKWebView) GoBack

func (wwv *WKWebView) GoBack() *WKNavigation

GoBack returns navigates to the back item in the back-forward list.

func (*WKWebView) GoBack2

func (wwv *WKWebView) GoBack2(sender obj.Object)

GoBack2 navigates to the back item in the back-forward list.

func (*WKWebView) GoForward

func (wwv *WKWebView) GoForward() *WKNavigation

GoForward returns navigates to the forward item in the back-forward list.

func (*WKWebView) GoForward2

func (wwv *WKWebView) GoForward2(sender obj.Object)

GoForward2 navigates to the forward item in the back-forward list.

func (*WKWebView) GoToBackForwardListItem

func (wwv *WKWebView) GoToBackForwardListItem(item *WKBackForwardListItem) *WKNavigation

GoToBackForwardListItem navigates to an item from the back-forward list and sets it as the current item.

func (*WKWebView) HasOnlySecureContent

func (wwv *WKWebView) HasOnlySecureContent() bool

HasOnlySecureContent reports whether all resources on the page have been loaded over securely encrypted connections.

func (*WKWebView) InteractionState

func (wwv *WKWebView) InteractionState() obj.Object

InteractionState returns the interaction state.

func (*WKWebView) IsBlockedByScreenTime

func (wwv *WKWebView) IsBlockedByScreenTime() bool

IsBlockedByScreenTime reports whether screen Time blocking has occurred.

func (*WKWebView) IsEqual added in v0.17.0

func (wwv *WKWebView) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*WKWebView) IsInspectable

func (wwv *WKWebView) IsInspectable() bool

IsInspectable reports whether controls whether this The default value is false.

func (*WKWebView) IsKind added in v0.17.0

func (wwv *WKWebView) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*WKWebView) IsLoading

func (wwv *WKWebView) IsLoading() bool

IsLoading reports whether the view is currently loading content.

func (*WKWebView) IsWritingToolsActive

func (wwv *WKWebView) IsWritingToolsActive() bool

IsWritingToolsActive reports whether writing Tools is active for the view.

func (*WKWebView) LoadDataMIMETypeCharacterEncodingNameBaseURL

func (wwv *WKWebView) LoadDataMIMETypeCharacterEncodingNameBaseURL(data []byte, mimeType string, characterEncodingName string, baseURL string) *WKNavigation

LoadDataMIMETypeCharacterEncodingNameBaseURL loads the content of the specified data object and navigates to it.

func (*WKWebView) LoadFileRequestAllowingReadAccessToURL

func (wwv *WKWebView) LoadFileRequestAllowingReadAccessToURL(request obj.Object, readAccessURL string) *WKNavigation

LoadFileRequestAllowingReadAccessToURL loads the web content from the file the URL request object specifies and navigates to that content.

func (*WKWebView) LoadFileURLAllowingReadAccessToURL

func (wwv *WKWebView) LoadFileURLAllowingReadAccessToURL(url string, readAccessURL string) *WKNavigation

LoadFileURLAllowingReadAccessToURL loads the web content from the specified file and navigates to it.

func (*WKWebView) LoadHTMLStringBaseURL

func (wwv *WKWebView) LoadHTMLStringBaseURL(str string, baseURL string) *WKNavigation

LoadHTMLStringBaseURL loads the contents of the specified HTML string and navigates to it.

func (*WKWebView) LoadRequest

func (wwv *WKWebView) LoadRequest(request obj.Object) *WKNavigation

LoadRequest navigates to a requested URL.

func (*WKWebView) LoadSimulatedRequestResponseHTMLString

func (wwv *WKWebView) LoadSimulatedRequestResponseHTMLString(request obj.Object, str string) *WKNavigation

LoadSimulatedRequestResponseHTMLString loads the web content from the HTML you provide as if the HTML were the response to the request.

func (*WKWebView) LoadSimulatedRequestResponseResponseData

func (wwv *WKWebView) LoadSimulatedRequestResponseResponseData(request obj.Object, response obj.Object, data []byte) *WKNavigation

LoadSimulatedRequestResponseResponseData loads the web content from the data you provide as if the data were the response to the request.

func (*WKWebView) LoadSimulatedRequestWithResponseHTMLString

func (wwv *WKWebView) LoadSimulatedRequestWithResponseHTMLString(request obj.Object, str string) *WKNavigation

LoadSimulatedRequestWithResponseHTMLString loads simulated request with response HTML string.

func (*WKWebView) LoadSimulatedRequestWithResponseResponseData

func (wwv *WKWebView) LoadSimulatedRequestWithResponseResponseData(request obj.Object, response obj.Object, data []byte) *WKNavigation

LoadSimulatedRequestWithResponseResponseData loads simulated request with response response data.

func (*WKWebView) Magnification

func (wwv *WKWebView) Magnification() float64

Magnification returns the magnification.

func (*WKWebView) MaximumViewportInset

func (wwv *WKWebView) MaximumViewportInset() foundation.NSEdgeInsets

MaximumViewportInset returns the maximum viewport inset.

func (*WKWebView) MediaType

func (wwv *WKWebView) MediaType() string

MediaType returns the media type.

func (*WKWebView) MicrophoneCaptureState

func (wwv *WKWebView) MicrophoneCaptureState() WKMediaCaptureState

MicrophoneCaptureState returns the state of microphone capture on a web page.

func (*WKWebView) MinimumViewportInset

func (wwv *WKWebView) MinimumViewportInset() foundation.NSEdgeInsets

MinimumViewportInset returns the minimum viewport inset.

func (*WKWebView) ObscuredContentInsets

func (wwv *WKWebView) ObscuredContentInsets() foundation.NSEdgeInsets

ObscuredContentInsets returns the obscured content insets.

func (*WKWebView) PageZoom

func (wwv *WKWebView) PageZoom() float64

PageZoom returns the page zoom.

func (*WKWebView) PauseAllMediaPlayback

func (wwv *WKWebView) PauseAllMediaPlayback(completionHandler func())

PauseAllMediaPlayback pauses playback of all media in the web view.

func (*WKWebView) PauseAllMediaPlaybackWithCompletionHandler

func (wwv *WKWebView) PauseAllMediaPlaybackWithCompletionHandler(completionHandler func())

PauseAllMediaPlaybackWithCompletionHandler pauses playback of all media in the web view.

func (*WKWebView) PrintOperationWithPrintInfo

func (wwv *WKWebView) PrintOperationWithPrintInfo(printInfo obj.Object) obj.Object

PrintOperationWithPrintInfo returns the print operation object to use when printing the contents of the web view.

func (*WKWebView) Reload

func (wwv *WKWebView) Reload() *WKNavigation

Reload returns reloads the current webpage.

func (*WKWebView) Reload2

func (wwv *WKWebView) Reload2(sender obj.Object)

Reload2 reloads the current webpage.

func (*WKWebView) ReloadFromOrigin

func (wwv *WKWebView) ReloadFromOrigin() *WKNavigation

ReloadFromOrigin returns reloads the current webpage, and performs end-to-end revalidation of the content using cache-validating conditionals, if possible.

func (*WKWebView) ReloadFromOrigin2

func (wwv *WKWebView) ReloadFromOrigin2(sender obj.Object)

ReloadFromOrigin2 reloads the current webpage, and performs end-to-end revalidation of the content using cache-validating conditionals, if possible.

func (*WKWebView) RequestMediaPlaybackState

func (wwv *WKWebView) RequestMediaPlaybackState(completionHandler func(WKMediaPlaybackState))

RequestMediaPlaybackState requests the playback status of media in the web view.

func (*WKWebView) RequestMediaPlaybackStateWithCompletionHandler

func (wwv *WKWebView) RequestMediaPlaybackStateWithCompletionHandler(completionHandler func(WKMediaPlaybackState))

RequestMediaPlaybackStateWithCompletionHandler requests the playback status of media in the web view.

func (*WKWebView) RestoreDataCompletionHandler

func (wwv *WKWebView) RestoreDataCompletionHandler(data []byte, completionHandler func(unsafe.Pointer))

RestoreDataCompletionHandler wraps the corresponding Objective-C method.

func (*WKWebView) ResumeAllMediaPlayback

func (wwv *WKWebView) ResumeAllMediaPlayback(completionHandler func())

ResumeAllMediaPlayback resumes playback of all media in a web view.

func (*WKWebView) ResumeDownloadFromResumeDataCompletionHandler

func (wwv *WKWebView) ResumeDownloadFromResumeDataCompletionHandler(resumeData []byte, completionHandler func(obj.Object))

ResumeDownloadFromResumeDataCompletionHandler resumes a failed or canceled download.

func (*WKWebView) ServerTrust

func (wwv *WKWebView) ServerTrust() obj.Object

ServerTrust returns a SecTrustRef for the currently committed navigation.

func (*WKWebView) SetAllMediaPlaybackSuspendedCompletionHandler

func (wwv *WKWebView) SetAllMediaPlaybackSuspendedCompletionHandler(suspended bool, completionHandler func())

SetAllMediaPlaybackSuspendedCompletionHandler changes whether the webpage is suspending playback of all media in the page.

func (*WKWebView) SetCameraCaptureStateCompletionHandler

func (wwv *WKWebView) SetCameraCaptureStateCompletionHandler(state WKMediaCaptureState, completionHandler func())

SetCameraCaptureStateCompletionHandler changes whether the webpage is using the camera to capture images or video.

func (*WKWebView) SetMagnificationCenteredAtPoint

func (wwv *WKWebView) SetMagnificationCenteredAtPoint(magnification float64, point corefoundation.CGPoint)

SetMagnificationCenteredAtPoint scales the page content and centers the result on the specified point.

func (*WKWebView) SetMicrophoneCaptureStateCompletionHandler

func (wwv *WKWebView) SetMicrophoneCaptureStateCompletionHandler(state WKMediaCaptureState, completionHandler func())

SetMicrophoneCaptureStateCompletionHandler changes whether the webpage is using the microphone to capture audio.

func (*WKWebView) SetMinimumViewportInsetMaximumViewportInset

func (wwv *WKWebView) SetMinimumViewportInsetMaximumViewportInset(minimumViewportInset foundation.NSEdgeInsets, maximumViewportInset foundation.NSEdgeInsets)

SetMinimumViewportInsetMaximumViewportInset wraps the corresponding Objective-C method.

func (*WKWebView) StartDownloadUsingRequestCompletionHandler

func (wwv *WKWebView) StartDownloadUsingRequestCompletionHandler(request obj.Object, completionHandler func(obj.Object))

StartDownloadUsingRequestCompletionHandler starts to download the resource at the URL in the request.

func (*WKWebView) StopLoading

func (wwv *WKWebView) StopLoading()

StopLoading stops loading all resources on the current page.

func (*WKWebView) StopLoading2

func (wwv *WKWebView) StopLoading2(sender obj.Object)

StopLoading2 stops loading all resources on the current page.

func (*WKWebView) String added in v0.17.0

func (wwv *WKWebView) String() string

String returns the object's -description text, so a wrapper prints usefully under fmt.

func (*WKWebView) SuspendAllMediaPlayback

func (wwv *WKWebView) SuspendAllMediaPlayback(completionHandler func())

SuspendAllMediaPlayback changes whether the webpage is suspending playback of all media in the page.

func (*WKWebView) TakeSnapshotWithConfigurationCompletionHandler

func (wwv *WKWebView) TakeSnapshotWithConfigurationCompletionHandler(snapshotConfiguration *WKSnapshotConfiguration, completionHandler func(obj.Object, unsafe.Pointer))

TakeSnapshotWithConfigurationCompletionHandler generates a platform-native image from the web view’s contents asynchronously.

func (*WKWebView) ThemeColor

func (wwv *WKWebView) ThemeColor() obj.Object

ThemeColor returns the theme color.

func (*WKWebView) Title

func (wwv *WKWebView) Title() string

Title returns the page title.

func (*WKWebView) URL

func (wwv *WKWebView) URL() string

URL returns the active URL. This is the URL that should be reflected in the user interface.

func (*WKWebView) UnderPageBackgroundColor

func (wwv *WKWebView) UnderPageBackgroundColor() obj.Object

UnderPageBackgroundColor returns the under page background color.

func (*WKWebView) WithAllowsBackForwardNavigationGestures added in v0.17.0

func (wwv *WKWebView) WithAllowsBackForwardNavigationGestures(allowsBackForwardNavigationGestures bool) *WKWebView

WithAllowsBackForwardNavigationGestures sets a Boolean value that indicates whether horizontal swipe gestures trigger backward and forward page navigation.

func (*WKWebView) WithAllowsLinkPreview added in v0.17.0

func (wwv *WKWebView) WithAllowsLinkPreview(allowsLinkPreview bool) *WKWebView

WithAllowsLinkPreview sets a Boolean value that determines whether pressing a link displays a preview of the destination for the link.

func (*WKWebView) WithAllowsMagnification added in v0.17.0

func (wwv *WKWebView) WithAllowsMagnification(allowsMagnification bool) *WKWebView

WithAllowsMagnification sets a Boolean value that indicates whether magnify gestures change the web view’s magnification.

func (*WKWebView) WithCustomUserAgent added in v0.17.0

func (wwv *WKWebView) WithCustomUserAgent(customUserAgent string) *WKWebView

WithCustomUserAgent sets the custom user agent string.

func (*WKWebView) WithInspectable added in v0.17.0

func (wwv *WKWebView) WithInspectable(inspectable bool) *WKWebView

WithInspectable sets a Boolean value that indicates whether you can inspect the view with Safari Web Inspector.

func (*WKWebView) WithInteractionState added in v0.17.0

func (wwv *WKWebView) WithInteractionState(interactionState obj.Object) *WKWebView

WithInteractionState sets an object you use to capture the current state of interaction in a web view so that you can restore that state later to another web view.

func (*WKWebView) WithMagnification added in v0.17.0

func (wwv *WKWebView) WithMagnification(magnification float64) *WKWebView

WithMagnification sets the factor by which the page content is currently scaled.

func (*WKWebView) WithMediaType added in v0.17.0

func (wwv *WKWebView) WithMediaType(mediaType string) *WKWebView

WithMediaType sets the media type for the contents of the web view.

func (*WKWebView) WithNavigationDelegate added in v0.17.0

func (wwv *WKWebView) WithNavigationDelegate(navigationDelegate WKNavigationDelegate) *WKWebView

WithNavigationDelegate sets the object you use to manage navigation behavior for the web view.

func (*WKWebView) WithObscuredContentInsets added in v0.17.0

func (wwv *WKWebView) WithObscuredContentInsets(obscuredContentInsets foundation.NSEdgeInsets) *WKWebView

WithObscuredContentInsets sets the obscured content insets.

func (*WKWebView) WithPageZoom added in v0.17.0

func (wwv *WKWebView) WithPageZoom(pageZoom float64) *WKWebView

WithPageZoom sets the scale factor by which the web view scales content relative to its bounds.

func (*WKWebView) WithUIDelegate added in v0.17.0

func (wwv *WKWebView) WithUIDelegate(uiDelegate WKUIDelegate) *WKWebView

WithUIDelegate sets the object you use to integrate custom user interface elements, such as contextual menus or panels, into web view interactions.

func (*WKWebView) WithUnderPageBackgroundColor added in v0.17.0

func (wwv *WKWebView) WithUnderPageBackgroundColor(underPageBackgroundColor obj.Object) *WKWebView

WithUnderPageBackgroundColor sets the color the web view displays behind the active page, visible when the user scrolls beyond the bounds of the page.

type WKWebViewConfiguration

type WKWebViewConfiguration struct {
	objref.Handle
}

WKWebViewConfiguration is an idiomatic wrapper over the Objective-C class WKWebViewConfiguration.

A collection of properties that you use to initialize a web view.

func NewWKWebViewConfiguration added in v0.17.0

func NewWKWebViewConfiguration() *WKWebViewConfiguration

NewWKWebViewConfiguration creates a new WKWebViewConfiguration.

func WKWebViewConfigurationFromID

func WKWebViewConfigurationFromID(id objc.ID) *WKWebViewConfiguration

WKWebViewConfigurationFromID adopts an existing Objective-C object as a WKWebViewConfiguration (nil for 0), retaining it and registering a release finalizer.

func (*WKWebViewConfiguration) AllowsAirPlayForMediaPlayback

func (wwvc *WKWebViewConfiguration) AllowsAirPlayForMediaPlayback() bool

AllowsAirPlayForMediaPlayback reports whether airPlay is allowed. The default value is true.

func (*WKWebViewConfiguration) AllowsInlinePredictions

func (wwvc *WKWebViewConfiguration) AllowsInlinePredictions() bool

AllowsInlinePredictions reports whether inline predictions are allowed. The default value is `NO`. If false, inline predictions are disabled regardless of the system setting. If true, they are enabled based on the system setting.

func (*WKWebViewConfiguration) ApplicationNameForUserAgent

func (wwvc *WKWebViewConfiguration) ApplicationNameForUserAgent() string

ApplicationNameForUserAgent returns the name of the application as used in the user agent string.

func (*WKWebViewConfiguration) DefaultWebpagePreferences

func (wwvc *WKWebViewConfiguration) DefaultWebpagePreferences() *WKWebpagePreferences

DefaultWebpagePreferences returns the set of default webpage preferences to use when loading and rendering content. These default webpage preferences are additionally passed to the navigation delegate in -webView:decidePolicyForNavigationAction:preferences:decisionHandler:.

func (*WKWebViewConfiguration) Description added in v0.17.0

func (wwvc *WKWebViewConfiguration) Description() string

Description returns the object's -description text.

func (*WKWebViewConfiguration) IsEqual added in v0.17.0

func (wwvc *WKWebViewConfiguration) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*WKWebViewConfiguration) IsKind added in v0.17.0

func (wwvc *WKWebViewConfiguration) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*WKWebViewConfiguration) LimitsNavigationsToAppBoundDomains

func (wwvc *WKWebViewConfiguration) LimitsNavigationsToAppBoundDomains() bool

LimitsNavigationsToAppBoundDomains wraps the corresponding Objective-C method.

func (*WKWebViewConfiguration) MediaTypesRequiringUserActionForPlayback

func (wwvc *WKWebViewConfiguration) MediaTypesRequiringUserActionForPlayback() WKAudiovisualMediaTypes

MediaTypesRequiringUserActionForPlayback returns the media types requiring user action for playback.

func (*WKWebViewConfiguration) Preferences

func (wwvc *WKWebViewConfiguration) Preferences() *WKPreferences

Preferences returns the preference settings to be used by the web view.

func (*WKWebViewConfiguration) ProcessPool

func (wwvc *WKWebViewConfiguration) ProcessPool() *WKProcessPool

ProcessPool returns the process pool from which to obtain the view's web content process. When a web view is initialized, a new web content process will be created for it from the specified pool, or an existing process in that pool will be used.

func (*WKWebViewConfiguration) ShowsSystemScreenTimeBlockingView

func (wwvc *WKWebViewConfiguration) ShowsSystemScreenTimeBlockingView() bool

ShowsSystemScreenTimeBlockingView reports whether the System Screen Time blocking view should be shown. The default value is true.

func (*WKWebViewConfiguration) String added in v0.17.0

func (wwvc *WKWebViewConfiguration) String() string

String returns the object's -description text, so a wrapper prints usefully under fmt.

func (*WKWebViewConfiguration) SupportsAdaptiveImageGlyph

func (wwvc *WKWebViewConfiguration) SupportsAdaptiveImageGlyph() bool

SupportsAdaptiveImageGlyph reports whether insertion of adaptive image glyphs is allowed. The default value is `NO`. If `NO`, adaptive image glyphs are inserted as regular images. If `YES`, they are inserted with the full adaptive sizing behavior.

func (*WKWebViewConfiguration) SuppressesIncrementalRendering

func (wwvc *WKWebViewConfiguration) SuppressesIncrementalRendering() bool

SuppressesIncrementalRendering reports whether the web view suppresses content rendering until it is fully loaded into memory. The default value is false.

func (*WKWebViewConfiguration) UpgradeKnownHostsToHTTPS

func (wwvc *WKWebViewConfiguration) UpgradeKnownHostsToHTTPS() bool

UpgradeKnownHostsToHTTPS reports whether HTTP requests to servers known to support HTTPS should be automatically upgraded to HTTPS requests. The default value is true.

func (*WKWebViewConfiguration) UserContentController

func (wwvc *WKWebViewConfiguration) UserContentController() *WKUserContentController

UserContentController returns the user content controller to associate with the web view.

func (*WKWebViewConfiguration) UserInterfaceDirectionPolicy

func (wwvc *WKWebViewConfiguration) UserInterfaceDirectionPolicy() WKUserInterfaceDirectionPolicy

UserInterfaceDirectionPolicy returns the directionality of user interface elements. Possible values are described in WKUserInterfaceDirectionPolicy. The default value is WKUserInterfaceDirectionPolicyContent.

func (*WKWebViewConfiguration) WebExtensionController

func (wwvc *WKWebViewConfiguration) WebExtensionController() *WKWebExtensionController

WebExtensionController returns the web extension controller to associate with the web view.

func (*WKWebViewConfiguration) WebsiteDataStore

func (wwvc *WKWebViewConfiguration) WebsiteDataStore() *WKWebsiteDataStore

WebsiteDataStore returns the website data store to be used by the web view.

func (*WKWebViewConfiguration) WithAllowsAirPlayForMediaPlayback added in v0.17.0

func (wwvc *WKWebViewConfiguration) WithAllowsAirPlayForMediaPlayback(allowsAirPlayForMediaPlayback bool) *WKWebViewConfiguration

WithAllowsAirPlayForMediaPlayback sets a Boolean value that indicates whether the web view allows media playback over AirPlay.

func (*WKWebViewConfiguration) WithAllowsInlinePredictions added in v0.17.0

func (wwvc *WKWebViewConfiguration) WithAllowsInlinePredictions(allowsInlinePredictions bool) *WKWebViewConfiguration

WithAllowsInlinePredictions sets a Boolean value indicating whether inline predictions are allowed. The default value is `NO`. If false, inline predictions are disabled regardless of the system setting. If true, they are enabled based on the system setting.

func (*WKWebViewConfiguration) WithApplicationNameForUserAgent added in v0.17.0

func (wwvc *WKWebViewConfiguration) WithApplicationNameForUserAgent(applicationNameForUserAgent string) *WKWebViewConfiguration

WithApplicationNameForUserAgent sets the app name that appears in the user agent string.

func (*WKWebViewConfiguration) WithDefaultWebpagePreferences added in v0.17.0

func (wwvc *WKWebViewConfiguration) WithDefaultWebpagePreferences(defaultWebpagePreferences *WKWebpagePreferences) *WKWebViewConfiguration

WithDefaultWebpagePreferences sets the default preferences to use when loading and rendering content.

func (*WKWebViewConfiguration) WithLimitsNavigationsToAppBoundDomains added in v0.17.0

func (wwvc *WKWebViewConfiguration) WithLimitsNavigationsToAppBoundDomains(limitsNavigationsToAppBoundDomains bool) *WKWebViewConfiguration

WithLimitsNavigationsToAppBoundDomains sets a Boolean value that indicates whether the web view limits navigation to pages within the app’s domain.

func (*WKWebViewConfiguration) WithMediaTypesRequiringUserActionForPlayback added in v0.17.0

func (wwvc *WKWebViewConfiguration) WithMediaTypesRequiringUserActionForPlayback(mediaTypesRequiringUserActionForPlayback WKAudiovisualMediaTypes) *WKWebViewConfiguration

WithMediaTypesRequiringUserActionForPlayback sets the media types that require a user gesture to begin playing.

func (*WKWebViewConfiguration) WithPreferences added in v0.17.0

func (wwvc *WKWebViewConfiguration) WithPreferences(preferences *WKPreferences) *WKWebViewConfiguration

WithPreferences sets the object that manages the preference-related settings for the web view.

func (*WKWebViewConfiguration) WithProcessPool added in v0.17.0

func (wwvc *WKWebViewConfiguration) WithProcessPool(processPool *WKProcessPool) *WKWebViewConfiguration

WithProcessPool sets the object that coordinates the processes the web view uses to render its web content and execute scripts.

func (*WKWebViewConfiguration) WithShowsSystemScreenTimeBlockingView added in v0.17.0

func (wwvc *WKWebViewConfiguration) WithShowsSystemScreenTimeBlockingView(showsSystemScreenTimeBlockingView bool) *WKWebViewConfiguration

WithShowsSystemScreenTimeBlockingView sets a Boolean value indicating whether the System Screen Time blocking view should be shown. The default value is YES.

func (*WKWebViewConfiguration) WithSupportsAdaptiveImageGlyph added in v0.17.0

func (wwvc *WKWebViewConfiguration) WithSupportsAdaptiveImageGlyph(supportsAdaptiveImageGlyph bool) *WKWebViewConfiguration

WithSupportsAdaptiveImageGlyph sets a Boolean value indicating whether insertion of adaptive image glyphs is allowed. The default value is `NO`. If `NO`, adaptive image glyphs are inserted as regular images. If `YES`, they are inserted with the full adaptive sizing behavior.

func (*WKWebViewConfiguration) WithSuppressesIncrementalRendering added in v0.17.0

func (wwvc *WKWebViewConfiguration) WithSuppressesIncrementalRendering(suppressesIncrementalRendering bool) *WKWebViewConfiguration

WithSuppressesIncrementalRendering sets a Boolean value that indicates whether the web view suppresses content rendering until the content is fully loaded into memory.

func (*WKWebViewConfiguration) WithUpgradeKnownHostsToHTTPS added in v0.17.0

func (wwvc *WKWebViewConfiguration) WithUpgradeKnownHostsToHTTPS(upgradeKnownHostsToHTTPS bool) *WKWebViewConfiguration

WithUpgradeKnownHostsToHTTPS sets a Boolean value that indicates whether the web view should automatically upgrade supported HTTP requests to HTTPS.

func (*WKWebViewConfiguration) WithUserContentController added in v0.17.0

func (wwvc *WKWebViewConfiguration) WithUserContentController(userContentController *WKUserContentController) *WKWebViewConfiguration

WithUserContentController sets the object that coordinates interactions between your app’s native code and the webpage’s scripts and other content.

func (*WKWebViewConfiguration) WithUserInterfaceDirectionPolicy added in v0.17.0

func (wwvc *WKWebViewConfiguration) WithUserInterfaceDirectionPolicy(userInterfaceDirectionPolicy WKUserInterfaceDirectionPolicy) *WKWebViewConfiguration

WithUserInterfaceDirectionPolicy sets the directionality of user interface elements.

func (*WKWebViewConfiguration) WithWebExtensionController added in v0.17.0

func (wwvc *WKWebViewConfiguration) WithWebExtensionController(webExtensionController *WKWebExtensionController) *WKWebViewConfiguration

WithWebExtensionController sets the web extension controller to associate with the web view.

func (*WKWebViewConfiguration) WithWebsiteDataStore added in v0.17.0

func (wwvc *WKWebViewConfiguration) WithWebsiteDataStore(websiteDataStore *WKWebsiteDataStore) *WKWebViewConfiguration

WithWebsiteDataStore sets the object you use to get and set the site’s cookies and to track the cached data objects.

type WKWebViewDataType

type WKWebViewDataType uint64

Bitmask — values may be combined with |.

const (
	WKWebViewDataTypeSessionStorage WKWebViewDataType = 1
)

func (WKWebViewDataType) String

func (e WKWebViewDataType) String() string

String returns the WKWebViewDataType constant's name, or its numeric form when the value is not a known constant.

type WKWebpagePreferences

type WKWebpagePreferences struct {
	objref.Handle
}

WKWebpagePreferences is an idiomatic wrapper over the Objective-C class WKWebpagePreferences.

An object that specifies the behaviors to use when loading and rendering page content.

func NewWKWebpagePreferences added in v0.17.0

func NewWKWebpagePreferences() *WKWebpagePreferences

NewWKWebpagePreferences creates a new WKWebpagePreferences.

func WKWebpagePreferencesFromID

func WKWebpagePreferencesFromID(id objc.ID) *WKWebpagePreferences

WKWebpagePreferencesFromID adopts an existing Objective-C object as a WKWebpagePreferences (nil for 0), retaining it and registering a release finalizer.

func (*WKWebpagePreferences) AllowsContentJavaScript

func (wwp *WKWebpagePreferences) AllowsContentJavaScript() bool

AllowsContentJavaScript wraps the corresponding Objective-C method.

func (*WKWebpagePreferences) Description added in v0.17.0

func (wwp *WKWebpagePreferences) Description() string

Description returns the object's -description text.

func (*WKWebpagePreferences) IsEqual added in v0.17.0

func (wwp *WKWebpagePreferences) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*WKWebpagePreferences) IsKind added in v0.17.0

func (wwp *WKWebpagePreferences) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*WKWebpagePreferences) IsLockdownModeEnabled

func (wwp *WKWebpagePreferences) IsLockdownModeEnabled() bool

IsLockdownModeEnabled reports whether a boolean indicating whether lockdown mode is enabled. This mode trades off performance and compatibility in favor of security. The default value depends on the system setting.

func (*WKWebpagePreferences) PreferredContentMode

func (wwp *WKWebpagePreferences) PreferredContentMode() WKContentMode

PreferredContentMode returns a WKContentMode indicating the content mode to prefer when loading and rendering a webpage. The default value is WKContentModeRecommended. The stated preference is ignored on subframe navigation

func (*WKWebpagePreferences) PreferredHTTPSNavigationPolicy

func (wwp *WKWebpagePreferences) PreferredHTTPSNavigationPolicy() WKWebpagePreferencesUpgradeToHTTPSPolicy

PreferredHTTPSNavigationPolicy returns a WKWebpagePreferencesUpgradeToHTTPSPolicy indicating the desired mode used when performing a top-level navigation to a webpage. The default value is WKWebpagePreferencesUpgradeToHTTPSPolicyKeepAsRequested. The stated preference is ignored on subframe navigation, and it may be ignored based on system configuration. The upgradeKnownHostsToHTTPS property on WKWebViewConfiguration supercedes this policy for known hosts.

func (*WKWebpagePreferences) SecurityRestrictionMode

func (wwp *WKWebpagePreferences) SecurityRestrictionMode() WKSecurityRestrictionMode

SecurityRestrictionMode returns security restriction mode for this navigation. Security restriction modes provide different levels of security hardening for high-risk browsing contexts. WKSecurityRestrictionModeMaximizeCompatibility provides additional hardening while maintaining full web compatibility: - JavaScript JIT compilation disabled (interpreter-only execution) - Increased Memory Tagging Extension (MTE) coverage across allocations in the WebContent process Setting a security restriction mode creates separate, isolated WebContent processes for the specified protection level. This preference only applies to main frame navigations and will be ignored for subframe navigations. When set for a main frame, all subframe content and opened windows inherit the same security restrictions. When the system has chosen WKSecurityRestrictionModeLockdown (e.g., in Lockdown Mode), attempts to set a less restrictive mode will fail silently. The default value is WKSecurityRestrictionModeNone.

func (*WKWebpagePreferences) String added in v0.17.0

func (wwp *WKWebpagePreferences) String() string

String returns the object's -description text, so a wrapper prints usefully under fmt.

func (*WKWebpagePreferences) WithAllowsContentJavaScript added in v0.17.0

func (wwp *WKWebpagePreferences) WithAllowsContentJavaScript(allowsContentJavaScript bool) *WKWebpagePreferences

WithAllowsContentJavaScript sets a Boolean value that indicates whether JavaScript from web content is allowed to run.

func (*WKWebpagePreferences) WithLockdownModeEnabled added in v0.17.0

func (wwp *WKWebpagePreferences) WithLockdownModeEnabled(lockdownModeEnabled bool) *WKWebpagePreferences

WithLockdownModeEnabled sets a Boolean value that indicates whether to use Lockdown Mode in the web view.

func (*WKWebpagePreferences) WithPreferredContentMode added in v0.17.0

func (wwp *WKWebpagePreferences) WithPreferredContentMode(preferredContentMode WKContentMode) *WKWebpagePreferences

WithPreferredContentMode sets the content mode for the web view to use when it loads and renders a webpage.

func (*WKWebpagePreferences) WithPreferredHTTPSNavigationPolicy added in v0.17.0

func (wwp *WKWebpagePreferences) WithPreferredHTTPSNavigationPolicy(preferredHTTPSNavigationPolicy WKWebpagePreferencesUpgradeToHTTPSPolicy) *WKWebpagePreferences

WithPreferredHTTPSNavigationPolicy sets a WKWebpagePreferencesUpgradeToHTTPSPolicy indicating the desired mode used when performing a top-level navigation to a webpage. The default value is WKWebpagePreferencesUpgradeToHTTPSPolicyKeepAsRequested. The stated preference is ignored on subframe navigation, and it may be ignored based on system configuration. The upgradeKnownHostsToHTTPS property on WKWebViewConfiguration supercedes this policy for known hosts.

func (*WKWebpagePreferences) WithSecurityRestrictionMode added in v0.17.0

func (wwp *WKWebpagePreferences) WithSecurityRestrictionMode(securityRestrictionMode WKSecurityRestrictionMode) *WKWebpagePreferences

WithSecurityRestrictionMode sets security restriction mode for this navigation. Security restriction modes provide different levels of security hardening for high-risk browsing contexts. WKSecurityRestrictionModeMaximizeCompatibility provides additional hardening while maintaining full web compatibility: - JavaScript JIT compilation disabled (interpreter-only execution) - Increased Memory Tagging Extension (MTE) coverage across allocations in the WebContent process Setting a security restriction mode creates separate, isolated WebContent processes for the specified protection level. This preference only applies to main frame navigations and will be ignored for subframe navigations. When set for a main frame, all subframe content and opened windows inherit the same security restrictions. When the system has chosen WKSecurityRestrictionModeLockdown (e.g., in Lockdown Mode), attempts to set a less restrictive mode will fail silently. The default value is WKSecurityRestrictionModeNone.

type WKWebpagePreferencesUpgradeToHTTPSPolicy

type WKWebpagePreferencesUpgradeToHTTPSPolicy int64
const (
	WKWebpagePreferencesUpgradeToHTTPSPolicyKeepAsRequested            WKWebpagePreferencesUpgradeToHTTPSPolicy = 0
	WKWebpagePreferencesUpgradeToHTTPSPolicyAutomaticFallbackToHTTP    WKWebpagePreferencesUpgradeToHTTPSPolicy = 1
	WKWebpagePreferencesUpgradeToHTTPSPolicyUserMediatedFallbackToHTTP WKWebpagePreferencesUpgradeToHTTPSPolicy = 2
	WKWebpagePreferencesUpgradeToHTTPSPolicyErrorOnFailure             WKWebpagePreferencesUpgradeToHTTPSPolicy = 3
)

func (WKWebpagePreferencesUpgradeToHTTPSPolicy) String

String returns the WKWebpagePreferencesUpgradeToHTTPSPolicy constant's name, or its numeric form when the value is not a known constant.

type WKWebsiteDataRecord

type WKWebsiteDataRecord struct {
	objref.Handle
}

WKWebsiteDataRecord is an idiomatic wrapper over the Objective-C class WKWebsiteDataRecord.

A record of the data that a particular website stores persistently.

func NewWKWebsiteDataRecord added in v0.17.0

func NewWKWebsiteDataRecord() *WKWebsiteDataRecord

NewWKWebsiteDataRecord creates a new WKWebsiteDataRecord.

func WKWebsiteDataRecordFromID

func WKWebsiteDataRecordFromID(id objc.ID) *WKWebsiteDataRecord

WKWebsiteDataRecordFromID adopts an existing Objective-C object as a WKWebsiteDataRecord (nil for 0), retaining it and registering a release finalizer.

func (*WKWebsiteDataRecord) DataTypes

func (wwdr *WKWebsiteDataRecord) DataTypes() []string

DataTypes returns the various types of website data that exist for this data record. The order of the returned elements is unspecified.

func (*WKWebsiteDataRecord) Description added in v0.17.0

func (wwdr *WKWebsiteDataRecord) Description() string

Description returns the object's -description text.

func (*WKWebsiteDataRecord) DisplayName

func (wwdr *WKWebsiteDataRecord) DisplayName() string

DisplayName returns the display name for the data record. This is usually the domain name.

func (*WKWebsiteDataRecord) IsEqual added in v0.17.0

func (wwdr *WKWebsiteDataRecord) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*WKWebsiteDataRecord) IsKind added in v0.17.0

func (wwdr *WKWebsiteDataRecord) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*WKWebsiteDataRecord) String added in v0.17.0

func (wwdr *WKWebsiteDataRecord) String() string

String returns the object's -description text, so a wrapper prints usefully under fmt.

type WKWebsiteDataStore

type WKWebsiteDataStore struct {
	objref.Handle
}

WKWebsiteDataStore is an idiomatic wrapper over the Objective-C class WKWebsiteDataStore.

An object that manages cookies, disk and memory caches, and other types of data for a web view.

func DataStoreForIdentifier added in v0.17.0

func DataStoreForIdentifier(identifier obj.Object) *WKWebsiteDataStore

DataStoreForIdentifier returns the persistent data store with the unique identifier you provide.

func DefaultDataStore added in v0.17.0

func DefaultDataStore() *WKWebsiteDataStore

DefaultDataStore returns the default data store, which stores data persistently to disk.

func NewWKWebsiteDataStore added in v0.17.0

func NewWKWebsiteDataStore() *WKWebsiteDataStore

NewWKWebsiteDataStore creates a new WKWebsiteDataStore.

func NonPersistentDataStore added in v0.17.0

func NonPersistentDataStore() *WKWebsiteDataStore

NonPersistentDataStore creates a new data store object that stores website data in memory, and doesn’t write that data to disk.

func WKWebsiteDataStoreFromID

func WKWebsiteDataStoreFromID(id objc.ID) *WKWebsiteDataStore

WKWebsiteDataStoreFromID adopts an existing Objective-C object as a WKWebsiteDataStore (nil for 0), retaining it and registering a release finalizer.

func (*WKWebsiteDataStore) Description added in v0.17.0

func (wwds *WKWebsiteDataStore) Description() string

Description returns the object's -description text.

func (*WKWebsiteDataStore) FetchDataOfTypesCompletionHandler

func (wwds *WKWebsiteDataStore) FetchDataOfTypesCompletionHandler(dataTypes []string, completionHandler func(obj.Object, unsafe.Pointer))

FetchDataOfTypesCompletionHandler fetches data of types completion handler.

func (*WKWebsiteDataStore) FetchDataRecordsOfTypesCompletionHandler

func (wwds *WKWebsiteDataStore) FetchDataRecordsOfTypesCompletionHandler(dataTypes []string, completionHandler func(obj.Object))

FetchDataRecordsOfTypesCompletionHandler fetches the specified types of records from the data store.

func (*WKWebsiteDataStore) HTTPCookieStore added in v0.17.0

func (wwds *WKWebsiteDataStore) HTTPCookieStore() *WKHTTPCookieStore

HTTPCookieStore returns the cookie store representing HTTP cookies in this website data store.

func (*WKWebsiteDataStore) Identifier

func (wwds *WKWebsiteDataStore) Identifier() *foundation.UUID

Identifier get identifier for a data store. Returns nil for default and non-persistent data store .

func (*WKWebsiteDataStore) IsEqual added in v0.17.0

func (wwds *WKWebsiteDataStore) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*WKWebsiteDataStore) IsKind added in v0.17.0

func (wwds *WKWebsiteDataStore) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*WKWebsiteDataStore) IsPersistent

func (wwds *WKWebsiteDataStore) IsPersistent() bool

IsPersistent reports whether the data store is persistent or not.

func (*WKWebsiteDataStore) ProxyConfigurations

func (wwds *WKWebsiteDataStore) ProxyConfigurations() []obj.Object

ProxyConfigurations returns the proxy configurations.

ProxyConfigurations returns the collection as a Go slice.

func (*WKWebsiteDataStore) RemoveDataOfTypesForDataRecordsCompletionHandler

func (wwds *WKWebsiteDataStore) RemoveDataOfTypesForDataRecordsCompletionHandler(dataTypes []string, dataRecords []*WKWebsiteDataRecord, completionHandler func())

RemoveDataOfTypesForDataRecordsCompletionHandler removes the specified types of website data from one or more data records.

func (*WKWebsiteDataStore) RemoveDataOfTypesModifiedSinceCompletionHandler

func (wwds *WKWebsiteDataStore) RemoveDataOfTypesModifiedSinceCompletionHandler(dataTypes []string, date time.Time, completionHandler func())

RemoveDataOfTypesModifiedSinceCompletionHandler removes website data that changed after the specified date.

func (*WKWebsiteDataStore) RestoreDataCompletionHandler

func (wwds *WKWebsiteDataStore) RestoreDataCompletionHandler(data []byte, completionHandler func(unsafe.Pointer))

RestoreDataCompletionHandler wraps the corresponding Objective-C method.

func (*WKWebsiteDataStore) String added in v0.17.0

func (wwds *WKWebsiteDataStore) String() string

String returns the object's -description text, so a wrapper prints usefully under fmt.

func (*WKWebsiteDataStore) WithProxyConfigurations added in v0.17.0

func (wwds *WKWebsiteDataStore) WithProxyConfigurations(items ...obj.Object) *WKWebsiteDataStore

WithProxyConfigurations sets the proxy configurations.

type WKWindowFeatures

type WKWindowFeatures struct {
	objref.Handle
}

WKWindowFeatures is an idiomatic wrapper over the Objective-C class WKWindowFeatures.

Display-related attributes that a webpage requests for its window.

func NewWKWindowFeatures added in v0.17.0

func NewWKWindowFeatures() *WKWindowFeatures

NewWKWindowFeatures creates a new WKWindowFeatures.

func WKWindowFeaturesFromID

func WKWindowFeaturesFromID(id objc.ID) *WKWindowFeatures

WKWindowFeaturesFromID adopts an existing Objective-C object as a WKWindowFeatures (nil for 0), retaining it and registering a release finalizer.

func (*WKWindowFeatures) AllowsResizing

func (wwf *WKWindowFeatures) AllowsResizing() *foundation.Number

AllowsResizing returns BOOL. Whether the containing window should be resizable. nil if resizability was not specified.

func (*WKWindowFeatures) Description added in v0.17.0

func (wwf *WKWindowFeatures) Description() string

Description returns the object's -description text.

func (*WKWindowFeatures) Height

func (wwf *WKWindowFeatures) Height() *foundation.Number

Height returns CGFloat. The height coordinate of the containing window. nil if the height was not specified.

func (*WKWindowFeatures) IsEqual added in v0.17.0

func (wwf *WKWindowFeatures) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*WKWindowFeatures) IsKind added in v0.17.0

func (wwf *WKWindowFeatures) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*WKWindowFeatures) MenuBarVisibility

func (wwf *WKWindowFeatures) MenuBarVisibility() *foundation.Number

MenuBarVisibility returns BOOL. Whether the menu bar should be visible. nil if menu bar visibility was not specified.

func (*WKWindowFeatures) StatusBarVisibility

func (wwf *WKWindowFeatures) StatusBarVisibility() *foundation.Number

StatusBarVisibility returns BOOL. Whether the status bar should be visible. nil if status bar visibility was not specified.

func (*WKWindowFeatures) String added in v0.17.0

func (wwf *WKWindowFeatures) String() string

String returns the object's -description text, so a wrapper prints usefully under fmt.

func (*WKWindowFeatures) ToolbarsVisibility

func (wwf *WKWindowFeatures) ToolbarsVisibility() *foundation.Number

ToolbarsVisibility returns BOOL. Whether toolbars should be visible. nil if toolbar visibility was not specified.

func (*WKWindowFeatures) Width

func (wwf *WKWindowFeatures) Width() *foundation.Number

Width returns CGFloat. The width coordinate of the containing window. nil if the width was not specified.

func (*WKWindowFeatures) X

X returns CGFloat. The x coordinate of the containing window. nil if the x coordinate was not specified.

func (*WKWindowFeatures) Y

Y returns CGFloat. The y coordinate of the containing window. nil if the y coordinate was not specified.

type WebArchive

type WebArchive struct {
	objref.Handle
}

WebArchive is an idiomatic wrapper over the Objective-C class WebArchive.

A WebArchive object represents a webpage that can be archived—for example, archived on disk or on the pasteboard. A WebArchive object contains the main resource, as well as the subresources and subframes of the main resource. The main resource can be an entire webpage, a portion of a webpage, or some other kind of data such as an image. Use this class to archive webpages, or place a portion of a webpage on the pasteboard, or to represent rich web content in any application.

func NewWebArchiveWithData added in v0.17.0

func NewWebArchiveWithData(data []byte) *WebArchive

NewWebArchiveWithData initializes and returns the receiver, specifying the initial content data.

func NewWebArchiveWithMainResourceSubresourcesSubframeArchives added in v0.17.0

func NewWebArchiveWithMainResourceSubresourcesSubframeArchives(mainResource *WebResource, subresources obj.Object, subframeArchives obj.Object) *WebArchive

NewWebArchiveWithMainResourceSubresourcesSubframeArchives initializes the receiver with a resource and optional subresources and subframe archives..

func WebArchiveFromID

func WebArchiveFromID(id objc.ID) *WebArchive

WebArchiveFromID adopts an existing Objective-C object as a WebArchive (nil for 0), retaining it and registering a release finalizer.

func (*WebArchive) Data

func (wa *WebArchive) Data() []byte

Data returns the data representation of the archive. The data returned by this method can be used to save a web archive to a file or to place a web archive on the pasteboard using WebArchivePboardType. To create a WebArchive using the returned data, call initWithData:.

func (*WebArchive) Description added in v0.17.0

func (wa *WebArchive) Description() string

Description returns the object's -description text.

func (*WebArchive) IsEqual added in v0.17.0

func (wa *WebArchive) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*WebArchive) IsKind added in v0.17.0

func (wa *WebArchive) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*WebArchive) MainResource

func (wa *WebArchive) MainResource() *WebResource

MainResource returns the main resource of the archive.

func (*WebArchive) String added in v0.17.0

func (wa *WebArchive) String() string

String returns the object's -description text, so a wrapper prints usefully under fmt.

func (*WebArchive) SubframeArchives

func (wa *WebArchive) SubframeArchives() obj.Object

SubframeArchives returns the archives representing the subframes of the archive (can be nil).

func (*WebArchive) Subresources

func (wa *WebArchive) Subresources() obj.Object

Subresources returns the subresource of the archive (can be nil).

type WebBackForwardList

type WebBackForwardList struct {
	objref.Handle
}

WebBackForwardList is an idiomatic wrapper over the Objective-C class WebBackForwardList.

A WebBackForwardList object maintains a list of visited pages used to go back and forward to the most recent page. A WebBackForwardList object maintains only the list data—it does not perform actual page loads (in other words, it does not make any client requests). If you need to perform a page load, see the loadRequest: method in WebFrame to find out how to do this.

func NewWebBackForwardList added in v0.17.0

func NewWebBackForwardList() *WebBackForwardList

NewWebBackForwardList creates a new WebBackForwardList.

func WebBackForwardListFromID

func WebBackForwardListFromID(id objc.ID) *WebBackForwardList

WebBackForwardListFromID adopts an existing Objective-C object as a WebBackForwardList (nil for 0), retaining it and registering a release finalizer.

func (*WebBackForwardList) AddItem

func (wbfl *WebBackForwardList) AddItem(item *WebHistoryItem)

AddItem inserts an item into the back-forward list, immediately after the current item.

func (*WebBackForwardList) BackItem

func (wbfl *WebBackForwardList) BackItem() *WebHistoryItem

BackItem returns the entry right before the current entry, or nil if there isn't one.

func (*WebBackForwardList) BackListCount

func (wbfl *WebBackForwardList) BackListCount() int

BackListCount returns the number of items in the list.

func (*WebBackForwardList) BackListWithLimit

func (wbfl *WebBackForwardList) BackListWithLimit(limit int) obj.Object

BackListWithLimit returns the items that precede the current item in the back-forward list, up to the specified number of items.

func (*WebBackForwardList) Capacity

func (wbfl *WebBackForwardList) Capacity() int

Capacity returns the list's maximum size.

func (*WebBackForwardList) ContainsItem

func (wbfl *WebBackForwardList) ContainsItem(item *WebHistoryItem) bool

ContainsItem returns a Boolean value indicating whether the back-forward list contains the specified item.

func (*WebBackForwardList) CurrentItem

func (wbfl *WebBackForwardList) CurrentItem() *WebHistoryItem

CurrentItem returns the current entry.

func (*WebBackForwardList) Description added in v0.17.0

func (wbfl *WebBackForwardList) Description() string

Description returns the object's -description text.

func (*WebBackForwardList) ForwardItem

func (wbfl *WebBackForwardList) ForwardItem() *WebHistoryItem

ForwardItem returns the entry right after the current entry, or nil if there isn't one.

func (*WebBackForwardList) ForwardListCount

func (wbfl *WebBackForwardList) ForwardListCount() int

ForwardListCount returns the forward list count.

func (*WebBackForwardList) ForwardListWithLimit

func (wbfl *WebBackForwardList) ForwardListWithLimit(limit int) obj.Object

ForwardListWithLimit returns the items that follow the current item in the back-forward list, up to the specified number of items.

func (*WebBackForwardList) GoBack

func (wbfl *WebBackForwardList) GoBack()

GoBack moves backward one item in the back-forward list.

func (*WebBackForwardList) GoForward

func (wbfl *WebBackForwardList) GoForward()

GoForward moves forward one item in the back-forward list.

func (*WebBackForwardList) GoToItem

func (wbfl *WebBackForwardList) GoToItem(item *WebHistoryItem)

GoToItem makes the specified item in the back-forward list the current item.

func (*WebBackForwardList) IsEqual added in v0.17.0

func (wbfl *WebBackForwardList) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*WebBackForwardList) IsKind added in v0.17.0

func (wbfl *WebBackForwardList) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*WebBackForwardList) ItemAtIndex

func (wbfl *WebBackForwardList) ItemAtIndex(index int) *WebHistoryItem

ItemAtIndex returns the item at the specified index in the back-forward list.

func (*WebBackForwardList) PageCacheSize

func (wbfl *WebBackForwardList) PageCacheSize() int

PageCacheSize returns the maximum number of pages that the receiver can cache.

func (*WebBackForwardList) SetPageCacheSize

func (wbfl *WebBackForwardList) SetPageCacheSize(size int)

SetPageCacheSize sets the maximum number of pages the receiver can cache.

func (*WebBackForwardList) String added in v0.17.0

func (wbfl *WebBackForwardList) String() string

String returns the object's -description text, so a wrapper prints usefully under fmt.

func (*WebBackForwardList) WithCapacity added in v0.17.0

func (wbfl *WebBackForwardList) WithCapacity(capacity int) *WebBackForwardList

WithCapacity sets the maximum number of items that the back-forward list can contain.

type WebCacheModel

type WebCacheModel uint64

Specifies the caching model for a web view.

const (
	// Releases resources when they are no longer referenced and caches remote resources on disk. This model is appropriate for displaying a static document with no navigation user interface. This is the most memory-efficient model.
	WebCacheModelDocumentViewer WebCacheModel = 0
	// Caches a reasonable number of resources and previously viewed documents in memory and on disk. This model is appropriate for displaying and navigating between multiple documents.
	WebCacheModelDocumentBrowser WebCacheModel = 1
	// Caches a large number of resources and previously viewed documents in memory and on disk. This model is appropriate for a web view that behaves like a web browser.
	WebCacheModelPrimaryWebBrowser WebCacheModel = 2
)

func (WebCacheModel) String

func (e WebCacheModel) String() string

String returns the WebCacheModel constant's name, or its numeric form when the value is not a known constant.

type WebDataSource

type WebDataSource struct {
	objref.Handle
}

WebDataSource is an idiomatic wrapper over the Objective-C class WebDataSource.

WebDataSource encapsulates the web content to be displayed in a web frame view. A WebDataSource object has a representation object, conforming to the WebDocumentRepresentation protocol, that holds the data in an appropriate format depending on the MIME type. You can extend WebKit to support new MIME types by implementing your own view and representation classes, and specifying the mapping between them using the registerViewClass:representationClass:forMIMEType: WebView class method.

func NewWebDataSource added in v0.17.0

func NewWebDataSource() *WebDataSource

NewWebDataSource creates a new WebDataSource.

func NewWebDataSourceWithRequest added in v0.17.0

func NewWebDataSourceWithRequest(request obj.Object) *WebDataSource

NewWebDataSourceWithRequest initializes a data source with a URL request.

func WebDataSourceFromID

func WebDataSourceFromID(id objc.ID) *WebDataSource

WebDataSourceFromID adopts an existing Objective-C object as a WebDataSource (nil for 0), retaining it and registering a release finalizer.

func (*WebDataSource) AddSubresource

func (wds *WebDataSource) AddSubresource(subresource *WebResource)

AddSubresource adds a resource to the data source’s list of subresources.

func (*WebDataSource) Data

func (wds *WebDataSource) Data() []byte

Data returns the raw data associated with the datasource. Returns nil if the datasource hasn't loaded any data. The data will be incomplete until the datasource has completely loaded.

func (*WebDataSource) Description added in v0.17.0

func (wds *WebDataSource) Description() string

Description returns the object's -description text.

func (*WebDataSource) IsEqual added in v0.17.0

func (wds *WebDataSource) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*WebDataSource) IsKind added in v0.17.0

func (wds *WebDataSource) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*WebDataSource) IsLoading

func (wds *WebDataSource) IsLoading() bool

IsLoading reports whether there are any pending loads.

func (*WebDataSource) MainResource

func (wds *WebDataSource) MainResource() *WebResource

MainResource returns a WebResource representing the data source.

func (*WebDataSource) PageTitle

func (wds *WebDataSource) PageTitle() string

PageTitle returns the page title or nil.

func (*WebDataSource) Request

func (wds *WebDataSource) Request() *foundation.MutableURLRequest

Request returns the request that was used to create this datasource.

func (*WebDataSource) Response

func (wds *WebDataSource) Response() *foundation.URLResponse

Response returns the NSURLResponse for the data source.

func (*WebDataSource) String added in v0.17.0

func (wds *WebDataSource) String() string

String returns the object's -description text, so a wrapper prints usefully under fmt.

func (*WebDataSource) SubresourceForURL

func (wds *WebDataSource) SubresourceForURL(url string) *WebResource

SubresourceForURL returns a subresource for the given URL.

func (*WebDataSource) Subresources

func (wds *WebDataSource) Subresources() obj.Object

Subresources returns all the subresources associated with the data source.

func (*WebDataSource) TextEncodingName

func (wds *WebDataSource) TextEncodingName() string

TextEncodingName returns either the override encoding, as set on the WebView for this dataSource or the encoding from the response.

func (*WebDataSource) UnreachableURL

func (wds *WebDataSource) UnreachableURL() string

UnreachableURL returns the unreachableURL for which this dataSource is showing alternate content, or nil. This will be non-nil only for dataSources created by calls to the WebFrame method loadAlternateHTMLString:baseURL:forUnreachableURL:.

func (*WebDataSource) WebArchive

func (wds *WebDataSource) WebArchive() *WebArchive

WebArchive returns a WebArchive representing the data source, its subresources and child frames.

func (*WebDataSource) WebFrame

func (wds *WebDataSource) WebFrame() *WebFrame

WebFrame returns the frame that represents this data source.

type WebDocumentRepresentation

type WebDocumentRepresentation interface {
	SetDataSource(dataSource *WebDataSource)
	ReceivedDataWithDataSource(data []byte, dataSource *WebDataSource)
	ReceivedErrorWithDataSource(err unsafe.Pointer, dataSource *WebDataSource)
	FinishedLoadingWithDataSource(dataSource *WebDataSource)
	CanProvideDocumentSource() bool
	DocumentSource() string
	Title() string
}

WebDocumentRepresentation is the Go form of the Objective-C protocol WebDocumentRepresentation.

type WebDocumentSearching

type WebDocumentSearching interface {
	SearchForDirectionCaseSensitiveWrap(str string, forward bool, caseFlag bool, wrapFlag bool) bool
}

WebDocumentSearching is the Go form of the Objective-C protocol WebDocumentSearching.

type WebDocumentText

type WebDocumentText interface {
	SupportsTextEncoding() bool
	String() string
	AttributedString() *foundation.AttributedString
	SelectedString() string
	SelectedAttributedString() *foundation.AttributedString
	SelectAll()
	DeselectAll()
}

WebDocumentText is the Go form of the Objective-C protocol WebDocumentText.

type WebDocumentView

type WebDocumentView interface {
}

WebDocumentView is the Go form of the Objective-C protocol WebDocumentView.

type WebDownload

type WebDownload struct {
	objref.Handle
}

WebDownload is an idiomatic wrapper over the Objective-C class WebDownload.

WebDownload objects initiate download client requests on behalf of a delegate. A download request involves loading the data, decoding it (if necessary), and saving it to a file. Instances of this class behave similar to NSURLDownload except delegates of WebDownload may implement an additional delegate method. The method allows the delegate to specify the window to be used for authentication sheets. If the delegate does not implement this method, the WebDownload object will prompt the user for authentication using the standard WebKit authentication panel, as either a sheet or window. There are no additional methods defined in this class. See WebDownloadDelegate for the delegate method.

func NewWebDownload added in v0.17.0

func NewWebDownload() *WebDownload

NewWebDownload creates a new WebDownload.

func WebDownloadFromID

func WebDownloadFromID(id objc.ID) *WebDownload

WebDownloadFromID adopts an existing Objective-C object as a WebDownload (nil for 0), retaining it and registering a release finalizer.

func (*WebDownload) Description added in v0.17.0

func (wd *WebDownload) Description() string

Description returns the object's -description text.

func (*WebDownload) IsEqual added in v0.17.0

func (wd *WebDownload) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*WebDownload) IsKind added in v0.17.0

func (wd *WebDownload) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*WebDownload) String added in v0.17.0

func (wd *WebDownload) String() string

String returns the object's -description text, so a wrapper prints usefully under fmt.

type WebDownloadDelegate

type WebDownloadDelegate interface {
}

WebDownloadDelegate is the Go form of the Objective-C protocol WebDownloadDelegate.

type WebDragDestinationAction

type WebDragDestinationAction uint64

Actions that the destination object of a drag operation can perform. Bitmask — values may be combined with |.

const (
	// No action.
	WebDragDestinationActionNone WebDragDestinationAction = 0
	// Allows DHTML (such as JavaScript) to handle the drag.
	WebDragDestinationActionDHTML WebDragDestinationAction = 1
	// Allows editable documents to be changed by the drag operation.
	WebDragDestinationActionEdit WebDragDestinationAction = 2
	// Allows the drag operation to change the location.
	WebDragDestinationActionLoad WebDragDestinationAction = 4
	// Allows any defined action to occur.
	WebDragDestinationActionAny WebDragDestinationAction = 4294967295
)

func (WebDragDestinationAction) String

func (e WebDragDestinationAction) String() string

String returns the WebDragDestinationAction constant's name, or its numeric form when the value is not a known constant.

type WebDragSourceAction

type WebDragSourceAction uint64

Actions that the source object of a drag operation can perform. Bitmask — values may be combined with |.

const (
	// No action.
	WebDragSourceActionNone WebDragSourceAction = 0
	// Allows DHTML (such as JavaScript) in the source object to initiate a drag operation.
	WebDragSourceActionDHTML WebDragSourceAction = 1
	// Allows the user to drag an image in the source object.
	WebDragSourceActionImage WebDragSourceAction = 2
	// Allows the user to drag a link in the source object.
	WebDragSourceActionLink WebDragSourceAction = 4
	// Allows the user to drag a selection in the source object.
	WebDragSourceActionSelection WebDragSourceAction = 8
	// Allows any defined action to occur.
	WebDragSourceActionAny WebDragSourceAction = 4294967295
)

func (WebDragSourceAction) String

func (e WebDragSourceAction) String() string

String returns the WebDragSourceAction constant's name, or its numeric form when the value is not a known constant.

type WebEditingDelegate

type WebEditingDelegate interface {
}

WebEditingDelegate is the Go form of the Objective-C protocol WebEditingDelegate.

type WebFrame

type WebFrame struct {
	objref.Handle
}

WebFrame is an idiomatic wrapper over the Objective-C class WebFrame.

A WebFrame object encapsulates the data displayed in a WebFrameView object. There is one WebFrame object per frame displayed in a WebView. An entire webpage is represented by a hierarchy of WebFrame objects in which the root object is called the main frame.

func NewWebFrameWithNameWebFrameViewWebView added in v0.17.0

func NewWebFrameWithNameWebFrameViewWebView(name string, view *WebFrameView, webView *WebView) *WebFrame

NewWebFrameWithNameWebFrameViewWebView initializes the receiver with a frame name, web frame view, and controlling web view.

func WebFrameFromID

func WebFrameFromID(id objc.ID) *WebFrame

WebFrameFromID adopts an existing Objective-C object as a WebFrame (nil for 0), retaining it and registering a release finalizer.

func (*WebFrame) ChildFrames

func (wf *WebFrame) ChildFrames() obj.Object

ChildFrames returns an array of WebFrame. The frames in the array are associated with a frame set or iframe.

func (*WebFrame) DOMDocument

func (wf *WebFrame) DOMDocument() *DOMDocument

DOMDocument returns the DOM document of the frame.

func (*WebFrame) DataSource

func (wf *WebFrame) DataSource() *WebDataSource

DataSource returns the datasource for this frame. Returns the committed data source. Will return nil if the provisional data source hasn't yet been loaded.

func (*WebFrame) Description added in v0.17.0

func (wf *WebFrame) Description() string

Description returns the object's -description text.

func (*WebFrame) FindFrameNamed

func (wf *WebFrame) FindFrameNamed(name string) *WebFrame

FindFrameNamed returns a web frame that matches the given name.

func (*WebFrame) FrameElement

func (wf *WebFrame) FrameElement() *DOMHTMLElement

FrameElement returns the frame element of the frame.

func (*WebFrame) FrameView

func (wf *WebFrame) FrameView() *WebFrameView

FrameView returns the WebFrameView for this frame.

func (*WebFrame) GlobalContext

func (wf *WebFrame) GlobalContext() obj.Object

GlobalContext returns the frame's global JavaScript execution context. Use this method to bridge between the WebKit and JavaScriptCore APIs.

func (*WebFrame) IsEqual added in v0.17.0

func (wf *WebFrame) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*WebFrame) IsKind added in v0.17.0

func (wf *WebFrame) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*WebFrame) JavaScriptContext

func (wf *WebFrame) JavaScriptContext() obj.Object

JavaScriptContext returns the frame's global JavaScript execution context. Use this method to bridge between the WebKit and Objective-C JavaScriptCore API.

func (*WebFrame) LoadAlternateHTMLStringBaseURLForUnreachableURL

func (wf *WebFrame) LoadAlternateHTMLStringBaseURLForUnreachableURL(str string, baseURL string, unreachableURL string)

LoadAlternateHTMLStringBaseURLForUnreachableURL loads alternate content for a frame whose URL is unreachable.

func (*WebFrame) LoadArchive

func (wf *WebFrame) LoadArchive(archive *WebArchive)

LoadArchive loads an archive into the web frame.

func (*WebFrame) LoadDataMIMETypeTextEncodingNameBaseURL

func (wf *WebFrame) LoadDataMIMETypeTextEncodingNameBaseURL(data []byte, mimeType string, encodingName string, url string)

LoadDataMIMETypeTextEncodingNameBaseURL sets the main page contents, MIME type, content encoding, and base URL.

func (*WebFrame) LoadHTMLStringBaseURL

func (wf *WebFrame) LoadHTMLStringBaseURL(str string, url string)

LoadHTMLStringBaseURL sets the main page contents and base URL.

func (*WebFrame) LoadRequest

func (wf *WebFrame) LoadRequest(request obj.Object)

LoadRequest connects to a given URL by initiating an asynchronous client request.

func (*WebFrame) Name

func (wf *WebFrame) Name() string

Name returns the frame name.

func (*WebFrame) ParentFrame

func (wf *WebFrame) ParentFrame() *WebFrame

ParentFrame returns the frame containing this frame, or nil if this is a top level frame.

func (*WebFrame) ProvisionalDataSource

func (wf *WebFrame) ProvisionalDataSource() *WebDataSource

ProvisionalDataSource returns the provisional datasource of this frame. Will return the provisional data source. The provisional data source will be nil if no data source has been set on the frame, or the data source has successfully transitioned to the committed data source.

func (*WebFrame) Reload

func (wf *WebFrame) Reload()

Reload reloads the initial request passed as an argument to loadRequest:.

func (*WebFrame) ReloadFromOrigin

func (wf *WebFrame) ReloadFromOrigin()

ReloadFromOrigin performs an end-to-end revalidation using cache-validating conditionals if possible.

func (*WebFrame) StopLoading

func (wf *WebFrame) StopLoading()

StopLoading stops any pending loads on the receiver’s data source, and those of its children.

func (*WebFrame) String added in v0.17.0

func (wf *WebFrame) String() string

String returns the object's -description text, so a wrapper prints usefully under fmt.

func (*WebFrame) WebView

func (wf *WebFrame) WebView() *WebView

WebView returns the WebView for the document that includes this frame.

func (*WebFrame) WindowObject

func (wf *WebFrame) WindowObject() *WebScriptObject

WindowObject returns the WebScriptObject representing the frame's JavaScript window object.

type WebFrameLoadDelegate

type WebFrameLoadDelegate interface {
}

WebFrameLoadDelegate is the Go form of the Objective-C protocol WebFrameLoadDelegate.

type WebFrameView

type WebFrameView struct {
	objref.Handle
}

WebFrameView is an idiomatic wrapper over the Objective-C class WebFrameView.

WebFrameView objects and their subviews display the web content contained in a frame. You never create instances of WebFrameView directly—WebView objects create and manage a hierarchy of WebFrameView objects, one for each frame. WebFrameView objects use a scroll view whose document view conforms to the WebDocumentView protocol.

func NewWebFrameView added in v0.17.0

func NewWebFrameView() *WebFrameView

NewWebFrameView creates a new WebFrameView.

func WebFrameViewFromID

func WebFrameViewFromID(id objc.ID) *WebFrameView

WebFrameViewFromID adopts an existing Objective-C object as a WebFrameView (nil for 0), retaining it and registering a release finalizer.

func (*WebFrameView) AllowsScrolling

func (wfv *WebFrameView) AllowsScrolling() bool

AllowsScrolling reports whether the WebFrameView allows its document to be scrolled

func (*WebFrameView) CanPrintHeadersAndFooters

func (wfv *WebFrameView) CanPrintHeadersAndFooters() bool

CanPrintHeadersAndFooters reports whether this frame can print headers and footers

func (*WebFrameView) Description added in v0.17.0

func (wfv *WebFrameView) Description() string

Description returns the object's -description text.

func (*WebFrameView) DocumentView

func (wfv *WebFrameView) DocumentView() obj.Object

DocumentView returns the WebFrameView's document subview The subview that renders the WebFrameView's contents

func (*WebFrameView) DocumentViewShouldHandlePrint

func (wfv *WebFrameView) DocumentViewShouldHandlePrint() bool

DocumentViewShouldHandlePrint reports whether called by the host application before it initializes and runs a print operation. If false is returned, the host application will abort its print operation and call -printDocumentView on the WebFrameView. The document view is then expected to run its own print operation. If true is returned, the host application's print operation will continue as normal.

func (*WebFrameView) IsEqual added in v0.17.0

func (wfv *WebFrameView) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*WebFrameView) IsKind added in v0.17.0

func (wfv *WebFrameView) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*WebFrameView) PrintDocumentView

func (wfv *WebFrameView) PrintDocumentView()

PrintDocumentView prints the receiver.

func (*WebFrameView) PrintOperationWithPrintInfo

func (wfv *WebFrameView) PrintOperationWithPrintInfo(printInfo obj.Object) obj.Object

PrintOperationWithPrintInfo returns a print operation object to print this frame.

func (*WebFrameView) String added in v0.17.0

func (wfv *WebFrameView) String() string

String returns the object's -description text, so a wrapper prints usefully under fmt.

func (*WebFrameView) WebFrame

func (wfv *WebFrameView) WebFrame() *WebFrame

WebFrame returns the WebFrame associated with this WebFrameView

func (*WebFrameView) WithAllowsScrolling added in v0.17.0

func (wfv *WebFrameView) WithAllowsScrolling(allowsScrolling bool) *WebFrameView

WithAllowsScrolling sets a Boolean that indicates whether the frame view should allow users to scroll.

type WebHistory

type WebHistory struct {
	objref.Handle
}

WebHistory is an idiomatic wrapper over the Objective-C class WebHistory.

WebHistory objects are used to maintain the pages visited by users. Visited pages are represented by WebHistoryItem objects. You add and remove history items using the addItems: and removeItems: methods. These methods post appropriate notifications when items are added or removed so you can update the display. WebHistory organizes the WebHistoryItem objects by the day they were visited, ordered from most recent to oldest. You can request all the days that contain history items using the orderedLastVisitedDays method or request the items visited on a particular day using the orderedItemsLastVisitedOnDay: method. WebHistory objects can be loaded and saved by specifying a file URL (see loadFromURL:error:).

func NewWebHistory added in v0.17.0

func NewWebHistory() *WebHistory

NewWebHistory creates a new WebHistory.

func OptionalSharedHistory added in v0.17.0

func OptionalSharedHistory() *WebHistory

OptionalSharedHistory returns a shared web history object, if one exists.

func WebHistoryFromID

func WebHistoryFromID(id objc.ID) *WebHistory

WebHistoryFromID adopts an existing Objective-C object as a WebHistory (nil for 0), retaining it and registering a release finalizer.

func (*WebHistory) AddItems

func (wh *WebHistory) AddItems(newItems obj.Object)

AddItems inserts or updates the specified items in the web history.

func (*WebHistory) Description added in v0.17.0

func (wh *WebHistory) Description() string

Description returns the object's -description text.

func (*WebHistory) HistoryAgeInDaysLimit

func (wh *WebHistory) HistoryAgeInDaysLimit() int

HistoryAgeInDaysLimit returns the maximum number of days to be read from stored history.

func (*WebHistory) HistoryItemLimit

func (wh *WebHistory) HistoryItemLimit() int

HistoryItemLimit returns the maximum number of items that will be stored by the WebHistory.

func (*WebHistory) IsEqual added in v0.17.0

func (wh *WebHistory) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*WebHistory) IsKind added in v0.17.0

func (wh *WebHistory) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*WebHistory) ItemForURL

func (wh *WebHistory) ItemForURL(url string) *WebHistoryItem

ItemForURL returns the web history item that corresponds to the specified web location.

func (*WebHistory) LoadFromURL added in v0.17.0

func (wh *WebHistory) LoadFromURL(url string) error

LoadFromURL loads the contents of the specified web history file.

func (*WebHistory) OrderedItemsLastVisitedOnDay

func (wh *WebHistory) OrderedItemsLastVisitedOnDay(calendarDate obj.Object) obj.Object

OrderedItemsLastVisitedOnDay returns web history items that were last visited on the specified date.

func (*WebHistory) OrderedLastVisitedDays

func (wh *WebHistory) OrderedLastVisitedDays() obj.Object

OrderedLastVisitedDays returns an array of NSCalendarDates for which history items exist in the WebHistory. An array of NSCalendarDates, each one representing a unique day that contains one or more history items, ordered from most recent to oldest.

func (*WebHistory) RemoveAllItems

func (wh *WebHistory) RemoveAllItems()

RemoveAllItems removes all items from the web history.

func (*WebHistory) RemoveItems

func (wh *WebHistory) RemoveItems(items obj.Object)

RemoveItems removes the specified items from the web history.

func (*WebHistory) SaveToURL added in v0.17.0

func (wh *WebHistory) SaveToURL(url string) error

SaveToURL saves the web history to the specified file.

func (*WebHistory) String added in v0.17.0

func (wh *WebHistory) String() string

String returns the object's -description text, so a wrapper prints usefully under fmt.

func (*WebHistory) WithHistoryAgeInDaysLimit added in v0.17.0

func (wh *WebHistory) WithHistoryAgeInDaysLimit(historyAgeInDaysLimit int) *WebHistory

WithHistoryAgeInDaysLimit sets the maximum age of web history items that can be retrieved.

func (*WebHistory) WithHistoryItemLimit added in v0.17.0

func (wh *WebHistory) WithHistoryItemLimit(historyItemLimit int) *WebHistory

WithHistoryItemLimit sets the maximum number of web history items that can be stored.

type WebHistoryItem

type WebHistoryItem struct {
	objref.Handle
}

WebHistoryItem is an idiomatic wrapper over the Objective-C class WebHistoryItem.

WebHistoryItem objects encapsulate information about visiting a page so that users can return to that page. WebHistory and WebBackForwardList objects manage lists of WebHistoryItem objects. WebHistoryItem objects are created and added to these lists automatically when loading pages, so you do not need to create WebHistoryItem objects directly.

func NewWebHistoryItemWithURLStringTitleLastVisitedTimeInterval added in v0.17.0

func NewWebHistoryItemWithURLStringTitleLastVisitedTimeInterval(urlString string, title string, time_ float64) *WebHistoryItem

NewWebHistoryItemWithURLStringTitleLastVisitedTimeInterval initializes the receiver with a URL,URLString, a title specified by title and the last time this item was visited specified by time title, and time last visited.

func WebHistoryItemFromID

func WebHistoryItemFromID(id objc.ID) *WebHistoryItem

WebHistoryItemFromID adopts an existing Objective-C object as a WebHistoryItem (nil for 0), retaining it and registering a release finalizer.

func (*WebHistoryItem) AlternateTitle

func (whi *WebHistoryItem) AlternateTitle() string

AlternateTitle returns the alternate title.

func (*WebHistoryItem) Description added in v0.17.0

func (whi *WebHistoryItem) Description() string

Description returns the object's -description text.

func (*WebHistoryItem) Icon

func (whi *WebHistoryItem) Icon() obj.Object

Icon returns the favorite icon of the page represented by this item. This icon returned will be determined by the WebKit.

func (*WebHistoryItem) IsEqual added in v0.17.0

func (whi *WebHistoryItem) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*WebHistoryItem) IsKind added in v0.17.0

func (whi *WebHistoryItem) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*WebHistoryItem) LastVisitedTimeInterval

func (whi *WebHistoryItem) LastVisitedTimeInterval() float64

LastVisitedTimeInterval returns the last time the page represented by this item was visited. The interval is since the reference date as determined by NSDate. This value is normally set by the WebKit.

func (*WebHistoryItem) OriginalURLString

func (whi *WebHistoryItem) OriginalURLString() string

OriginalURLString returns the string representation of the initial URL of this item. This value is normally set by the WebKit.

func (*WebHistoryItem) String added in v0.17.0

func (whi *WebHistoryItem) String() string

String returns the object's -description text, so a wrapper prints usefully under fmt.

func (*WebHistoryItem) Title

func (whi *WebHistoryItem) Title() string

Title returns the title of the page represented by this item. This title cannot be changed by the client. This value is normally set by the WebKit when a page title for the item is received.

func (*WebHistoryItem) URLString

func (whi *WebHistoryItem) URLString() string

URLString returns the string representation of the URL represented by this item. The URLString may be different than the originalURLString if the page redirected to a new location. This value is normally set by the WebKit.

func (*WebHistoryItem) WithAlternateTitle added in v0.17.0

func (whi *WebHistoryItem) WithAlternateTitle(alternateTitle string) *WebHistoryItem

WithAlternateTitle sets an alternate title that may be used in place of the receiver’s page title.

type WebNavigationType

type WebNavigationType int64

Possible values for the WebActionNavigationTypeKey key that appears in an action dictionary.

const (
	// A link (an href) was clicked.
	WebNavigationTypeLinkClicked WebNavigationType = 0
	// A form was submitted.
	WebNavigationTypeFormSubmitted WebNavigationType = 1
	// The user clicked back or forward button.
	WebNavigationTypeBackForward WebNavigationType = 2
	// The user hit the reload button.
	WebNavigationTypeReload WebNavigationType = 3
	// A form was resubmitted (through a back, forward or reload action).
	WebNavigationTypeFormResubmitted WebNavigationType = 4
	// Navigation is taking place for some other reason.
	WebNavigationTypeOther WebNavigationType = 5
)

func (WebNavigationType) String

func (e WebNavigationType) String() string

String returns the WebNavigationType constant's name, or its numeric form when the value is not a known constant.

type WebOpenPanelResultListener

type WebOpenPanelResultListener interface {
	ChooseFilename(fileName string)
	ChooseFilenames(fileNames obj.Object)
	Cancel()
}

WebOpenPanelResultListener is the Go form of the Objective-C protocol WebOpenPanelResultListener.

type WebPlugInViewFactory

type WebPlugInViewFactory interface {
	PlugInViewWithArguments(arguments obj.Object) obj.Object
}

WebPlugInViewFactory is the Go form of the Objective-C protocol WebPlugInViewFactory.

type WebPolicyDecisionListener

type WebPolicyDecisionListener interface {
	Use()
	Download()
	Ignore()
}

WebPolicyDecisionListener is the Go form of the Objective-C protocol WebPolicyDecisionListener.

type WebPolicyDelegate

type WebPolicyDelegate interface {
}

WebPolicyDelegate is the Go form of the Objective-C protocol WebPolicyDelegate.

type WebPreferences

type WebPreferences struct {
	objref.Handle
}

WebPreferences is an idiomatic wrapper over the Objective-C class WebPreferences.

WebPreferences encapsulates the preferences you can change per WebView object. These preferences include font, text encoding, and image settings. Normally a WebView object uses the standard preferences returned by the standardPreferences class method. However, you can modify the preferences for individual WebView instances too. Use the preferencesIdentifier WebView method to change a WebView object’s preferences, or to share preferences between WebView objects. Use the autosaves method to specify if the preferences object should be automatically saved to the user defaults database.

func NewWebPreferencesWithIdentifier added in v0.17.0

func NewWebPreferencesWithIdentifier(anIdentifier string) *WebPreferences

NewWebPreferencesWithIdentifier returns an initialized WebPreferences object, creating one if it does not exist.

func StandardPreferences added in v0.17.0

func StandardPreferences() *WebPreferences

StandardPreferences returns the standard set of preferences that may be used by all WebView objects.

func WebPreferencesFromID

func WebPreferencesFromID(id objc.ID) *WebPreferences

WebPreferencesFromID adopts an existing Objective-C object as a WebPreferences (nil for 0), retaining it and registering a release finalizer.

func (*WebPreferences) AllowsAirPlayForMediaPlayback

func (wp *WebPreferences) AllowsAirPlayForMediaPlayback() bool

AllowsAirPlayForMediaPlayback wraps the corresponding Objective-C method.

func (*WebPreferences) AllowsAnimatedImageLooping

func (wp *WebPreferences) AllowsAnimatedImageLooping() bool

AllowsAnimatedImageLooping wraps the corresponding Objective-C method.

func (*WebPreferences) AllowsAnimatedImages

func (wp *WebPreferences) AllowsAnimatedImages() bool

AllowsAnimatedImages wraps the corresponding Objective-C method.

func (*WebPreferences) ArePlugInsEnabled

func (wp *WebPreferences) ArePlugInsEnabled() bool

ArePlugInsEnabled wraps the corresponding Objective-C method.

func (*WebPreferences) Autosaves

func (wp *WebPreferences) Autosaves() bool

Autosaves reports whether if autosaves is true the settings represented by WebPreferences will be stored in the user defaults database.

func (*WebPreferences) CacheModel

func (wp *WebPreferences) CacheModel() WebCacheModel

CacheModel specifies a usage model for a WebView, which WebKit will use to determine its caching behavior. If necessary, WebKit will prune its caches to match cacheModel when set. Research indicates that users tend to browse within clusters of documents that hold resources in common, and to revisit previously visited documents. WebKit and the frameworks below it include built-in caches that take advantage of these patterns, substantially improving document load speed in browsing situations. The WebKit cache model controls the behaviors of all of these caches, including NSURLCache and the various WebCore caches. Applications with a browsing interface can improve document load speed substantially by specifying WebCacheModelDocumentBrowser. Applications without a browsing interface can reduce memory usage substantially by specifying WebCacheModelDocumentViewer. If cacheModel is not set, WebKit will select a cache model automatically.

func (*WebPreferences) CursiveFontFamily

func (wp *WebPreferences) CursiveFontFamily() string

CursiveFontFamily returns the cursive font family.

func (*WebPreferences) DefaultFixedFontSize

func (wp *WebPreferences) DefaultFixedFontSize() int

DefaultFixedFontSize returns the default fixed font size.

func (*WebPreferences) DefaultFontSize

func (wp *WebPreferences) DefaultFontSize() int

DefaultFontSize returns the default font size.

func (*WebPreferences) DefaultTextEncodingName

func (wp *WebPreferences) DefaultTextEncodingName() string

DefaultTextEncodingName returns the default text encoding name.

func (*WebPreferences) Description added in v0.17.0

func (wp *WebPreferences) Description() string

Description returns the object's -description text.

func (*WebPreferences) FantasyFontFamily

func (wp *WebPreferences) FantasyFontFamily() string

FantasyFontFamily returns the fantasy font family.

func (*WebPreferences) FixedFontFamily

func (wp *WebPreferences) FixedFontFamily() string

FixedFontFamily returns the fixed font family.

func (*WebPreferences) Identifier

func (wp *WebPreferences) Identifier() string

Identifier returns the identifier.

func (*WebPreferences) IsEqual added in v0.17.0

func (wp *WebPreferences) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*WebPreferences) IsJavaEnabled

func (wp *WebPreferences) IsJavaEnabled() bool

IsJavaEnabled reports whether deprecated function that does nothing and always returns false.

func (*WebPreferences) IsJavaScriptEnabled

func (wp *WebPreferences) IsJavaScriptEnabled() bool

IsJavaScriptEnabled reports whether the object is java script enabled.

func (*WebPreferences) IsKind added in v0.17.0

func (wp *WebPreferences) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*WebPreferences) JavaScriptCanOpenWindowsAutomatically

func (wp *WebPreferences) JavaScriptCanOpenWindowsAutomatically() bool

JavaScriptCanOpenWindowsAutomatically wraps the corresponding Objective-C method.

func (*WebPreferences) LoadsImagesAutomatically

func (wp *WebPreferences) LoadsImagesAutomatically() bool

LoadsImagesAutomatically wraps the corresponding Objective-C method.

func (*WebPreferences) MinimumFontSize

func (wp *WebPreferences) MinimumFontSize() int

MinimumFontSize returns the minimum font size.

func (*WebPreferences) MinimumLogicalFontSize

func (wp *WebPreferences) MinimumLogicalFontSize() int

MinimumLogicalFontSize returns the minimum logical font size.

func (*WebPreferences) PrivateBrowsingEnabled

func (wp *WebPreferences) PrivateBrowsingEnabled() bool

PrivateBrowsingEnabled reports whether if private browsing is enabled, WebKit will not store information about sites the user visits.

func (*WebPreferences) SansSerifFontFamily

func (wp *WebPreferences) SansSerifFontFamily() string

SansSerifFontFamily returns the sans serif font family.

func (*WebPreferences) SerifFontFamily

func (wp *WebPreferences) SerifFontFamily() string

SerifFontFamily returns the serif font family.

func (*WebPreferences) ShouldPrintBackgrounds

func (wp *WebPreferences) ShouldPrintBackgrounds() bool

ShouldPrintBackgrounds wraps the corresponding Objective-C method.

func (*WebPreferences) StandardFontFamily

func (wp *WebPreferences) StandardFontFamily() string

StandardFontFamily returns the standard font family.

func (*WebPreferences) String added in v0.17.0

func (wp *WebPreferences) String() string

String returns the object's -description text, so a wrapper prints usefully under fmt.

func (*WebPreferences) SuppressesIncrementalRendering

func (wp *WebPreferences) SuppressesIncrementalRendering() bool

SuppressesIncrementalRendering wraps the corresponding Objective-C method.

func (wp *WebPreferences) TabsToLinks() bool

TabsToLinks reports whether if tabsToLinks is true, the tab key will focus links and form controls. The option key temporarily reverses this preference.

func (*WebPreferences) UserStyleSheetEnabled

func (wp *WebPreferences) UserStyleSheetEnabled() bool

UserStyleSheetEnabled wraps the corresponding Objective-C method.

func (*WebPreferences) UserStyleSheetLocation

func (wp *WebPreferences) UserStyleSheetLocation() string

UserStyleSheetLocation returns the location of the user style sheet.

func (*WebPreferences) UsesPageCache

func (wp *WebPreferences) UsesPageCache() bool

UsesPageCache reports whether the receiver's associated WebViews use the shared page cache. Pages are cached as they are added to a WebBackForwardList, and removed from the cache as they are removed from a WebBackForwardList. Because the page cache is global, caching a page in one WebBackForwardList may cause a page in another WebBackForwardList to be evicted from the cache.

func (*WebPreferences) WithAllowsAirPlayForMediaPlayback added in v0.17.0

func (wp *WebPreferences) WithAllowsAirPlayForMediaPlayback(allowsAirPlayForMediaPlayback bool) *WebPreferences

WithAllowsAirPlayForMediaPlayback sets the allows air play for media playback.

func (*WebPreferences) WithAllowsAnimatedImageLooping added in v0.17.0

func (wp *WebPreferences) WithAllowsAnimatedImageLooping(allowsAnimatedImageLooping bool) *WebPreferences

WithAllowsAnimatedImageLooping sets a Boolean that indicates whether or not the receiver allows animated images to loop.

func (*WebPreferences) WithAllowsAnimatedImages added in v0.17.0

func (wp *WebPreferences) WithAllowsAnimatedImages(allowsAnimatedImages bool) *WebPreferences

WithAllowsAnimatedImages sets a Boolean that indicates whether or not the receiver allows animated images.

func (*WebPreferences) WithAutosaves added in v0.17.0

func (wp *WebPreferences) WithAutosaves(autosaves bool) *WebPreferences

WithAutosaves sets a Boolean that indicates whether or not the receiver’s attributes are automatically stored in the user defaults database.

func (*WebPreferences) WithCacheModel added in v0.17.0

func (wp *WebPreferences) WithCacheModel(cacheModel WebCacheModel) *WebPreferences

WithCacheModel sets the cache model for the web views associated with the receiver.

func (*WebPreferences) WithCursiveFontFamily added in v0.17.0

func (wp *WebPreferences) WithCursiveFontFamily(cursiveFontFamily string) *WebPreferences

WithCursiveFontFamily sets the cursive font family of the web view.

func (*WebPreferences) WithDefaultFixedFontSize added in v0.17.0

func (wp *WebPreferences) WithDefaultFixedFontSize(defaultFixedFontSize int) *WebPreferences

WithDefaultFixedFontSize sets the default fixed font size of the web view.

func (*WebPreferences) WithDefaultFontSize added in v0.17.0

func (wp *WebPreferences) WithDefaultFontSize(defaultFontSize int) *WebPreferences

WithDefaultFontSize sets the default font size of the web view.

func (*WebPreferences) WithDefaultTextEncodingName added in v0.17.0

func (wp *WebPreferences) WithDefaultTextEncodingName(defaultTextEncodingName string) *WebPreferences

WithDefaultTextEncodingName sets the default text encoding of the web view.

func (*WebPreferences) WithFantasyFontFamily added in v0.17.0

func (wp *WebPreferences) WithFantasyFontFamily(fantasyFontFamily string) *WebPreferences

WithFantasyFontFamily sets the fantasy font family of the web view.

func (*WebPreferences) WithFixedFontFamily added in v0.17.0

func (wp *WebPreferences) WithFixedFontFamily(fixedFontFamily string) *WebPreferences

WithFixedFontFamily sets the fixed font family of the web view.

func (*WebPreferences) WithJavaEnabled added in v0.17.0

func (wp *WebPreferences) WithJavaEnabled(javaEnabled bool) *WebPreferences

WithJavaEnabled sets a Boolean that indicates whether or not the web view allows Java.

func (*WebPreferences) WithJavaScriptCanOpenWindowsAutomatically added in v0.17.0

func (wp *WebPreferences) WithJavaScriptCanOpenWindowsAutomatically(javaScriptCanOpenWindowsAutomatically bool) *WebPreferences

WithJavaScriptCanOpenWindowsAutomatically sets a Boolean that indicates whether or not the web view allows JavaScript to open windows automatically.

func (*WebPreferences) WithJavaScriptEnabled added in v0.17.0

func (wp *WebPreferences) WithJavaScriptEnabled(javaScriptEnabled bool) *WebPreferences

WithJavaScriptEnabled sets a Boolean that indicates whether or not the web view allows JavaScript.

func (*WebPreferences) WithLoadsImagesAutomatically added in v0.17.0

func (wp *WebPreferences) WithLoadsImagesAutomatically(loadsImagesAutomatically bool) *WebPreferences

WithLoadsImagesAutomatically sets a Boolean that indicates whether or not the web view allows images to be loaded automatically.

func (*WebPreferences) WithMinimumFontSize added in v0.17.0

func (wp *WebPreferences) WithMinimumFontSize(minimumFontSize int) *WebPreferences

WithMinimumFontSize sets the minimum font size of the web view.

func (*WebPreferences) WithMinimumLogicalFontSize added in v0.17.0

func (wp *WebPreferences) WithMinimumLogicalFontSize(minimumLogicalFontSize int) *WebPreferences

WithMinimumLogicalFontSize sets the minimum logical font size of the web view.

func (*WebPreferences) WithPlugInsEnabled added in v0.17.0

func (wp *WebPreferences) WithPlugInsEnabled(plugInsEnabled bool) *WebPreferences

WithPlugInsEnabled sets a Boolean that indicates whether or not the web view allows plug-ins.

func (*WebPreferences) WithPrivateBrowsingEnabled added in v0.17.0

func (wp *WebPreferences) WithPrivateBrowsingEnabled(privateBrowsingEnabled bool) *WebPreferences

WithPrivateBrowsingEnabled sets a Boolean that indicates whether or not private browsing is enabled.

func (*WebPreferences) WithSansSerifFontFamily added in v0.17.0

func (wp *WebPreferences) WithSansSerifFontFamily(sansSerifFontFamily string) *WebPreferences

WithSansSerifFontFamily sets the sans serif font family of the web view.

func (*WebPreferences) WithSerifFontFamily added in v0.17.0

func (wp *WebPreferences) WithSerifFontFamily(serifFontFamily string) *WebPreferences

WithSerifFontFamily sets the serif font family of the web view.

func (*WebPreferences) WithShouldPrintBackgrounds added in v0.17.0

func (wp *WebPreferences) WithShouldPrintBackgrounds(shouldPrintBackgrounds bool) *WebPreferences

WithShouldPrintBackgrounds sets a Boolean that indicates whether or not the web view should include backgrounds when printing.

func (*WebPreferences) WithStandardFontFamily added in v0.17.0

func (wp *WebPreferences) WithStandardFontFamily(standardFontFamily string) *WebPreferences

WithStandardFontFamily sets the standard font family of the web view.

func (*WebPreferences) WithSuppressesIncrementalRendering added in v0.17.0

func (wp *WebPreferences) WithSuppressesIncrementalRendering(suppressesIncrementalRendering bool) *WebPreferences

WithSuppressesIncrementalRendering sets a Boolean that indicates whether incremental rendering should be suppressed.

func (wp *WebPreferences) WithTabsToLinks(tabsToLinks bool) *WebPreferences

WithTabsToLinks sets a Boolean that indicates whether or not the tab key will focus links.

func (*WebPreferences) WithUserStyleSheetEnabled added in v0.17.0

func (wp *WebPreferences) WithUserStyleSheetEnabled(userStyleSheetEnabled bool) *WebPreferences

WithUserStyleSheetEnabled sets a Boolean that indicates whether or not user style sheets are enabled in the web view.

func (*WebPreferences) WithUserStyleSheetLocation added in v0.17.0

func (wp *WebPreferences) WithUserStyleSheetLocation(userStyleSheetLocation string) *WebPreferences

WithUserStyleSheetLocation sets the location of the user style sheet.

func (*WebPreferences) WithUsesPageCache added in v0.17.0

func (wp *WebPreferences) WithUsesPageCache(usesPageCache bool) *WebPreferences

WithUsesPageCache sets a Boolean that indicates whether the web views associated with the receiver should use the shared page cache.

type WebPreferencesPrivate

type WebPreferencesPrivate struct{ obj.Object }

WebPreferencesPrivate is a handle for the opaque WebPreferencesPrivate type.

func (WebPreferencesPrivate) IsNil added in v0.18.0

func (h WebPreferencesPrivate) IsNil() bool

IsNil reports whether WebPreferencesPrivate is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.

type WebResource

type WebResource struct {
	objref.Handle
}

WebResource is an idiomatic wrapper over the Objective-C class WebResource.

A WebResource object represents a downloaded URL. It encapsulates the data of the download as well as other resource properties such as the URL, MIME type, and frame name.

func NewWebResourceWithDataURLMIMETypeTextEncodingNameFrameName added in v0.17.0

func NewWebResourceWithDataURLMIMETypeTextEncodingNameFrameName(data []byte, url string, mimeType string, textEncodingName string, frameName string) *WebResource

NewWebResourceWithDataURLMIMETypeTextEncodingNameFrameName initializes and returns a web resource instance.

func WebResourceFromID

func WebResourceFromID(id objc.ID) *WebResource

WebResourceFromID adopts an existing Objective-C object as a WebResource (nil for 0), retaining it and registering a release finalizer.

func (*WebResource) Data

func (wr *WebResource) Data() []byte

Data returns the data of the resource.

func (*WebResource) Description added in v0.17.0

func (wr *WebResource) Description() string

Description returns the object's -description text.

func (*WebResource) FrameName

func (wr *WebResource) FrameName() string

FrameName returns the frame name of the resource if the resource represents the contents of an entire HTML frame (can be nil).

func (*WebResource) IsEqual added in v0.17.0

func (wr *WebResource) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*WebResource) IsKind added in v0.17.0

func (wr *WebResource) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*WebResource) MIMEType

func (wr *WebResource) MIMEType() string

MIMEType returns the MIME type of the resource.

func (*WebResource) String added in v0.17.0

func (wr *WebResource) String() string

String returns the object's -description text, so a wrapper prints usefully under fmt.

func (*WebResource) TextEncodingName

func (wr *WebResource) TextEncodingName() string

TextEncodingName returns the text encoding name of the resource (can be nil).

func (*WebResource) URL

func (wr *WebResource) URL() string

URL returns the URL of the resource.

type WebResourceLoadDelegate

type WebResourceLoadDelegate interface {
}

WebResourceLoadDelegate is the Go form of the Objective-C protocol WebResourceLoadDelegate.

type WebScriptObject

type WebScriptObject struct {
	objref.Handle
}

WebScriptObject is an idiomatic wrapper over the Objective-C class WebScriptObject.

WebScriptObject is an abstract base — you do not construct it directly. Construct one of DOMObject and pass it where a WebScriptObject is accepted.

A WebScriptObject object is an Objective-C wrapper for a scripting object passed to your application from the scripting environment.

func WebScriptObjectFromID

func WebScriptObjectFromID(id objc.ID) *WebScriptObject

WebScriptObjectFromID adopts an existing Objective-C object as a WebScriptObject (nil for 0), retaining it and registering a release finalizer.

func (*WebScriptObject) CallWebScriptMethodWithArguments

func (wso *WebScriptObject) CallWebScriptMethodWithArguments(name string, arguments obj.Object) obj.Object

CallWebScriptMethodWithArguments returns the result of executing a method in the scripting environment.

func (*WebScriptObject) Description added in v0.17.0

func (wso *WebScriptObject) Description() string

Description returns the object's -description text.

func (*WebScriptObject) EvaluateWebScript

func (wso *WebScriptObject) EvaluateWebScript(script string) obj.Object

EvaluateWebScript returns the result of evaluating a script in the scripting environment.

func (*WebScriptObject) IsEqual added in v0.17.0

func (wso *WebScriptObject) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*WebScriptObject) IsKind added in v0.17.0

func (wso *WebScriptObject) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*WebScriptObject) JSObject

func (wso *WebScriptObject) JSObject() obj.Object

JSObject returns the JavaScript object corresponding to the receiver.

func (*WebScriptObject) JSValue

func (wso *WebScriptObject) JSValue() obj.Object

JSValue returns use this method to bridge between the WebScriptObject and JavaScriptCore Objective-C APIs.

func (*WebScriptObject) RemoveWebScriptKey

func (wso *WebScriptObject) RemoveWebScriptKey(name string)

RemoveWebScriptKey removes a property from a scripting environment.

func (*WebScriptObject) SetException

func (wso *WebScriptObject) SetException(description string)

SetException raises a scripting environment exception in the context of the current object.

func (*WebScriptObject) SetWebScriptValueAtIndexValue

func (wso *WebScriptObject) SetWebScriptValueAtIndexValue(index int, value obj.Object)

SetWebScriptValueAtIndexValue sets the value of a property at the specified index.

func (*WebScriptObject) String added in v0.17.0

func (wso *WebScriptObject) String() string

String returns the object's -description text, so a wrapper prints usefully under fmt.

func (*WebScriptObject) StringRepresentation

func (wso *WebScriptObject) StringRepresentation() string

StringRepresentation returns a string representation of the receiver.

func (*WebScriptObject) WebScriptValueAtIndex

func (wso *WebScriptObject) WebScriptValueAtIndex(index int) obj.Object

WebScriptValueAtIndex returns the value of a property at the specified index.

type WebScriptObjectProvider added in v0.17.0

type WebScriptObjectProvider interface {
	objref.Object
	// contains filtered or unexported methods
}

WebScriptObjectProvider is accepted wherever a WebScriptObject (or one of its subclasses) is expected.

type WebUIDelegate

type WebUIDelegate interface {
}

WebUIDelegate is the Go form of the Objective-C protocol WebUIDelegate.

type WebUndefined

type WebUndefined struct {
	objref.Handle
}

WebUndefined is an idiomatic wrapper over the Objective-C class WebUndefined.

WebUndefined objects are simply used to represent the JavaScript “undefined” value in methods when bridging between JavaScript and Objective-C. For example, if you invoke a JavaScript function that returns the JavaScript “undefined” value, then a WebUndefined object is returned to the Objective-C calling context.

func NewWebUndefined added in v0.17.0

func NewWebUndefined() *WebUndefined

NewWebUndefined creates a new WebUndefined.

func Undefined added in v0.17.0

func Undefined() *WebUndefined

Undefined returns the shared WebUndefined instance.

func WebUndefinedFromID

func WebUndefinedFromID(id objc.ID) *WebUndefined

WebUndefinedFromID adopts an existing Objective-C object as a WebUndefined (nil for 0), retaining it and registering a release finalizer.

func (*WebUndefined) Description added in v0.17.0

func (wu *WebUndefined) Description() string

Description returns the object's -description text.

func (*WebUndefined) IsEqual added in v0.17.0

func (wu *WebUndefined) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*WebUndefined) IsKind added in v0.17.0

func (wu *WebUndefined) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*WebUndefined) String added in v0.17.0

func (wu *WebUndefined) String() string

String returns the object's -description text, so a wrapper prints usefully under fmt.

type WebView

type WebView struct {
	objref.Handle
}

WebView is an idiomatic wrapper over the Objective-C class WebView.

func NewWebViewWithFrameFrameNameGroupName added in v0.17.0

func NewWebViewWithFrameFrameNameGroupName(frame corefoundation.CGRect, frameName string, groupName string) *WebView

NewWebViewWithFrameFrameNameGroupName the designated initializer for WebView. Initialize a WebView with the supplied parameters. This method will create a main WebFrame with the view. Passing a top level frame name is useful if you handle a targetted frame navigation that would normally open a window in some other way that still ends up creating a new WebView.

func WebViewFromID

func WebViewFromID(id objc.ID) *WebView

WebViewFromID adopts an existing Objective-C object as a WebView (nil for 0), retaining it and registering a release finalizer.

func (*WebView) AlignCenter

func (wv *WebView) AlignCenter(sender obj.Object)

AlignCenter wraps the corresponding Objective-C method.

func (*WebView) AlignJustified

func (wv *WebView) AlignJustified(sender obj.Object)

AlignJustified wraps the corresponding Objective-C method.

func (*WebView) AlignLeft

func (wv *WebView) AlignLeft(sender obj.Object)

AlignLeft wraps the corresponding Objective-C method.

func (*WebView) AlignRight

func (wv *WebView) AlignRight(sender obj.Object)

AlignRight wraps the corresponding Objective-C method.

func (*WebView) ApplicationNameForUserAgent

func (wv *WebView) ApplicationNameForUserAgent() string

ApplicationNameForUserAgent returns the name of the application as used in the user-agent string.

func (*WebView) ApplyStyle

func (wv *WebView) ApplyStyle(style *DOMCSSStyleDeclaration)

ApplyStyle applies style.

func (*WebView) BackForwardList

func (wv *WebView) BackForwardList() *WebBackForwardList

BackForwardList returns the backforward list for this WebView.

func (*WebView) CanGoBack

func (wv *WebView) CanGoBack() bool

CanGoBack wraps the corresponding Objective-C method.

func (*WebView) CanGoForward

func (wv *WebView) CanGoForward() bool

CanGoForward wraps the corresponding Objective-C method.

func (*WebView) CanMakeTextLarger

func (wv *WebView) CanMakeTextLarger() bool

CanMakeTextLarger wraps the corresponding Objective-C method.

func (*WebView) CanMakeTextSmaller

func (wv *WebView) CanMakeTextSmaller() bool

CanMakeTextSmaller wraps the corresponding Objective-C method.

func (*WebView) CanMakeTextStandardSize

func (wv *WebView) CanMakeTextStandardSize() bool

CanMakeTextStandardSize wraps the corresponding Objective-C method.

func (*WebView) ChangeAttributes

func (wv *WebView) ChangeAttributes(sender obj.Object)

ChangeAttributes wraps the corresponding Objective-C method.

func (*WebView) ChangeColor

func (wv *WebView) ChangeColor(sender obj.Object)

ChangeColor wraps the corresponding Objective-C method.

func (*WebView) ChangeDocumentBackgroundColor

func (wv *WebView) ChangeDocumentBackgroundColor(sender obj.Object)

ChangeDocumentBackgroundColor wraps the corresponding Objective-C method.

func (*WebView) ChangeFont

func (wv *WebView) ChangeFont(sender obj.Object)

ChangeFont wraps the corresponding Objective-C method.

func (*WebView) CheckSpelling

func (wv *WebView) CheckSpelling(sender obj.Object)

CheckSpelling wraps the corresponding Objective-C method.

func (*WebView) Close

func (wv *WebView) Close()

Close closes the receiver, unloading its web page and canceling any pending loads. Once the receiver has closed, it will no longer respond to requests or fire delegate methods. (However, the -close method itself may fire delegate methods.) A garbage collected application is required to call close when the receiver is no longer needed. The close method will be called automatically when the window or hostWindow closes and shouldCloseWithWindow returns YES. A non-garbage collected application can still call close, providing a convenient way to prevent receiver from doing any more loading and firing any future delegate methods.

func (*WebView) ComputedStyleForElementPseudoElement

func (wv *WebView) ComputedStyleForElementPseudoElement(element *DOMElement, pseudoElement string) *DOMCSSStyleDeclaration

ComputedStyleForElementPseudoElement wraps the corresponding Objective-C method.

func (*WebView) Copy

func (wv *WebView) Copy(sender obj.Object)

Copy wraps the corresponding Objective-C method.

func (*WebView) CopyFont

func (wv *WebView) CopyFont(sender obj.Object)

CopyFont copies font.

func (*WebView) CustomTextEncodingName

func (wv *WebView) CustomTextEncodingName() string

CustomTextEncodingName returns the custom text encoding name or nil if no custom text encoding name has been set. Make the page display with a different text encoding; stops any load in progress. The text encoding passed in overrides the normal text encoding smarts including what's specified in a web page's header or HTTP response. The text encoding automatically goes back to the default when the top level frame changes to a new location. Setting the text encoding name to nil makes the webView use default encoding rules.

func (*WebView) CustomUserAgent

func (wv *WebView) CustomUserAgent() string

CustomUserAgent returns the custom user-agent string or nil if no custom user-agent string has been set. Setting this means that the webView should use this user-agent string instead of constructing a user-agent string for each URL. Setting it to nil causes the webView to construct the user-agent string for each URL for best results rendering web pages

func (*WebView) Cut

func (wv *WebView) Cut(sender obj.Object)

Cut wraps the corresponding Objective-C method.

func (*WebView) Delete

func (wv *WebView) Delete(sender obj.Object)

Delete wraps the corresponding Objective-C method.

func (*WebView) DeleteSelection

func (wv *WebView) DeleteSelection()

DeleteSelection deletes selection.

func (*WebView) Description added in v0.17.0

func (wv *WebView) Description() string

Description returns the object's -description text.

func (*WebView) DrawsBackground

func (wv *WebView) DrawsBackground() bool

DrawsBackground reports whether the receiver draws a default white background when the loaded page has no background specified.

func (*WebView) EditableDOMRangeForPoint

func (wv *WebView) EditableDOMRangeForPoint(point corefoundation.CGPoint) *DOMRange

EditableDOMRangeForPoint wraps the corresponding Objective-C method.

func (*WebView) ElementAtPoint

func (wv *WebView) ElementAtPoint(point corefoundation.CGPoint) obj.Object

ElementAtPoint wraps the corresponding Objective-C method.

func (*WebView) EstimatedProgress

func (wv *WebView) EstimatedProgress() float64

EstimatedProgress returns an estimate of the percent complete for a document load. This value will range from 0 to 1.0 and, once a load completes, will remain at 1.0 until a new load starts, at which point it will be reset to 0. The value is an estimate based on the total number of bytes expected to be received for a document, including all it's possible subresources. For more accurate progress indication it is recommended that you implement a WebFrameLoadDelegate and a WebResourceLoadDelegate.

func (*WebView) GoBack

func (wv *WebView) GoBack() bool

GoBack reports whether go back to the previous URL in the backforward list.

func (*WebView) GoBack2

func (wv *WebView) GoBack2(sender obj.Object)

GoBack2 wraps the corresponding Objective-C method.

func (*WebView) GoForward

func (wv *WebView) GoForward() bool

GoForward reports whether go forward to the next URL in the backforward list.

func (*WebView) GoForward2

func (wv *WebView) GoForward2(sender obj.Object)

GoForward2 wraps the corresponding Objective-C method.

func (*WebView) GoToBackForwardItem

func (wv *WebView) GoToBackForwardItem(item *WebHistoryItem) bool

GoToBackForwardItem go back or forward to an item in the backforward list.

func (*WebView) GroupName

func (wv *WebView) GroupName() string

GroupName returns the group name for this WebView. JavaScript may access named frames within the same group.

func (*WebView) HostWindow

func (wv *WebView) HostWindow() obj.Object

HostWindow returns the host window for the web view. Parts of WebKit (such as plug-ins and JavaScript) depend on a window to function properly. Set a host window so these parts continue to function even when the web view is not in an actual window.

func (*WebView) IsContinuousSpellCheckingEnabled

func (wv *WebView) IsContinuousSpellCheckingEnabled() bool

IsContinuousSpellCheckingEnabled reports whether the object is continuous spell checking enabled.

func (*WebView) IsEditable

func (wv *WebView) IsEditable() bool

IsEditable reports whether the object is editable.

func (*WebView) IsEqual added in v0.17.0

func (wv *WebView) IsEqual(other obj.Object) bool

IsEqual reports Objective-C equality (isEqual:) with another object.

func (*WebView) IsKind added in v0.17.0

func (wv *WebView) IsKind(className string) bool

IsKind reports whether the object is an instance of the named class or a subclass.

func (*WebView) IsLoading

func (wv *WebView) IsLoading() bool

IsLoading reports whether there are any pending loads in this WebView.

func (*WebView) MainFrame

func (wv *WebView) MainFrame() *WebFrame

MainFrame returns the top level frame. Note that even documents that are not framesets will have a mainFrame.

func (*WebView) MainFrameDocument

func (wv *WebView) MainFrameDocument() *DOMDocument

MainFrameDocument returns the main frame's DOMDocument.

func (*WebView) MainFrameIcon

func (wv *WebView) MainFrameIcon() obj.Object

MainFrameIcon returns the site icon for the current page loaded in the mainFrame, or nil.

func (*WebView) MainFrameTitle

func (wv *WebView) MainFrameTitle() string

MainFrameTitle returns the main frame's title if any, otherwise an empty string.

func (*WebView) MainFrameURL

func (wv *WebView) MainFrameURL() string

MainFrameURL returns the main frame's current URL.

func (*WebView) MaintainsInactiveSelection

func (wv *WebView) MaintainsInactiveSelection() bool

MaintainsInactiveSelection wraps the corresponding Objective-C method.

func (*WebView) MakeTextLarger

func (wv *WebView) MakeTextLarger(sender obj.Object)

MakeTextLarger makes text larger.

func (*WebView) MakeTextSmaller

func (wv *WebView) MakeTextSmaller(sender obj.Object)

MakeTextSmaller makes text smaller.

func (*WebView) MakeTextStandardSize

func (wv *WebView) MakeTextStandardSize(sender obj.Object)

MakeTextStandardSize makes text standard size.

func (*WebView) MediaStyle

func (wv *WebView) MediaStyle() string

MediaStyle returns the media style for the WebView. The mediaStyle will override the normal value of the CSS media property. Setting the value to nil will restore the normal value. The value will be nil unless explicitly set.

func (*WebView) MoveDragCaretToPoint

func (wv *WebView) MoveDragCaretToPoint(point corefoundation.CGPoint)

MoveDragCaretToPoint this method moves the caret that shows where something being dragged will be dropped. It may cause the WebView to scroll to make the new position of the drag caret visible.

func (*WebView) MoveToBeginningOfSentence

func (wv *WebView) MoveToBeginningOfSentence(sender obj.Object)

MoveToBeginningOfSentence moves to beginning of sentence.

func (*WebView) MoveToBeginningOfSentenceAndModifySelection

func (wv *WebView) MoveToBeginningOfSentenceAndModifySelection(sender obj.Object)

MoveToBeginningOfSentenceAndModifySelection moves to beginning of sentence and modify selection.

func (*WebView) MoveToEndOfSentence

func (wv *WebView) MoveToEndOfSentence(sender obj.Object)

MoveToEndOfSentence moves to end of sentence.

func (*WebView) MoveToEndOfSentenceAndModifySelection

func (wv *WebView) MoveToEndOfSentenceAndModifySelection(sender obj.Object)

MoveToEndOfSentenceAndModifySelection moves to end of sentence and modify selection.

func (*WebView) OverWrite

func (wv *WebView) OverWrite(sender obj.Object)

OverWrite wraps the corresponding Objective-C method.

func (*WebView) Paste

func (wv *WebView) Paste(sender obj.Object)

Paste wraps the corresponding Objective-C method.

func (*WebView) PasteAsPlainText

func (wv *WebView) PasteAsPlainText(sender obj.Object)

PasteAsPlainText wraps the corresponding Objective-C method.

func (*WebView) PasteAsRichText

func (wv *WebView) PasteAsRichText(sender obj.Object)

PasteAsRichText wraps the corresponding Objective-C method.

func (*WebView) PasteFont

func (wv *WebView) PasteFont(sender obj.Object)

PasteFont wraps the corresponding Objective-C method.

func (*WebView) PasteboardTypesForElement

func (wv *WebView) PasteboardTypesForElement(element obj.Object) obj.Object

PasteboardTypesForElement returns the pasteboard types that WebView can use for an element

func (*WebView) PasteboardTypesForSelection

func (wv *WebView) PasteboardTypesForSelection() obj.Object

PasteboardTypesForSelection returns the pasteboard types that the WebView can use for the current selection

func (*WebView) PerformFindPanelAction

func (wv *WebView) PerformFindPanelAction(sender obj.Object)

PerformFindPanelAction performs find panel action.

func (*WebView) Preferences

func (wv *WebView) Preferences() *WebPreferences

Preferences returns the preferences used by this WebView. This method will return [WebPreferences standardPreferences] if no other instance of WebPreferences has been set.

func (*WebView) PreferencesIdentifier

func (wv *WebView) PreferencesIdentifier() string

PreferencesIdentifier returns the WebPreferences key prefix. If the WebPreferences for this WebView are stored in the user defaults database, this string will be used as a key prefix.

func (*WebView) Reload

func (wv *WebView) Reload(sender obj.Object)

Reload wraps the corresponding Objective-C method.

func (*WebView) ReloadFromOrigin

func (wv *WebView) ReloadFromOrigin(sender obj.Object)

ReloadFromOrigin reloads from origin.

func (*WebView) RemoveDragCaret

func (wv *WebView) RemoveDragCaret()

RemoveDragCaret removes the drag caret from the WebView

func (*WebView) ReplaceSelectionWithArchive

func (wv *WebView) ReplaceSelectionWithArchive(archive *WebArchive)

ReplaceSelectionWithArchive replaces selection with archive.

func (*WebView) ReplaceSelectionWithMarkupString

func (wv *WebView) ReplaceSelectionWithMarkupString(markupString string)

ReplaceSelectionWithMarkupString replaces selection with markup string.

func (*WebView) ReplaceSelectionWithNode

func (wv *WebView) ReplaceSelectionWithNode(node *DOMNode)

ReplaceSelectionWithNode replaces selection with node.

func (*WebView) ReplaceSelectionWithText

func (wv *WebView) ReplaceSelectionWithText(text string)

ReplaceSelectionWithText replaces selection with text.

func (*WebView) SearchForDirectionCaseSensitiveWrap

func (wv *WebView) SearchForDirectionCaseSensitiveWrap(str string, forward bool, caseFlag bool, wrapFlag bool) bool

SearchForDirectionCaseSensitiveWrap searches a document view for a string and highlights the string if it is found. Starts the search from the current selection. Will search across all frames.

func (*WebView) SelectSentence

func (wv *WebView) SelectSentence(sender obj.Object)

SelectSentence selects sentence.

func (*WebView) SelectedDOMRange

func (wv *WebView) SelectedDOMRange() *DOMRange

SelectedDOMRange returns the selected dom range.

func (*WebView) SelectedFrame

func (wv *WebView) SelectedFrame() *WebFrame

SelectedFrame returns the frame that has the active selection. Returns the frame that contains the first responder, if any. Otherwise returns the frame that contains a non-zero-length selection, if any. Returns nil if no frame meets these criteria.

func (*WebView) SetMaintainsBackForwardList

func (wv *WebView) SetMaintainsBackForwardList(flag bool)

SetMaintainsBackForwardList enable or disable the use of a backforward list for this webView.

func (*WebView) ShouldCloseWithWindow

func (wv *WebView) ShouldCloseWithWindow() bool

ShouldCloseWithWindow reports whether the receiver closes when either it's window or hostWindow closes. Defaults to true in garbage collected applications, otherwise false to maintain backwards compatibility.

func (*WebView) ShouldUpdateWhileOffscreen

func (wv *WebView) ShouldUpdateWhileOffscreen() bool

ShouldUpdateWhileOffscreen reports whether the WebView is always updated even when it is not in a window that is currently visible. If set to false, then whenever the web view is not in a visible window, updates to the web page will not necessarily be rendered in the view. However, when the window is made visible, the view will be updated automatically. Not updating while hidden can improve performance. If set to is true, hidden web views are always updated. This is the default.

func (*WebView) ShowGuessPanel

func (wv *WebView) ShowGuessPanel(sender obj.Object)

ShowGuessPanel shows guess panel.

func (*WebView) SmartInsertDeleteEnabled

func (wv *WebView) SmartInsertDeleteEnabled() bool

SmartInsertDeleteEnabled wraps the corresponding Objective-C method.

func (*WebView) SpellCheckerDocumentTag

func (wv *WebView) SpellCheckerDocumentTag() int

SpellCheckerDocumentTag returns the spell checker document tag.

func (*WebView) StartSpeaking

func (wv *WebView) StartSpeaking(sender obj.Object)

StartSpeaking starts speaking.

func (*WebView) StopLoading

func (wv *WebView) StopLoading(sender obj.Object)

StopLoading stops loading.

func (*WebView) StopSpeaking

func (wv *WebView) StopSpeaking(sender obj.Object)

StopSpeaking stops speaking.

func (*WebView) String added in v0.17.0

func (wv *WebView) String() string

String returns the object's -description text, so a wrapper prints usefully under fmt.

func (*WebView) StringByEvaluatingJavaScriptFromString

func (wv *WebView) StringByEvaluatingJavaScriptFromString(script string) string

StringByEvaluatingJavaScriptFromString wraps the corresponding Objective-C method.

func (*WebView) StyleDeclarationWithText

func (wv *WebView) StyleDeclarationWithText(text string) *DOMCSSStyleDeclaration

StyleDeclarationWithText wraps the corresponding Objective-C method.

func (*WebView) SupportsTextEncoding

func (wv *WebView) SupportsTextEncoding() bool

SupportsTextEncoding reports whether if the document view of the current web page can support different text encodings.

func (*WebView) TakeStringURLFrom

func (wv *WebView) TakeStringURLFrom(sender obj.Object)

TakeStringURLFrom wraps the corresponding Objective-C method.

func (*WebView) TextSizeMultiplier

func (wv *WebView) TextSizeMultiplier() float32

TextSizeMultiplier returns the text size multipler.

func (*WebView) ToggleContinuousSpellChecking

func (wv *WebView) ToggleContinuousSpellChecking(sender obj.Object)

ToggleContinuousSpellChecking toggles continuous spell checking.

func (*WebView) ToggleSmartInsertDelete

func (wv *WebView) ToggleSmartInsertDelete(sender obj.Object)

ToggleSmartInsertDelete toggles smart insert delete.

func (*WebView) TypingStyle

func (wv *WebView) TypingStyle() *DOMCSSStyleDeclaration

TypingStyle returns the typing style.

func (*WebView) UserAgentForURL

func (wv *WebView) UserAgentForURL(url string) string

UserAgentForURL get the appropriate user-agent string for a particular URL.

func (*WebView) WindowScriptObject

func (wv *WebView) WindowScriptObject() *WebScriptObject

WindowScriptObject returns a WebScriptObject that represents the window object from the script environment.

func (*WebView) WithApplicationNameForUserAgent added in v0.17.0

func (wv *WebView) WithApplicationNameForUserAgent(applicationNameForUserAgent string) *WebView

WithApplicationNameForUserAgent sets the name of the application as used in the user-agent string.

func (*WebView) WithContinuousSpellCheckingEnabled added in v0.17.0

func (wv *WebView) WithContinuousSpellCheckingEnabled(continuousSpellCheckingEnabled bool) *WebView

WithContinuousSpellCheckingEnabled sets the continuous spell checking enabled.

func (*WebView) WithCustomTextEncodingName added in v0.17.0

func (wv *WebView) WithCustomTextEncodingName(customTextEncodingName string) *WebView

WithCustomTextEncodingName sets the custom text encoding name or nil if no custom text encoding name has been set. Make the page display with a different text encoding; stops any load in progress. The text encoding passed in overrides the normal text encoding smarts including what's specified in a web page's header or HTTP response. The text encoding automatically goes back to the default when the top level frame changes to a new location. Setting the text encoding name to nil makes the webView use default encoding rules.

func (*WebView) WithCustomUserAgent added in v0.17.0

func (wv *WebView) WithCustomUserAgent(customUserAgent string) *WebView

WithCustomUserAgent sets the custom user-agent string or nil if no custom user-agent string has been set. Setting this means that the webView should use this user-agent string instead of constructing a user-agent string for each URL. Setting it to nil causes the webView to construct the user-agent string for each URL for best results rendering web pages

func (*WebView) WithDrawsBackground added in v0.17.0

func (wv *WebView) WithDrawsBackground(drawsBackground bool) *WebView

WithDrawsBackground sets whether the receiver draws a default white background when the loaded page has no background specified.

func (*WebView) WithEditable added in v0.17.0

func (wv *WebView) WithEditable(editable bool) *WebView

WithEditable sets the editable.

func (*WebView) WithGroupName added in v0.17.0

func (wv *WebView) WithGroupName(groupName string) *WebView

WithGroupName sets the group name for this WebView. JavaScript may access named frames within the same group.

func (*WebView) WithHostWindow added in v0.17.0

func (wv *WebView) WithHostWindow(hostWindow obj.Object) *WebView

WithHostWindow sets the host window for the web view. Parts of WebKit (such as plug-ins and JavaScript) depend on a window to function properly. Set a host window so these parts continue to function even when the web view is not in an actual window.

func (*WebView) WithMainFrameURL added in v0.17.0

func (wv *WebView) WithMainFrameURL(mainFrameURL string) *WebView

WithMainFrameURL sets the main frame's current URL.

func (*WebView) WithMediaStyle added in v0.17.0

func (wv *WebView) WithMediaStyle(mediaStyle string) *WebView

WithMediaStyle sets the media style for the WebView. The mediaStyle will override the normal value of the CSS media property. Setting the value to nil will restore the normal value. The value will be nil unless explicitly set.

func (*WebView) WithPreferences added in v0.17.0

func (wv *WebView) WithPreferences(preferences *WebPreferences) *WebView

WithPreferences sets the preferences used by this WebView. This method will return [WebPreferences standardPreferences] if no other instance of WebPreferences has been set.

func (*WebView) WithPreferencesIdentifier added in v0.17.0

func (wv *WebView) WithPreferencesIdentifier(preferencesIdentifier string) *WebView

WithPreferencesIdentifier sets the WebPreferences key prefix. If the WebPreferences for this WebView are stored in the user defaults database, this string will be used as a key prefix.

func (*WebView) WithShouldCloseWithWindow added in v0.17.0

func (wv *WebView) WithShouldCloseWithWindow(shouldCloseWithWindow bool) *WebView

WithShouldCloseWithWindow sets whether the receiver closes when either it's window or hostWindow closes. Defaults to YES in garbage collected applications, otherwise NO to maintain backwards compatibility.

func (*WebView) WithShouldUpdateWhileOffscreen added in v0.17.0

func (wv *WebView) WithShouldUpdateWhileOffscreen(shouldUpdateWhileOffscreen bool) *WebView

WithShouldUpdateWhileOffscreen sets whether the WebView is always updated even when it is not in a window that is currently visible. If set to NO, then whenever the web view is not in a visible window, updates to the web page will not necessarily be rendered in the view. However, when the window is made visible, the view will be updated automatically. Not updating while hidden can improve performance. If set to is YES, hidden web views are always updated. This is the default.

func (*WebView) WithSmartInsertDeleteEnabled added in v0.17.0

func (wv *WebView) WithSmartInsertDeleteEnabled(smartInsertDeleteEnabled bool) *WebView

WithSmartInsertDeleteEnabled sets the smart insert delete enabled.

func (*WebView) WithTextSizeMultiplier added in v0.17.0

func (wv *WebView) WithTextSizeMultiplier(textSizeMultiplier float32) *WebView

WithTextSizeMultiplier sets the text size multipler.

func (*WebView) WithTypingStyle added in v0.17.0

func (wv *WebView) WithTypingStyle(typingStyle *DOMCSSStyleDeclaration) *WebView

WithTypingStyle sets the typing style.

func (*WebView) WriteElementWithPasteboardTypesToPasteboard

func (wv *WebView) WriteElementWithPasteboardTypesToPasteboard(element obj.Object, types obj.Object, pasteboard obj.Object)

WriteElementWithPasteboardTypesToPasteboard writes an element to the pasteboard

func (*WebView) WriteSelectionWithPasteboardTypesToPasteboard

func (wv *WebView) WriteSelectionWithPasteboardTypesToPasteboard(types obj.Object, pasteboard obj.Object)

WriteSelectionWithPasteboardTypesToPasteboard writes the current selection to the pasteboard

type WebViewInsertAction

type WebViewInsertAction int64

The type of user action that initiated a delegate message.

const (
	// Indicates the user inserted content by typing.
	WebViewInsertActionTyped WebViewInsertAction = 0
	// Indicates the user inserted content by pasting.
	WebViewInsertActionPasted WebViewInsertAction = 1
	// Indicates the user inserted content by dropping.
	WebViewInsertActionDropped WebViewInsertAction = 2
)

func (WebViewInsertAction) String

func (e WebViewInsertAction) String() string

String returns the WebViewInsertAction constant's name, or its numeric form when the value is not a known constant.

type WsCloseCode added in v0.17.0

type WsCloseCode int32

WebSocket close codes that describe the reason for closing a WebSocket connection. Endpoints MAY use the following pre-defined status codes when sending a Close frame.

const (
	Nw_ws_close_code_normal_closure             WsCloseCode = 1000
	Nw_ws_close_code_going_away                 WsCloseCode = 1001
	Nw_ws_close_code_protocol_error             WsCloseCode = 1002
	Nw_ws_close_code_unsupported_data           WsCloseCode = 1003
	Nw_ws_close_code_no_status_received         WsCloseCode = 1005
	Nw_ws_close_code_abnormal_closure           WsCloseCode = 1006
	Nw_ws_close_code_invalid_frame_payload_data WsCloseCode = 1007
	Nw_ws_close_code_policy_violation           WsCloseCode = 1008
	Nw_ws_close_code_message_too_big            WsCloseCode = 1009
	Nw_ws_close_code_mandatory_extension        WsCloseCode = 1010
	Nw_ws_close_code_internal_server_error      WsCloseCode = 1011
	Nw_ws_close_code_tls_handshake              WsCloseCode = 1015
)

func (WsCloseCode) String added in v0.17.0

func (e WsCloseCode) String() string

String returns the WsCloseCode constant's name, or its numeric form when the value is not a known constant.

type WsOpcode added in v0.17.0

type WsOpcode int32

WebSocket opcodes that denote the type of frame sent or received by a WebSocket endpoint. Opcodes define the interpretation of their associated payload data.

const (
	Nw_ws_opcode_invalid WsOpcode = -1
	Nw_ws_opcode_cont    WsOpcode = 0
	Nw_ws_opcode_text    WsOpcode = 1
	Nw_ws_opcode_binary  WsOpcode = 2
	Nw_ws_opcode_close   WsOpcode = 8
	Nw_ws_opcode_ping    WsOpcode = 9
	Nw_ws_opcode_pong    WsOpcode = 10
)

func (WsOpcode) String added in v0.17.0

func (e WsOpcode) String() string

String returns the WsOpcode constant's name, or its numeric form when the value is not a known constant.

type WsResponseStatus added in v0.17.0

type WsResponseStatus int32

The status of a WebSocket server's response to a client's request to connect.

const (
	Nw_ws_response_status_invalid WsResponseStatus = 0
	Nw_ws_response_status_accept  WsResponseStatus = 1
	Nw_ws_response_status_reject  WsResponseStatus = 2
)

func (WsResponseStatus) String added in v0.17.0

func (e WsResponseStatus) String() string

String returns the WsResponseStatus constant's name, or its numeric form when the value is not a known constant.

type WsVersion added in v0.17.0

type WsVersion int32

The WebSocket Protocol version.

const (
	Nw_ws_version_invalid WsVersion = 0
	Nw_ws_version_13      WsVersion = 1
)

func (WsVersion) String added in v0.17.0

func (e WsVersion) String() string

String returns the WsVersion constant's name, or its numeric form when the value is not a known constant.

type XpcListenerCreateFlags added in v0.17.0

type XpcListenerCreateFlags uint64

Bitmask — values may be combined with |.

const (
	XpcListenerCreateFlagsNone            XpcListenerCreateFlags = 0
	XpcListenerCreateFlagsInactive        XpcListenerCreateFlags = 1
	XpcListenerCreateFlagsForceMach       XpcListenerCreateFlags = 2
	XpcListenerCreateFlagsForceXpcservice XpcListenerCreateFlags = 4
)

func (XpcListenerCreateFlags) String added in v0.17.0

func (e XpcListenerCreateFlags) String() string

String returns the XpcListenerCreateFlags constant's name, or its numeric form when the value is not a known constant.

type XpcSessionCreateFlags added in v0.17.0

type XpcSessionCreateFlags uint64

Bitmask — values may be combined with |.

const (
	XpcSessionCreateFlagsNone           XpcSessionCreateFlags = 0
	XpcSessionCreateFlagsInactive       XpcSessionCreateFlags = 1
	XpcSessionCreateFlagsMachPrivileged XpcSessionCreateFlags = 2
)

func (XpcSessionCreateFlags) String added in v0.17.0

func (e XpcSessionCreateFlags) String() string

String returns the XpcSessionCreateFlags constant's name, or its numeric form when the value is not a known constant.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL